Merge tag 'mm-hotfixes-stable-2025-07-11-16-16' of git://git.kernel.org/pub/scm/linux...
[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
445936f9 9thermal_sys-y += thermal_thresholds.o
5b8583d3
DL
10
11# netlink interface to manage the thermal framework
12thermal_sys-$(CONFIG_THERMAL_NETLINK) += thermal_netlink.o
445110e9 13
755113d7
DL
14thermal_sys-$(CONFIG_THERMAL_DEBUGFS) += thermal_debugfs.o
15
0dd88793
EV
16# interface to/from other layers providing sensors
17thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
14adf6c8 18thermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o
0dd88793 19
445110e9 20# governors
32a7a021 21CFLAGS_gov_power_allocator.o := -I$(src)
0015d9a2 22thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o
e4dbf98f 23thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
0015d9a2
AK
24thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o
25thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o
26thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o
445110e9
ZR
27
28# cpufreq cooling
23affa2e 29thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o
a4c428e5 30thermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o
445110e9 31
a76caf55
ØE
32# devfreq cooling
33thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
34
d278b098
IJ
35thermal_sys-$(CONFIG_PCIE_THERMAL) += pcie_cooling.o
36
ffcb2fc8 37obj-$(CONFIG_K3_THERMAL) += k3_bandgap.o k3_j72xx_bandgap.o
445110e9 38# platform thermal drivers
a94cb7ee 39obj-y += broadcom/
71aa3693 40obj-$(CONFIG_THERMAL_MMIO) += thermal_mmio.o
42de37f4 41obj-$(CONFIG_AIROHA_THERMAL) += airoha_thermal.o
445110e9 42obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o
dccc5c3b 43obj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o
cbac8f63 44obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o
9d617949 45obj-y += renesas/
7060aa36 46obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
c6821378 47obj-y += samsung/
f492d822 48obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
aa1acb04 49obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
fa0d654c 50obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
ca3de46b 51obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o
e20db70d 52obj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o
5eed800a 53obj-$(CONFIG_IMX8MM_THERMAL) += imx8mm_thermal.o
ec4664b3 54obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o
43528445 55obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o
608567aa 56obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o
3e8c4d31 57obj-y += intel/
eb982001 58obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/
1d693155 59obj-y += st/
34dc523b 60obj-y += qcom/
7afebede 61obj-y += tegra/
9a5238a9 62obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o
fad399eb 63obj-y += mediatek/
b3aef78f 64obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o
86da4391 65obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o
421eda10 66obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o
554fdbaf 67obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o
5772717e 68obj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o
e7e3a7c3 69obj-$(CONFIG_LOONGSON2_THERMAL) += loongson2_thermal.o
f6a034f2 70obj-$(CONFIG_THERMAL_CORE_TESTING) += testing/