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