blob: 757c40a719405e041a2e2758cd37cc986fd26d76 [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 \
8 thermal_helpers.o
Zhang Rui445110e2012-11-15 16:07:46 +08009
Eduardo Valentin0dd88792013-07-03 15:14:28 -040010# interface to/from other layers providing sensors
11thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
Eduardo Valentin4e5e4702013-07-03 15:35:39 -040012thermal_sys-$(CONFIG_THERMAL_OF) += of-thermal.o
Eduardo Valentin0dd88792013-07-03 15:14:28 -040013
Zhang Rui445110e2012-11-15 16:07:46 +080014# governors
Amit Kucheria0015d9a2020-05-11 17:55:01 +053015thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o
Peter Feuerere4dbf982014-07-22 17:37:13 +020016thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
Amit Kucheria0015d9a2020-05-11 17:55:01 +053017thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o
18thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o
19thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o
Zhang Rui445110e2012-11-15 16:07:46 +080020
21# cpufreq cooling
Daniel Lezcano23affa22019-12-19 23:53:17 +010022thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o
Daniel Lezcanoa4c428e2019-12-19 23:53:16 +010023thermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o
Zhang Rui445110e2012-11-15 16:07:46 +080024
Eduardo Valentinf9df89d2014-01-06 09:04:18 -040025# clock cooling
26thermal_sys-$(CONFIG_CLOCK_THERMAL) += clock_cooling.o
27
Ø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
Nobuhiro Iwamatsu7060aa32013-02-06 06:35:24 +000040obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
Amit Daniel Kachhapc6821372013-06-24 16:20:22 +053041obj-y += samsung/
Andrew Lunn74ffa642013-02-06 06:35:26 +000042obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
hongbo.zhangaa1acb02012-11-15 18:56:42 +080043obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
Ezequiel Garciafa0d6542013-04-02 01:37:41 +000044obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
Marc Gonzalez0b58c082016-04-19 16:21:16 +020045obj-$(CONFIG_TANGO_THERMAL) += tango_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
Baoyou Xie50fdd362017-02-07 08:56:41 +080060obj-$(CONFIG_ZX2967_THERMAL) += zx2967_thermal.o
Kunihiko Hayashi86da4392017-08-01 17:04:51 +090061obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o
Guillaume La Roque421eda12019-10-04 11:01:09 +020062obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o
Freeman Liu554fdba2020-02-18 16:10:28 +080063obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o