xref: /openbmc/linux/drivers/thermal/Makefile (revision 1d693155)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2203d3d4aSZhang Rui#
3203d3d4aSZhang Rui# Makefile for sensor chip drivers.
4203d3d4aSZhang Rui#
5203d3d4aSZhang Rui
663c4ec90SZhang Ruiobj-$(CONFIG_THERMAL)		+= thermal_sys.o
7cd221c7bSEduardo Valentinthermal_sys-y			+= thermal_core.o thermal_sysfs.o \
8cd221c7bSEduardo Valentin					thermal_helpers.o
9445110e9SZhang Rui
100dd88793SEduardo Valentin# interface to/from other layers providing sensors
110dd88793SEduardo Valentinthermal_sys-$(CONFIG_THERMAL_HWMON)		+= thermal_hwmon.o
124e5e4705SEduardo Valentinthermal_sys-$(CONFIG_THERMAL_OF)		+= of-thermal.o
130dd88793SEduardo Valentin
14445110e9SZhang Rui# governors
1580a26a5cSZhang Ruithermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE)	+= fair_share.o
16e4dbf98fSPeter Feuererthermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG)	+= gov_bang_bang.o
1780a26a5cSZhang Ruithermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE)	+= step_wise.o
1880a26a5cSZhang Ruithermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE)	+= user_space.o
196b775e87SJavi Merinothermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR)	+= power_allocator.o
20445110e9SZhang Rui
21445110e9SZhang Rui# cpufreq cooling
22bbf7fc88SZhang Ruithermal_sys-$(CONFIG_CPU_THERMAL)	+= cpu_cooling.o
23445110e9SZhang Rui
24f9df89d8SEduardo Valentin# clock cooling
25f9df89d8SEduardo Valentinthermal_sys-$(CONFIG_CLOCK_THERMAL)	+= clock_cooling.o
26f9df89d8SEduardo Valentin
27a76caf55SØrjan Eide# devfreq cooling
28a76caf55SØrjan Eidethermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
29a76caf55SØrjan Eide
30445110e9SZhang Rui# platform thermal drivers
31a94cb7eeSRafał Miłeckiobj-y				+= broadcom/
32c610afaaSIvan T. Ivanovobj-$(CONFIG_QCOM_SPMI_TEMP_ALARM)	+= qcom-spmi-temp-alarm.o
33445110e9SZhang Ruiobj-$(CONFIG_SPEAR_THERMAL)	+= spear_thermal.o
34cbac8f63SCaesar Wangobj-$(CONFIG_ROCKCHIP_THERMAL)	+= rockchip_thermal.o
35445110e9SZhang Ruiobj-$(CONFIG_RCAR_THERMAL)	+= rcar_thermal.o
36564e73d2SWolfram Sangobj-$(CONFIG_RCAR_GEN3_THERMAL)	+= rcar_gen3_thermal.o
377060aa36SNobuhiro Iwamatsuobj-$(CONFIG_KIRKWOOD_THERMAL)  += kirkwood_thermal.o
38c6821378SAmit Daniel Kachhapobj-y				+= samsung/
3974ffa64cSAndrew Lunnobj-$(CONFIG_DOVE_THERMAL)  	+= dove_thermal.o
40aa1acb04Shongbo.zhangobj-$(CONFIG_DB8500_THERMAL)	+= db8500_thermal.o
41fa0d654cSEzequiel Garciaobj-$(CONFIG_ARMADA_THERMAL)	+= armada_thermal.o
420b58c08bSMarc Gonzalezobj-$(CONFIG_TANGO_THERMAL)	+= tango_thermal.o
43ca3de46bSShawn Guoobj-$(CONFIG_IMX_THERMAL)	+= imx_thermal.o
44ec4664b3SLaxman Dewanganobj-$(CONFIG_MAX77620_THERMAL)	+= max77620_thermal.o
4543528445SJia Hongtaoobj-$(CONFIG_QORIQ_THERMAL)	+= qoriq_thermal.o
46608567aaSSteve Twissobj-$(CONFIG_DA9062_THERMAL)	+= da9062-thermal.o
47d6d71ee4SJacob Panobj-$(CONFIG_INTEL_POWERCLAMP)	+= intel_powerclamp.o
48f1a18a10SSrinivas Pandruvadaobj-$(CONFIG_X86_PKG_TEMP_THERMAL)	+= x86_pkg_temp_thermal.o
49ee073604SSrinivas Pandruvadaobj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE)	+= intel_soc_dts_iosf.o
50bc40b5e3SSrinivas Pandruvadaobj-$(CONFIG_INTEL_SOC_DTS_THERMAL)	+= intel_soc_dts_thermal.o
518c187693SOng, Boon Leongobj-$(CONFIG_INTEL_QUARK_DTS_THERMAL)	+= intel_quark_dts_thermal.o
52eb982001SEduardo Valentinobj-$(CONFIG_TI_SOC_THERMAL)	+= ti-soc-thermal/
53816cab93SZhang Ruiobj-$(CONFIG_INT340X_THERMAL)  += int340x_thermal/
54b474303fSBin Gaoobj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o
55d0a12625STushar Daveobj-$(CONFIG_INTEL_PCH_THERMAL)	+= intel_pch_thermal.o
561d693155SDavid HERNANDEZ SANCHEZobj-y				+= st/
579066073cSRajendra Nayakobj-$(CONFIG_QCOM_TSENS)	+= qcom/
587afebedeSMikko Perttunenobj-y				+= tegra/
599a5238a9Skongxinweiobj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o
60a92db1c8SSascha Hauerobj-$(CONFIG_MTK_THERMAL)	+= mtk_thermal.o
61b3aef78fSLaxman Dewanganobj-$(CONFIG_GENERIC_ADC_THERMAL)	+= thermal-generic-adc.o
6250fdd36fSBaoyou Xieobj-$(CONFIG_ZX2967_THERMAL)	+= zx2967_thermal.o
6386da4391SKunihiko Hayashiobj-$(CONFIG_UNIPHIER_THERMAL)	+= uniphier_thermal.o
64