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