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 \ |
Daniel Lezcano | 5b8583d | 2020-07-07 11:01:57 +0200 | [diff] [blame] | 8 | thermal_helpers.o |
| 9 | |
| 10 | # netlink interface to manage the thermal framework |
| 11 | thermal_sys-$(CONFIG_THERMAL_NETLINK) += thermal_netlink.o |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 12 | |
Eduardo Valentin | 0dd8879 | 2013-07-03 15:14:28 -0400 | [diff] [blame] | 13 | # interface to/from other layers providing sensors |
| 14 | thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o |
Amit Kucheria | 14adf6c | 2020-05-11 17:55:02 +0530 | [diff] [blame] | 15 | thermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o |
Eduardo Valentin | 0dd8879 | 2013-07-03 15:14:28 -0400 | [diff] [blame] | 16 | |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 17 | # governors |
Amit Kucheria | 0015d9a | 2020-05-11 17:55:01 +0530 | [diff] [blame] | 18 | thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o |
Peter Feuerer | e4dbf98 | 2014-07-22 17:37:13 +0200 | [diff] [blame] | 19 | thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o |
Amit Kucheria | 0015d9a | 2020-05-11 17:55:01 +0530 | [diff] [blame] | 20 | thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o |
| 21 | thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o |
| 22 | thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 23 | |
| 24 | # cpufreq cooling |
Daniel Lezcano | 23affa2 | 2019-12-19 23:53:17 +0100 | [diff] [blame] | 25 | thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o |
Daniel Lezcano | a4c428e | 2019-12-19 23:53:16 +0100 | [diff] [blame] | 26 | thermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 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 | |
Keerthy | 48b2bce | 2020-04-07 11:21:14 +0530 | [diff] [blame] | 31 | obj-$(CONFIG_K3_THERMAL) += k3_bandgap.o |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 32 | # platform thermal drivers |
Rafał Miłecki | a94cb7e | 2017-04-03 17:48:29 +0200 | [diff] [blame] | 33 | obj-y += broadcom/ |
Talel Shenhar | 71aa369 | 2019-04-11 13:22:48 +0300 | [diff] [blame] | 34 | obj-$(CONFIG_THERMAL_MMIO) += thermal_mmio.o |
Zhang Rui | 445110e | 2012-11-15 16:07:46 +0800 | [diff] [blame] | 35 | obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o |
Yangtao Li | dccc5c3 | 2019-12-19 09:28:17 -0800 | [diff] [blame] | 36 | obj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o |
Caesar Wang | cbac8f63 | 2014-11-24 12:58:59 +0800 | [diff] [blame] | 37 | obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o |
Kuninori Morimoto | 1e426ff | 2012-07-21 10:53:48 +1000 | [diff] [blame] | 38 | obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o |
Wolfram Sang | 564e73d | 2016-12-22 11:38:21 +0100 | [diff] [blame] | 39 | obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o |
Biju Das | 673c68b | 2021-11-30 15:57:57 +0000 | [diff] [blame] | 40 | obj-$(CONFIG_RZG2L_THERMAL) += rzg2l_thermal.o |
Nobuhiro Iwamatsu | 7060aa3 | 2013-02-06 06:35:24 +0000 | [diff] [blame] | 41 | obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o |
Amit Daniel Kachhap | c682137 | 2013-06-24 16:20:22 +0530 | [diff] [blame] | 42 | obj-y += samsung/ |
Andrew Lunn | 74ffa64 | 2013-02-06 06:35:26 +0000 | [diff] [blame] | 43 | obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o |
hongbo.zhang | aa1acb0 | 2012-11-15 18:56:42 +0800 | [diff] [blame] | 44 | obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o |
Ezequiel Garcia | fa0d654 | 2013-04-02 01:37:41 +0000 | [diff] [blame] | 45 | obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o |
Shawn Guo | ca3de46 | 2013-06-24 14:30:44 +0800 | [diff] [blame] | 46 | obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o |
Anson Huang | e20db70 | 2020-02-22 08:08:50 +0800 | [diff] [blame] | 47 | obj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o |
Anson Huang | 5eed800 | 2020-02-29 11:44:20 +0800 | [diff] [blame] | 48 | obj-$(CONFIG_IMX8MM_THERMAL) += imx8mm_thermal.o |
Laxman Dewangan | ec4664b | 2016-08-23 13:50:27 +0530 | [diff] [blame] | 49 | obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o |
Jia Hongtao | 4352844 | 2016-06-30 11:08:38 +0800 | [diff] [blame] | 50 | obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o |
Steve Twiss | 608567a | 2017-03-28 15:43:33 +0100 | [diff] [blame] | 51 | obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o |
Amit Kucheria | 3e8c4d3 | 2018-12-07 12:25:26 +0530 | [diff] [blame] | 52 | obj-y += intel/ |
Eduardo Valentin | eb98200 | 2013-05-15 15:46:00 +0000 | [diff] [blame] | 53 | obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/ |
David HERNANDEZ SANCHEZ | 1d69315 | 2018-10-05 10:08:46 +0000 | [diff] [blame] | 54 | obj-y += st/ |
Rajendra Nayak | 9066073 | 2016-05-05 14:21:39 +0530 | [diff] [blame] | 55 | obj-$(CONFIG_QCOM_TSENS) += qcom/ |
Mikko Perttunen | 7afebed | 2017-07-24 19:29:18 +0300 | [diff] [blame] | 56 | obj-y += tegra/ |
kongxinwei | 9a5238a | 2015-05-20 19:16:37 +0800 | [diff] [blame] | 57 | obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o |
Sascha Hauer | a92db1c | 2015-11-30 12:42:32 +0100 | [diff] [blame] | 58 | obj-$(CONFIG_MTK_THERMAL) += mtk_thermal.o |
Laxman Dewangan | b3aef78 | 2016-04-19 12:52:01 +0530 | [diff] [blame] | 59 | obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o |
Kunihiko Hayashi | 86da439 | 2017-08-01 17:04:51 +0900 | [diff] [blame] | 60 | obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o |
Guillaume La Roque | 421eda1 | 2019-10-04 11:01:09 +0200 | [diff] [blame] | 61 | obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o |
Freeman Liu | 554fdba | 2020-02-18 16:10:28 +0800 | [diff] [blame] | 62 | obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o |
Neil Armstrong | 5772717 | 2020-06-24 18:15:27 +0200 | [diff] [blame] | 63 | obj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o |