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