xref: /openbmc/linux/drivers/thermal/Makefile (revision ffcb2fc8)
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 \
85b8583d3SDaniel Lezcano					thermal_helpers.o
95b8583d3SDaniel Lezcano
105b8583d3SDaniel Lezcano# netlink interface to manage the thermal framework
115b8583d3SDaniel Lezcanothermal_sys-$(CONFIG_THERMAL_NETLINK)		+= thermal_netlink.o
12445110e9SZhang Rui
130dd88793SEduardo Valentin# interface to/from other layers providing sensors
140dd88793SEduardo Valentinthermal_sys-$(CONFIG_THERMAL_HWMON)		+= thermal_hwmon.o
1514adf6c8SAmit Kucheriathermal_sys-$(CONFIG_THERMAL_OF)		+= thermal_of.o
160dd88793SEduardo Valentin
17445110e9SZhang Rui# governors
180015d9a2SAmit Kucheriathermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE)	+= gov_fair_share.o
19e4dbf98fSPeter Feuererthermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG)	+= gov_bang_bang.o
200015d9a2SAmit Kucheriathermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE)	+= gov_step_wise.o
210015d9a2SAmit Kucheriathermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE)	+= gov_user_space.o
220015d9a2SAmit Kucheriathermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR)	+= gov_power_allocator.o
23445110e9SZhang Rui
24445110e9SZhang Rui# cpufreq cooling
2523affa2eSDaniel Lezcanothermal_sys-$(CONFIG_CPU_FREQ_THERMAL)	+= cpufreq_cooling.o
26a4c428e5SDaniel Lezcanothermal_sys-$(CONFIG_CPU_IDLE_THERMAL)	+= cpuidle_cooling.o
27445110e9SZhang Rui
28a76caf55SØrjan Eide# devfreq cooling
29a76caf55SØrjan Eidethermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
30a76caf55SØrjan Eide
31*ffcb2fc8SKeerthyobj-$(CONFIG_K3_THERMAL)	+= k3_bandgap.o k3_j72xx_bandgap.o
32445110e9SZhang Rui# platform thermal drivers
33a94cb7eeSRafał Miłeckiobj-y				+= broadcom/
3471aa3693STalel Shenharobj-$(CONFIG_THERMAL_MMIO)		+= thermal_mmio.o
35445110e9SZhang Ruiobj-$(CONFIG_SPEAR_THERMAL)	+= spear_thermal.o
36dccc5c3bSYangtao Liobj-$(CONFIG_SUN8I_THERMAL)     += sun8i_thermal.o
37cbac8f63SCaesar Wangobj-$(CONFIG_ROCKCHIP_THERMAL)	+= rockchip_thermal.o
38445110e9SZhang Ruiobj-$(CONFIG_RCAR_THERMAL)	+= rcar_thermal.o
39564e73d2SWolfram Sangobj-$(CONFIG_RCAR_GEN3_THERMAL)	+= rcar_gen3_thermal.o
40673c68bdSBiju Dasobj-$(CONFIG_RZG2L_THERMAL)	+= rzg2l_thermal.o
417060aa36SNobuhiro Iwamatsuobj-$(CONFIG_KIRKWOOD_THERMAL)  += kirkwood_thermal.o
42c6821378SAmit Daniel Kachhapobj-y				+= samsung/
4374ffa64cSAndrew Lunnobj-$(CONFIG_DOVE_THERMAL)  	+= dove_thermal.o
44aa1acb04Shongbo.zhangobj-$(CONFIG_DB8500_THERMAL)	+= db8500_thermal.o
45fa0d654cSEzequiel Garciaobj-$(CONFIG_ARMADA_THERMAL)	+= armada_thermal.o
46ca3de46bSShawn Guoobj-$(CONFIG_IMX_THERMAL)	+= imx_thermal.o
47e20db70dSAnson Huangobj-$(CONFIG_IMX_SC_THERMAL)	+= imx_sc_thermal.o
485eed800aSAnson Huangobj-$(CONFIG_IMX8MM_THERMAL)	+= imx8mm_thermal.o
49ec4664b3SLaxman Dewanganobj-$(CONFIG_MAX77620_THERMAL)	+= max77620_thermal.o
5043528445SJia Hongtaoobj-$(CONFIG_QORIQ_THERMAL)	+= qoriq_thermal.o
51608567aaSSteve Twissobj-$(CONFIG_DA9062_THERMAL)	+= da9062-thermal.o
523e8c4d31SAmit Kucheriaobj-y				+= intel/
53eb982001SEduardo Valentinobj-$(CONFIG_TI_SOC_THERMAL)	+= ti-soc-thermal/
541d693155SDavid HERNANDEZ SANCHEZobj-y				+= st/
559066073cSRajendra Nayakobj-$(CONFIG_QCOM_TSENS)	+= qcom/
567afebedeSMikko Perttunenobj-y				+= tegra/
579a5238a9Skongxinweiobj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o
58a92db1c8SSascha Hauerobj-$(CONFIG_MTK_THERMAL)	+= mtk_thermal.o
59b3aef78fSLaxman Dewanganobj-$(CONFIG_GENERIC_ADC_THERMAL)	+= thermal-generic-adc.o
6086da4391SKunihiko Hayashiobj-$(CONFIG_UNIPHIER_THERMAL)	+= uniphier_thermal.o
61421eda10SGuillaume La Roqueobj-$(CONFIG_AMLOGIC_THERMAL)     += amlogic_thermal.o
62554fdbafSFreeman Liuobj-$(CONFIG_SPRD_THERMAL)	+= sprd_thermal.o
635772717eSNeil Armstrongobj-$(CONFIG_KHADAS_MCU_FAN_THERMAL)	+= khadas_mcu_fan.o
64