xref: /openbmc/linux/drivers/thermal/Makefile (revision 41e4b7dc)
1#
2# Makefile for sensor chip drivers.
3#
4
5obj-$(CONFIG_THERMAL)		+= thermal_sys.o
6thermal_sys-y			+= thermal_core.o thermal_sysfs.o \
7					thermal_helpers.o
8
9# interface to/from other layers providing sensors
10thermal_sys-$(CONFIG_THERMAL_HWMON)		+= thermal_hwmon.o
11thermal_sys-$(CONFIG_THERMAL_OF)		+= of-thermal.o
12
13# governors
14thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE)	+= fair_share.o
15thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG)	+= gov_bang_bang.o
16thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE)	+= step_wise.o
17thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE)	+= user_space.o
18thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR)	+= power_allocator.o
19
20# cpufreq cooling
21thermal_sys-$(CONFIG_CPU_THERMAL)	+= cpu_cooling.o
22
23# clock cooling
24thermal_sys-$(CONFIG_CLOCK_THERMAL)	+= clock_cooling.o
25
26# devfreq cooling
27thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
28
29# platform thermal drivers
30obj-y				+= broadcom/
31obj-$(CONFIG_QCOM_SPMI_TEMP_ALARM)	+= qcom-spmi-temp-alarm.o
32obj-$(CONFIG_SPEAR_THERMAL)	+= spear_thermal.o
33obj-$(CONFIG_ROCKCHIP_THERMAL)	+= rockchip_thermal.o
34obj-$(CONFIG_RCAR_THERMAL)	+= rcar_thermal.o
35obj-$(CONFIG_RCAR_GEN3_THERMAL)	+= rcar_gen3_thermal.o
36obj-$(CONFIG_KIRKWOOD_THERMAL)  += kirkwood_thermal.o
37obj-y				+= samsung/
38obj-$(CONFIG_DOVE_THERMAL)  	+= dove_thermal.o
39obj-$(CONFIG_DB8500_THERMAL)	+= db8500_thermal.o
40obj-$(CONFIG_ARMADA_THERMAL)	+= armada_thermal.o
41obj-$(CONFIG_TANGO_THERMAL)	+= tango_thermal.o
42obj-$(CONFIG_IMX_THERMAL)	+= imx_thermal.o
43obj-$(CONFIG_MAX77620_THERMAL)	+= max77620_thermal.o
44obj-$(CONFIG_QORIQ_THERMAL)	+= qoriq_thermal.o
45obj-$(CONFIG_DA9062_THERMAL)	+= da9062-thermal.o
46obj-$(CONFIG_INTEL_POWERCLAMP)	+= intel_powerclamp.o
47obj-$(CONFIG_X86_PKG_TEMP_THERMAL)	+= x86_pkg_temp_thermal.o
48obj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE)	+= intel_soc_dts_iosf.o
49obj-$(CONFIG_INTEL_SOC_DTS_THERMAL)	+= intel_soc_dts_thermal.o
50obj-$(CONFIG_INTEL_QUARK_DTS_THERMAL)	+= intel_quark_dts_thermal.o
51obj-$(CONFIG_TI_SOC_THERMAL)	+= ti-soc-thermal/
52obj-$(CONFIG_INT340X_THERMAL)  += int340x_thermal/
53obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o
54obj-$(CONFIG_INTEL_PCH_THERMAL)	+= intel_pch_thermal.o
55obj-$(CONFIG_ST_THERMAL)	+= st/
56obj-$(CONFIG_QCOM_TSENS)	+= qcom/
57obj-$(CONFIG_TEGRA_SOCTHERM)	+= tegra/
58obj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o
59obj-$(CONFIG_MTK_THERMAL)	+= mtk_thermal.o
60obj-$(CONFIG_GENERIC_ADC_THERMAL)	+= thermal-generic-adc.o
61obj-$(CONFIG_ZX2967_THERMAL)	+= zx2967_thermal.o
62obj-$(CONFIG_UNIPHIER_THERMAL)	+= uniphier_thermal.o
63