xref: /openbmc/linux/drivers/thermal/Makefile (revision 7afebede)
1203d3d4aSZhang Rui#
2203d3d4aSZhang Rui# Makefile for sensor chip drivers.
3203d3d4aSZhang Rui#
4203d3d4aSZhang Rui
563c4ec90SZhang Ruiobj-$(CONFIG_THERMAL)		+= thermal_sys.o
6cd221c7bSEduardo Valentinthermal_sys-y			+= thermal_core.o thermal_sysfs.o \
7cd221c7bSEduardo Valentin					thermal_helpers.o
8445110e9SZhang Rui
90dd88793SEduardo Valentin# interface to/from other layers providing sensors
100dd88793SEduardo Valentinthermal_sys-$(CONFIG_THERMAL_HWMON)		+= thermal_hwmon.o
114e5e4705SEduardo Valentinthermal_sys-$(CONFIG_THERMAL_OF)		+= of-thermal.o
120dd88793SEduardo Valentin
13445110e9SZhang Rui# governors
1480a26a5cSZhang Ruithermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE)	+= fair_share.o
15e4dbf98fSPeter Feuererthermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG)	+= gov_bang_bang.o
1680a26a5cSZhang Ruithermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE)	+= step_wise.o
1780a26a5cSZhang Ruithermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE)	+= user_space.o
186b775e87SJavi Merinothermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR)	+= power_allocator.o
19445110e9SZhang Rui
20445110e9SZhang Rui# cpufreq cooling
21bbf7fc88SZhang Ruithermal_sys-$(CONFIG_CPU_THERMAL)	+= cpu_cooling.o
22445110e9SZhang Rui
23f9df89d8SEduardo Valentin# clock cooling
24f9df89d8SEduardo Valentinthermal_sys-$(CONFIG_CLOCK_THERMAL)	+= clock_cooling.o
25f9df89d8SEduardo Valentin
26a76caf55SØrjan Eide# devfreq cooling
27a76caf55SØrjan Eidethermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
28a76caf55SØrjan Eide
29445110e9SZhang Rui# platform thermal drivers
30a94cb7eeSRafał Miłeckiobj-y				+= broadcom/
31c610afaaSIvan T. Ivanovobj-$(CONFIG_QCOM_SPMI_TEMP_ALARM)	+= qcom-spmi-temp-alarm.o
32445110e9SZhang Ruiobj-$(CONFIG_SPEAR_THERMAL)	+= spear_thermal.o
33cbac8f63SCaesar Wangobj-$(CONFIG_ROCKCHIP_THERMAL)	+= rockchip_thermal.o
34445110e9SZhang Ruiobj-$(CONFIG_RCAR_THERMAL)	+= rcar_thermal.o
35564e73d2SWolfram Sangobj-$(CONFIG_RCAR_GEN3_THERMAL)	+= rcar_gen3_thermal.o
367060aa36SNobuhiro Iwamatsuobj-$(CONFIG_KIRKWOOD_THERMAL)  += kirkwood_thermal.o
37c6821378SAmit Daniel Kachhapobj-y				+= samsung/
3874ffa64cSAndrew Lunnobj-$(CONFIG_DOVE_THERMAL)  	+= dove_thermal.o
39aa1acb04Shongbo.zhangobj-$(CONFIG_DB8500_THERMAL)	+= db8500_thermal.o
40fa0d654cSEzequiel Garciaobj-$(CONFIG_ARMADA_THERMAL)	+= armada_thermal.o
410b58c08bSMarc Gonzalezobj-$(CONFIG_TANGO_THERMAL)	+= tango_thermal.o
42ca3de46bSShawn Guoobj-$(CONFIG_IMX_THERMAL)	+= imx_thermal.o
43ec4664b3SLaxman Dewanganobj-$(CONFIG_MAX77620_THERMAL)	+= max77620_thermal.o
4443528445SJia Hongtaoobj-$(CONFIG_QORIQ_THERMAL)	+= qoriq_thermal.o
45608567aaSSteve Twissobj-$(CONFIG_DA9062_THERMAL)	+= da9062-thermal.o
46d6d71ee4SJacob Panobj-$(CONFIG_INTEL_POWERCLAMP)	+= intel_powerclamp.o
47f1a18a10SSrinivas Pandruvadaobj-$(CONFIG_X86_PKG_TEMP_THERMAL)	+= x86_pkg_temp_thermal.o
48ee073604SSrinivas Pandruvadaobj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE)	+= intel_soc_dts_iosf.o
49bc40b5e3SSrinivas Pandruvadaobj-$(CONFIG_INTEL_SOC_DTS_THERMAL)	+= intel_soc_dts_thermal.o
508c187693SOng, Boon Leongobj-$(CONFIG_INTEL_QUARK_DTS_THERMAL)	+= intel_quark_dts_thermal.o
51eb982001SEduardo Valentinobj-$(CONFIG_TI_SOC_THERMAL)	+= ti-soc-thermal/
52816cab93SZhang Ruiobj-$(CONFIG_INT340X_THERMAL)  += int340x_thermal/
53b474303fSBin Gaoobj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o
54d0a12625STushar Daveobj-$(CONFIG_INTEL_PCH_THERMAL)	+= intel_pch_thermal.o
5560aef7ceSLee Jonesobj-$(CONFIG_ST_THERMAL)	+= st/
569066073cSRajendra Nayakobj-$(CONFIG_QCOM_TSENS)	+= qcom/
577afebedeSMikko Perttunenobj-y				+= tegra/
589a5238a9Skongxinweiobj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o
59a92db1c8SSascha Hauerobj-$(CONFIG_MTK_THERMAL)	+= mtk_thermal.o
60b3aef78fSLaxman Dewanganobj-$(CONFIG_GENERIC_ADC_THERMAL)	+= thermal-generic-adc.o
6150fdd36fSBaoyou Xieobj-$(CONFIG_ZX2967_THERMAL)	+= zx2967_thermal.o
6286da4391SKunihiko Hayashiobj-$(CONFIG_UNIPHIER_THERMAL)	+= uniphier_thermal.o
63