Merge tag 'thermal-6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[linux-block.git] / drivers / thermal / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
203d3d4a
ZR
2#
3# Makefile for sensor chip drivers.
4#
32a7a021 5CFLAGS_thermal_core.o := -I$(src)
63c4ec90 6obj-$(CONFIG_THERMAL) += thermal_sys.o
5b8de18e
DL
7thermal_sys-y += thermal_core.o thermal_sysfs.o
8thermal_sys-y += thermal_trip.o thermal_helpers.o
5b8583d3
DL
9
10# netlink interface to manage the thermal framework
11thermal_sys-$(CONFIG_THERMAL_NETLINK) += thermal_netlink.o
445110e9 12
755113d7
DL
13thermal_sys-$(CONFIG_THERMAL_DEBUGFS) += thermal_debugfs.o
14
0dd88793
EV
15# interface to/from other layers providing sensors
16thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
14adf6c8 17thermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o
0dd88793 18
445110e9 19# governors
32a7a021 20CFLAGS_gov_power_allocator.o := -I$(src)
0015d9a2 21thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o
e4dbf98f 22thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
0015d9a2
AK
23thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o
24thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o
25thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o
445110e9
ZR
26
27# cpufreq cooling
23affa2e 28thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o
a4c428e5 29thermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o
445110e9 30
a76caf55
ØE
31# devfreq cooling
32thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
33
ffcb2fc8 34obj-$(CONFIG_K3_THERMAL) += k3_bandgap.o k3_j72xx_bandgap.o
445110e9 35# platform thermal drivers
a94cb7ee 36obj-y += broadcom/
71aa3693 37obj-$(CONFIG_THERMAL_MMIO) += thermal_mmio.o
445110e9 38obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o
dccc5c3b 39obj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o
cbac8f63 40obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o
1e426ffd 41obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o
564e73d2 42obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o
673c68bd 43obj-$(CONFIG_RZG2L_THERMAL) += rzg2l_thermal.o
7060aa36 44obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
c6821378 45obj-y += samsung/
74ffa64c 46obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
aa1acb04 47obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
fa0d654c 48obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
ca3de46b 49obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o
e20db70d 50obj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o
5eed800a 51obj-$(CONFIG_IMX8MM_THERMAL) += imx8mm_thermal.o
ec4664b3 52obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o
43528445 53obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o
608567aa 54obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o
3e8c4d31 55obj-y += intel/
eb982001 56obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/
1d693155 57obj-y += st/
34dc523b 58obj-y += qcom/
7afebede 59obj-y += tegra/
9a5238a9 60obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o
fad399eb 61obj-y += mediatek/
b3aef78f 62obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o
86da4391 63obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o
421eda10 64obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o
554fdbaf 65obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o
5772717e 66obj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o
e7e3a7c3 67obj-$(CONFIG_LOONGSON2_THERMAL) += loongson2_thermal.o