^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Makefile for sensor chip drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) obj-$(CONFIG_THERMAL) += thermal_sys.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) thermal_sys-y += thermal_core.o thermal_sysfs.o \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) thermal_helpers.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) # netlink interface to manage the thermal framework
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) thermal_sys-$(CONFIG_THERMAL_NETLINK) += thermal_netlink.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) # interface to/from other layers providing sensors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) thermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) # governors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) # cpufreq cooling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) thermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) # devfreq cooling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) obj-$(CONFIG_K3_THERMAL) += k3_bandgap.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) # platform thermal drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) obj-y += broadcom/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) obj-$(CONFIG_THERMAL_MMIO) += thermal_mmio.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) obj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) obj-y += samsung/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) obj-$(CONFIG_TANGO_THERMAL) += tango_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) obj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) obj-$(CONFIG_IMX8MM_THERMAL) += imx8mm_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) obj-y += intel/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) obj-y += st/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) obj-$(CONFIG_QCOM_TSENS) += qcom/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) obj-y += tegra/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) obj-$(CONFIG_MTK_THERMAL) += mtk_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) obj-$(CONFIG_ZX2967_THERMAL) += zx2967_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) obj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o