blob: f0c36a1530d579d89a995a7e712e9b5443290466 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Zhang Rui203d3d42008-01-17 15:51:08 +08002#
3# Makefile for sensor chip drivers.
4#
5
Zhang Rui63c4ec92008-04-21 16:07:13 +08006obj-$(CONFIG_THERMAL) += thermal_sys.o
Eduardo Valentincd221c72016-11-07 21:09:04 -08007thermal_sys-y += thermal_core.o thermal_sysfs.o \
Daniel Lezcano5b8583d2020-07-07 11:01:57 +02008 thermal_helpers.o
9
10# netlink interface to manage the thermal framework
11thermal_sys-$(CONFIG_THERMAL_NETLINK) += thermal_netlink.o
Zhang Rui445110e2012-11-15 16:07:46 +080012
Eduardo Valentin0dd88792013-07-03 15:14:28 -040013# interface to/from other layers providing sensors
14thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
Amit Kucheria14adf6c2020-05-11 17:55:02 +053015thermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o
Eduardo Valentin0dd88792013-07-03 15:14:28 -040016
Zhang Rui445110e2012-11-15 16:07:46 +080017# governors
Amit Kucheria0015d9a2020-05-11 17:55:01 +053018thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o
Peter Feuerere4dbf982014-07-22 17:37:13 +020019thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
Amit Kucheria0015d9a2020-05-11 17:55:01 +053020thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o
21thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o
22thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o
Zhang Rui445110e2012-11-15 16:07:46 +080023
24# cpufreq cooling
Daniel Lezcano23affa22019-12-19 23:53:17 +010025thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o
Daniel Lezcanoa4c428e2019-12-19 23:53:16 +010026thermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o
Zhang Rui445110e2012-11-15 16:07:46 +080027
Ørjan Eidea76caf52015-09-10 18:09:30 +010028# devfreq cooling
29thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
30
Keerthy48b2bce2020-04-07 11:21:14 +053031obj-$(CONFIG_K3_THERMAL) += k3_bandgap.o
Zhang Rui445110e2012-11-15 16:07:46 +080032# platform thermal drivers
Rafał Miłeckia94cb7e2017-04-03 17:48:29 +020033obj-y += broadcom/
Talel Shenhar71aa3692019-04-11 13:22:48 +030034obj-$(CONFIG_THERMAL_MMIO) += thermal_mmio.o
Zhang Rui445110e2012-11-15 16:07:46 +080035obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o
Yangtao Lidccc5c32019-12-19 09:28:17 -080036obj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o
Caesar Wangcbac8f632014-11-24 12:58:59 +080037obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o
Kuninori Morimoto1e426ff2012-07-21 10:53:48 +100038obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o
Wolfram Sang564e73d2016-12-22 11:38:21 +010039obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o
Biju Das673c68b2021-11-30 15:57:57 +000040obj-$(CONFIG_RZG2L_THERMAL) += rzg2l_thermal.o
Nobuhiro Iwamatsu7060aa32013-02-06 06:35:24 +000041obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
Amit Daniel Kachhapc6821372013-06-24 16:20:22 +053042obj-y += samsung/
Andrew Lunn74ffa642013-02-06 06:35:26 +000043obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
hongbo.zhangaa1acb02012-11-15 18:56:42 +080044obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
Ezequiel Garciafa0d6542013-04-02 01:37:41 +000045obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
Shawn Guoca3de462013-06-24 14:30:44 +080046obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o
Anson Huange20db702020-02-22 08:08:50 +080047obj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o
Anson Huang5eed8002020-02-29 11:44:20 +080048obj-$(CONFIG_IMX8MM_THERMAL) += imx8mm_thermal.o
Laxman Dewanganec4664b2016-08-23 13:50:27 +053049obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o
Jia Hongtao43528442016-06-30 11:08:38 +080050obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o
Steve Twiss608567a2017-03-28 15:43:33 +010051obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o
Amit Kucheria3e8c4d32018-12-07 12:25:26 +053052obj-y += intel/
Eduardo Valentineb982002013-05-15 15:46:00 +000053obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/
David HERNANDEZ SANCHEZ1d693152018-10-05 10:08:46 +000054obj-y += st/
Rajendra Nayak90660732016-05-05 14:21:39 +053055obj-$(CONFIG_QCOM_TSENS) += qcom/
Mikko Perttunen7afebed2017-07-24 19:29:18 +030056obj-y += tegra/
kongxinwei9a5238a2015-05-20 19:16:37 +080057obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o
Sascha Hauera92db1c2015-11-30 12:42:32 +010058obj-$(CONFIG_MTK_THERMAL) += mtk_thermal.o
Laxman Dewanganb3aef782016-04-19 12:52:01 +053059obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o
Kunihiko Hayashi86da4392017-08-01 17:04:51 +090060obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o
Guillaume La Roque421eda12019-10-04 11:01:09 +020061obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o
Freeman Liu554fdba2020-02-18 16:10:28 +080062obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o
Neil Armstrong57727172020-06-24 18:15:27 +020063obj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o