18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Makefile for sensor chip drivers.
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciobj-$(CONFIG_THERMAL)		+= thermal_sys.o
78c2ecf20Sopenharmony_cithermal_sys-y			+= thermal_core.o thermal_sysfs.o \
88c2ecf20Sopenharmony_ci					thermal_helpers.o
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci# netlink interface to manage the thermal framework
118c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_NETLINK)		+= thermal_netlink.o
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci# interface to/from other layers providing sensors
148c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_HWMON)		+= thermal_hwmon.o
158c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_OF)		+= thermal_of.o
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci# governors
188c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE)	+= gov_fair_share.o
198c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG)	+= gov_bang_bang.o
208c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE)	+= gov_step_wise.o
218c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE)	+= gov_user_space.o
228c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR)	+= gov_power_allocator.o
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci# cpufreq cooling
258c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_CPU_FREQ_THERMAL)	+= cpufreq_cooling.o
268c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_CPU_IDLE_THERMAL)	+= cpuidle_cooling.o
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci# devfreq cooling
298c2ecf20Sopenharmony_cithermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciobj-$(CONFIG_K3_THERMAL)	+= k3_bandgap.o
328c2ecf20Sopenharmony_ci# platform thermal drivers
338c2ecf20Sopenharmony_ciobj-y				+= broadcom/
348c2ecf20Sopenharmony_ciobj-$(CONFIG_THERMAL_MMIO)		+= thermal_mmio.o
358c2ecf20Sopenharmony_ciobj-$(CONFIG_SPEAR_THERMAL)	+= spear_thermal.o
368c2ecf20Sopenharmony_ciobj-$(CONFIG_SUN8I_THERMAL)     += sun8i_thermal.o
378c2ecf20Sopenharmony_ciobj-$(CONFIG_ROCKCHIP_THERMAL)	+= rockchip_thermal.o
388c2ecf20Sopenharmony_ciobj-$(CONFIG_RCAR_THERMAL)	+= rcar_thermal.o
398c2ecf20Sopenharmony_ciobj-$(CONFIG_RCAR_GEN3_THERMAL)	+= rcar_gen3_thermal.o
408c2ecf20Sopenharmony_ciobj-$(CONFIG_KIRKWOOD_THERMAL)  += kirkwood_thermal.o
418c2ecf20Sopenharmony_ciobj-y				+= samsung/
428c2ecf20Sopenharmony_ciobj-$(CONFIG_DOVE_THERMAL)  	+= dove_thermal.o
438c2ecf20Sopenharmony_ciobj-$(CONFIG_DB8500_THERMAL)	+= db8500_thermal.o
448c2ecf20Sopenharmony_ciobj-$(CONFIG_ARMADA_THERMAL)	+= armada_thermal.o
458c2ecf20Sopenharmony_ciobj-$(CONFIG_TANGO_THERMAL)	+= tango_thermal.o
468c2ecf20Sopenharmony_ciobj-$(CONFIG_IMX_THERMAL)	+= imx_thermal.o
478c2ecf20Sopenharmony_ciobj-$(CONFIG_IMX_SC_THERMAL)	+= imx_sc_thermal.o
488c2ecf20Sopenharmony_ciobj-$(CONFIG_IMX8MM_THERMAL)	+= imx8mm_thermal.o
498c2ecf20Sopenharmony_ciobj-$(CONFIG_MAX77620_THERMAL)	+= max77620_thermal.o
508c2ecf20Sopenharmony_ciobj-$(CONFIG_QORIQ_THERMAL)	+= qoriq_thermal.o
518c2ecf20Sopenharmony_ciobj-$(CONFIG_DA9062_THERMAL)	+= da9062-thermal.o
528c2ecf20Sopenharmony_ciobj-y				+= intel/
538c2ecf20Sopenharmony_ciobj-$(CONFIG_TI_SOC_THERMAL)	+= ti-soc-thermal/
548c2ecf20Sopenharmony_ciobj-y				+= st/
558c2ecf20Sopenharmony_ciobj-$(CONFIG_QCOM_TSENS)	+= qcom/
568c2ecf20Sopenharmony_ciobj-y				+= tegra/
578c2ecf20Sopenharmony_ciobj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o
588c2ecf20Sopenharmony_ciobj-$(CONFIG_MTK_THERMAL)	+= mtk_thermal.o
598c2ecf20Sopenharmony_ciobj-$(CONFIG_GENERIC_ADC_THERMAL)	+= thermal-generic-adc.o
608c2ecf20Sopenharmony_ciobj-$(CONFIG_ZX2967_THERMAL)	+= zx2967_thermal.o
618c2ecf20Sopenharmony_ciobj-$(CONFIG_UNIPHIER_THERMAL)	+= uniphier_thermal.o
628c2ecf20Sopenharmony_ciobj-$(CONFIG_AMLOGIC_THERMAL)     += amlogic_thermal.o
638c2ecf20Sopenharmony_ciobj-$(CONFIG_SPRD_THERMAL)	+= sprd_thermal.o
648c2ecf20Sopenharmony_ciobj-$(CONFIG_KHADAS_MCU_FAN_THERMAL)	+= khadas_mcu_fan.o
65