xref: /openbmc/linux/drivers/thermal/Makefile (revision b96fc2f3)
1#
2# Makefile for sensor chip drivers.
3#
4
5obj-$(CONFIG_THERMAL)		+= thermal_sys.o
6thermal_sys-y			+= thermal_core.o
7
8# interface to/from other layers providing sensors
9thermal_sys-$(CONFIG_THERMAL_HWMON)		+= thermal_hwmon.o
10thermal_sys-$(CONFIG_THERMAL_OF)		+= of-thermal.o
11
12# governors
13thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE)	+= fair_share.o
14thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG)	+= gov_bang_bang.o
15thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE)	+= step_wise.o
16thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE)	+= user_space.o
17thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR)	+= power_allocator.o
18
19# cpufreq cooling
20thermal_sys-$(CONFIG_CPU_THERMAL)	+= cpu_cooling.o
21
22# clock cooling
23thermal_sys-$(CONFIG_CLOCK_THERMAL)	+= clock_cooling.o
24
25# platform thermal drivers
26obj-$(CONFIG_QCOM_SPMI_TEMP_ALARM)	+= qcom-spmi-temp-alarm.o
27obj-$(CONFIG_SPEAR_THERMAL)	+= spear_thermal.o
28obj-$(CONFIG_ROCKCHIP_THERMAL)	+= rockchip_thermal.o
29obj-$(CONFIG_RCAR_THERMAL)	+= rcar_thermal.o
30obj-$(CONFIG_KIRKWOOD_THERMAL)  += kirkwood_thermal.o
31obj-y				+= samsung/
32obj-$(CONFIG_DOVE_THERMAL)  	+= dove_thermal.o
33obj-$(CONFIG_DB8500_THERMAL)	+= db8500_thermal.o
34obj-$(CONFIG_ARMADA_THERMAL)	+= armada_thermal.o
35obj-$(CONFIG_IMX_THERMAL)	+= imx_thermal.o
36obj-$(CONFIG_DB8500_CPUFREQ_COOLING)	+= db8500_cpufreq_cooling.o
37obj-$(CONFIG_INTEL_POWERCLAMP)	+= intel_powerclamp.o
38obj-$(CONFIG_X86_PKG_TEMP_THERMAL)	+= x86_pkg_temp_thermal.o
39obj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE)	+= intel_soc_dts_iosf.o
40obj-$(CONFIG_INTEL_SOC_DTS_THERMAL)	+= intel_soc_dts_thermal.o
41obj-$(CONFIG_INTEL_QUARK_DTS_THERMAL)	+= intel_quark_dts_thermal.o
42obj-$(CONFIG_TI_SOC_THERMAL)	+= ti-soc-thermal/
43obj-$(CONFIG_INT340X_THERMAL)  += int340x_thermal/
44obj-$(CONFIG_INTEL_PCH_THERMAL)	+= intel_pch_thermal.o
45obj-$(CONFIG_ST_THERMAL)	+= st/
46obj-$(CONFIG_TEGRA_SOCTHERM)	+= tegra_soctherm.o
47obj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o
48