1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2203d3d4aSZhang Rui# 3203d3d4aSZhang Rui# Makefile for sensor chip drivers. 4203d3d4aSZhang Rui# 532a7a021SDaniel LezcanoCFLAGS_thermal_core.o := -I$(src) 663c4ec90SZhang Ruiobj-$(CONFIG_THERMAL) += thermal_sys.o 75b8de18eSDaniel Lezcanothermal_sys-y += thermal_core.o thermal_sysfs.o 85b8de18eSDaniel Lezcanothermal_sys-y += thermal_trip.o thermal_helpers.o 95b8583d3SDaniel Lezcanothermal_sys-y += thermal_thresholds.o 105b8583d3SDaniel Lezcano 115b8583d3SDaniel Lezcano# netlink interface to manage the thermal framework 12445110e9SZhang Ruithermal_sys-$(CONFIG_THERMAL_NETLINK) += thermal_netlink.o 13755113d7SDaniel Lezcano 14755113d7SDaniel Lezcanothermal_sys-$(CONFIG_THERMAL_DEBUGFS) += thermal_debugfs.o 150dd88793SEduardo Valentin 160dd88793SEduardo Valentin# interface to/from other layers providing sensors 1714adf6c8SAmit Kucheriathermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o 180dd88793SEduardo Valentinthermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o 19445110e9SZhang Rui 2032a7a021SDaniel Lezcano# governors 210015d9a2SAmit KucheriaCFLAGS_gov_power_allocator.o := -I$(src) 22e4dbf98fSPeter Feuererthermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o 230015d9a2SAmit Kucheriathermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o 240015d9a2SAmit Kucheriathermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o 250015d9a2SAmit Kucheriathermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o 26445110e9SZhang Ruithermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o 27445110e9SZhang Rui 2823affa2eSDaniel Lezcano# cpufreq cooling 29a4c428e5SDaniel Lezcanothermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o 30445110e9SZhang Ruithermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o 31a76caf55SØrjan Eide 32a76caf55SØrjan Eide# devfreq cooling 33a76caf55SØrjan Eidethermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o 34*d278b098SIlpo Järvinen 35*d278b098SIlpo Järvinenthermal_sys-$(CONFIG_PCIE_THERMAL) += pcie_cooling.o 36ffcb2fc8SKeerthy 37445110e9SZhang Ruiobj-$(CONFIG_K3_THERMAL) += k3_bandgap.o k3_j72xx_bandgap.o 38a94cb7eeSRafał Miłecki# platform thermal drivers 3971aa3693STalel Shenharobj-y += broadcom/ 40445110e9SZhang Ruiobj-$(CONFIG_THERMAL_MMIO) += thermal_mmio.o 41dccc5c3bSYangtao Liobj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o 42cbac8f63SCaesar Wangobj-$(CONFIG_SUN8I_THERMAL) += sun8i_thermal.o 439d617949SNiklas Söderlundobj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o 447060aa36SNobuhiro Iwamatsuobj-y += renesas/ 45c6821378SAmit Daniel Kachhapobj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o 4674ffa64cSAndrew Lunnobj-y += samsung/ 47aa1acb04Shongbo.zhangobj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o 48fa0d654cSEzequiel Garciaobj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o 49ca3de46bSShawn Guoobj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o 50e20db70dSAnson Huangobj-$(CONFIG_IMX_THERMAL) += imx_thermal.o 515eed800aSAnson Huangobj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o 52ec4664b3SLaxman Dewanganobj-$(CONFIG_IMX8MM_THERMAL) += imx8mm_thermal.o 5343528445SJia Hongtaoobj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o 54608567aaSSteve Twissobj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o 553e8c4d31SAmit Kucheriaobj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o 56eb982001SEduardo Valentinobj-y += intel/ 571d693155SDavid HERNANDEZ SANCHEZobj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/ 5834dc523bSJonathan Cameronobj-y += st/ 597afebedeSMikko Perttunenobj-y += qcom/ 609a5238a9Skongxinweiobj-y += tegra/ 61fad399ebSBalsam CHIHIobj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o 62b3aef78fSLaxman Dewanganobj-y += mediatek/ 6386da4391SKunihiko Hayashiobj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o 64421eda10SGuillaume La Roqueobj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o 65554fdbafSFreeman Liuobj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o 665772717eSNeil Armstrongobj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o 67e7e3a7c3SYinbo Zhuobj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o 68f6a034f2SRafael J. Wysockiobj-$(CONFIG_LOONGSON2_THERMAL) += loongson2_thermal.o 69obj-$(CONFIG_THERMAL_CORE_TESTING) += testing/ 70