Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Zhang Rui | 203d3d4 | 2008-01-17 15:51:08 +0800 | [diff] [blame] | 2 | # |
| 3 | # Makefile for sensor chip drivers. |
| 4 | # |
| 5 | |
Zhang Rui | 63c4ec9 | 2008-04-21 16:07:13 +0800 | [diff] [blame] | 6 | obj-$(CONFIG_THERMAL) += thermal_sys.o |
Eduardo Valentin | cd221c7 | 2016-11-07 21:09:04 -0800 | [diff] [blame] | 7 | thermal_sys-y += thermal_core.o thermal_sysfs.o \ |
| 8 | thermal_helpers.o |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 9 | |
Eduardo Valentin | 0dd8879 | 2013-07-03 15:14:28 -0400 | [diff] [blame] | 10 | # interface to/from other layers providing sensors |
| 11 | thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o |
Eduardo Valentin | 4e5e470 | 2013-07-03 15:35:39 -0400 | [diff] [blame] | 12 | thermal_sys-$(CONFIG_THERMAL_OF) += of-thermal.o |
Eduardo Valentin | 0dd8879 | 2013-07-03 15:14:28 -0400 | [diff] [blame] | 13 | |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 14 | # governors |
Zhang Rui | 80a26a5 | 2013-03-26 16:38:29 +0800 | [diff] [blame] | 15 | thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += fair_share.o |
Peter Feuerer | e4dbf98 | 2014-07-22 17:37:13 +0200 | [diff] [blame] | 16 | thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o |
Zhang Rui | 80a26a5 | 2013-03-26 16:38:29 +0800 | [diff] [blame] | 17 | thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += step_wise.o |
| 18 | thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += user_space.o |
Javi Merino | 6b775e8 | 2015-03-02 17:17:19 +0000 | [diff] [blame] | 19 | thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += power_allocator.o |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 20 | |
| 21 | # cpufreq cooling |
Daniel Lezcano | 23affa2 | 2019-12-19 23:53:17 +0100 | [diff] [blame] | 22 | thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o |
Daniel Lezcano | a4c428e | 2019-12-19 23:53:16 +0100 | [diff] [blame] | 23 | thermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 24 | |
Eduardo Valentin | f9df89d | 2014-01-06 09:04:18 -0400 | [diff] [blame] | 25 | # clock cooling |
| 26 | thermal_sys-$(CONFIG_CLOCK_THERMAL) += clock_cooling.o |
| 27 | |
Ørjan Eide | a76caf5 | 2015-09-10 18:09:30 +0100 | [diff] [blame] | 28 | # devfreq cooling |
| 29 | thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o |
| 30 | |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 31 | # platform thermal drivers |
Rafał Miłecki | a94cb7e | 2017-04-03 17:48:29 +0200 | [diff] [blame] | 32 | obj-y += broadcom/ |
Talel Shenhar | 71aa369 | 2019-04-11 13:22:48 +0300 | [diff] [blame] | 33 | obj-$(CONFIG_THERMAL_MMIO) += thermal_mmio.o |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 34 | obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o |
Yangtao Li | dccc5c3 | 2019-12-19 09:28:17 -0800 | [diff] [blame] | 35 | obj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o |
Caesar Wang | cbac8f63 | 2014-11-24 12:58:59 +0800 | [diff] [blame] | 36 | obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o |
Kuninori Morimoto | 1e426ff | 2012-07-21 10:53:48 +1000 | [diff] [blame] | 37 | obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o |
Wolfram Sang | 564e73d | 2016-12-22 11:38:21 +0100 | [diff] [blame] | 38 | obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o |
Nobuhiro Iwamatsu | 7060aa3 | 2013-02-06 06:35:24 +0000 | [diff] [blame] | 39 | obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o |
Amit Daniel Kachhap | c682137 | 2013-06-24 16:20:22 +0530 | [diff] [blame] | 40 | obj-y += samsung/ |
Andrew Lunn | 74ffa64 | 2013-02-06 06:35:26 +0000 | [diff] [blame] | 41 | obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o |
hongbo.zhang | aa1acb0 | 2012-11-15 18:56:42 +0800 | [diff] [blame] | 42 | obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o |
Ezequiel Garcia | fa0d654 | 2013-04-02 01:37:41 +0000 | [diff] [blame] | 43 | obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o |
Marc Gonzalez | 0b58c08 | 2016-04-19 16:21:16 +0200 | [diff] [blame] | 44 | obj-$(CONFIG_TANGO_THERMAL) += tango_thermal.o |
Shawn Guo | ca3de46 | 2013-06-24 14:30:44 +0800 | [diff] [blame] | 45 | obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o |
Anson Huang | e20db70 | 2020-02-22 08:08:50 +0800 | [diff] [blame] | 46 | obj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o |
Laxman Dewangan | ec4664b | 2016-08-23 13:50:27 +0530 | [diff] [blame] | 47 | obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o |
Jia Hongtao | 4352844 | 2016-06-30 11:08:38 +0800 | [diff] [blame] | 48 | obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o |
Steve Twiss | 608567a | 2017-03-28 15:43:33 +0100 | [diff] [blame] | 49 | obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o |
Amit Kucheria | 3e8c4d3 | 2018-12-07 12:25:26 +0530 | [diff] [blame] | 50 | obj-y += intel/ |
Eduardo Valentin | eb98200 | 2013-05-15 15:46:00 +0000 | [diff] [blame] | 51 | obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/ |
David HERNANDEZ SANCHEZ | 1d69315 | 2018-10-05 10:08:46 +0000 | [diff] [blame] | 52 | obj-y += st/ |
Rajendra Nayak | 9066073 | 2016-05-05 14:21:39 +0530 | [diff] [blame] | 53 | obj-$(CONFIG_QCOM_TSENS) += qcom/ |
Mikko Perttunen | 7afebed | 2017-07-24 19:29:18 +0300 | [diff] [blame] | 54 | obj-y += tegra/ |
kongxinwei | 9a5238a | 2015-05-20 19:16:37 +0800 | [diff] [blame] | 55 | obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o |
Sascha Hauer | a92db1c | 2015-11-30 12:42:32 +0100 | [diff] [blame] | 56 | obj-$(CONFIG_MTK_THERMAL) += mtk_thermal.o |
Laxman Dewangan | b3aef78 | 2016-04-19 12:52:01 +0530 | [diff] [blame] | 57 | obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o |
Baoyou Xie | 50fdd36 | 2017-02-07 08:56:41 +0800 | [diff] [blame] | 58 | obj-$(CONFIG_ZX2967_THERMAL) += zx2967_thermal.o |
Kunihiko Hayashi | 86da439 | 2017-08-01 17:04:51 +0900 | [diff] [blame] | 59 | obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o |
Guillaume La Roque | 421eda1 | 2019-10-04 11:01:09 +0200 | [diff] [blame] | 60 | obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o |
Freeman Liu | 554fdba | 2020-02-18 16:10:28 +0800 | [diff] [blame] | 61 | obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o |