blob: 4d1b4e71b3e830efc6a7aab7a0e3609072dc74f4 [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
Zhang Rui80a26a52013-03-26 16:38:29 +080015thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += fair_share.o
Peter Feuerere4dbf982014-07-22 17:37:13 +020016thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
Zhang Rui80a26a52013-03-26 16:38:29 +080017thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += step_wise.o
18thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += user_space.o
Javi Merino6b775e82015-03-02 17:17:19 +000019thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += 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
Zhang Rui445110e2012-11-15 16:07:46 +080031# platform thermal drivers
Rafał Miłeckia94cb7e2017-04-03 17:48:29 +020032obj-y += broadcom/
Talel Shenhar71aa3692019-04-11 13:22:48 +030033obj-$(CONFIG_THERMAL_MMIO) += thermal_mmio.o
Zhang Rui445110e2012-11-15 16:07:46 +080034obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o
Yangtao Lidccc5c32019-12-19 09:28:17 -080035obj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o
Caesar Wangcbac8f632014-11-24 12:58:59 +080036obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o
Kuninori Morimoto1e426ff2012-07-21 10:53:48 +100037obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o
Wolfram Sang564e73d2016-12-22 11:38:21 +010038obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o
Nobuhiro Iwamatsu7060aa32013-02-06 06:35:24 +000039obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
Amit Daniel Kachhapc6821372013-06-24 16:20:22 +053040obj-y += samsung/
Andrew Lunn74ffa642013-02-06 06:35:26 +000041obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
hongbo.zhangaa1acb02012-11-15 18:56:42 +080042obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
Ezequiel Garciafa0d6542013-04-02 01:37:41 +000043obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
Marc Gonzalez0b58c082016-04-19 16:21:16 +020044obj-$(CONFIG_TANGO_THERMAL) += tango_thermal.o
Shawn Guoca3de462013-06-24 14:30:44 +080045obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o
Anson Huange20db702020-02-22 08:08:50 +080046obj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o
Laxman Dewanganec4664b2016-08-23 13:50:27 +053047obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o
Jia Hongtao43528442016-06-30 11:08:38 +080048obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o
Steve Twiss608567a2017-03-28 15:43:33 +010049obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o
Amit Kucheria3e8c4d32018-12-07 12:25:26 +053050obj-y += intel/
Eduardo Valentineb982002013-05-15 15:46:00 +000051obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/
David HERNANDEZ SANCHEZ1d693152018-10-05 10:08:46 +000052obj-y += st/
Rajendra Nayak90660732016-05-05 14:21:39 +053053obj-$(CONFIG_QCOM_TSENS) += qcom/
Mikko Perttunen7afebed2017-07-24 19:29:18 +030054obj-y += tegra/
kongxinwei9a5238a2015-05-20 19:16:37 +080055obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o
Sascha Hauera92db1c2015-11-30 12:42:32 +010056obj-$(CONFIG_MTK_THERMAL) += mtk_thermal.o
Laxman Dewanganb3aef782016-04-19 12:52:01 +053057obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o
Baoyou Xie50fdd362017-02-07 08:56:41 +080058obj-$(CONFIG_ZX2967_THERMAL) += zx2967_thermal.o
Kunihiko Hayashi86da4392017-08-01 17:04:51 +090059obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o
Guillaume La Roque421eda12019-10-04 11:01:09 +020060obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o
Freeman Liu554fdba2020-02-18 16:10:28 +080061obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o