162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# Makefile for sensor chip drivers. 462306a36Sopenharmony_ci# 562306a36Sopenharmony_ciCFLAGS_thermal_core.o := -I$(src) 662306a36Sopenharmony_ciobj-$(CONFIG_THERMAL) += thermal_sys.o 762306a36Sopenharmony_cithermal_sys-y += thermal_core.o thermal_sysfs.o 862306a36Sopenharmony_cithermal_sys-y += thermal_trip.o thermal_helpers.o 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci# netlink interface to manage the thermal framework 1162306a36Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_NETLINK) += thermal_netlink.o 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci# interface to/from other layers providing sensors 1462306a36Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o 1562306a36Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o 1662306a36Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_ACPI) += thermal_acpi.o 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci# governors 1962306a36Sopenharmony_ciCFLAGS_gov_power_allocator.o := -I$(src) 2062306a36Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o 2162306a36Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o 2262306a36Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o 2362306a36Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o 2462306a36Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci# cpufreq cooling 2762306a36Sopenharmony_cithermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o 2862306a36Sopenharmony_cithermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci# devfreq cooling 3162306a36Sopenharmony_cithermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciobj-$(CONFIG_K3_THERMAL) += k3_bandgap.o k3_j72xx_bandgap.o 3462306a36Sopenharmony_ci# platform thermal drivers 3562306a36Sopenharmony_ciobj-y += broadcom/ 3662306a36Sopenharmony_ciobj-$(CONFIG_THERMAL_MMIO) += thermal_mmio.o 3762306a36Sopenharmony_ciobj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o 3862306a36Sopenharmony_ciobj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o 3962306a36Sopenharmony_ciobj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o 4062306a36Sopenharmony_ciobj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o 4162306a36Sopenharmony_ciobj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o 4262306a36Sopenharmony_ciobj-$(CONFIG_RZG2L_THERMAL) += rzg2l_thermal.o 4362306a36Sopenharmony_ciobj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o 4462306a36Sopenharmony_ciobj-y += samsung/ 4562306a36Sopenharmony_ciobj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o 4662306a36Sopenharmony_ciobj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o 4762306a36Sopenharmony_ciobj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o 4862306a36Sopenharmony_ciobj-$(CONFIG_IMX_THERMAL) += imx_thermal.o 4962306a36Sopenharmony_ciobj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o 5062306a36Sopenharmony_ciobj-$(CONFIG_IMX8MM_THERMAL) += imx8mm_thermal.o 5162306a36Sopenharmony_ciobj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o 5262306a36Sopenharmony_ciobj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o 5362306a36Sopenharmony_ciobj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o 5462306a36Sopenharmony_ciobj-y += intel/ 5562306a36Sopenharmony_ciobj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/ 5662306a36Sopenharmony_ciobj-y += st/ 5762306a36Sopenharmony_ciobj-y += qcom/ 5862306a36Sopenharmony_ciobj-y += tegra/ 5962306a36Sopenharmony_ciobj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o 6062306a36Sopenharmony_ciobj-y += mediatek/ 6162306a36Sopenharmony_ciobj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o 6262306a36Sopenharmony_ciobj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o 6362306a36Sopenharmony_ciobj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o 6462306a36Sopenharmony_ciobj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o 6562306a36Sopenharmony_ciobj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o 6662306a36Sopenharmony_ciobj-$(CONFIG_LOONGSON2_THERMAL) += loongson2_thermal.o 67