From 96cf830d89e823eed4259d24725905c979f2aebb Mon Sep 17 00:00:00 2001 From: GuEe-GUI <2991707448@qq.com> Date: Wed, 22 Jul 2026 23:15:05 +0800 Subject: [dm][thermal] update the thermal cooling 1. Fixup the cooling control flow. 2. Replace the spinlock to mutex. 3. Fixup the PWM args for PWM-FAN. 4. Add GPIO-FAN Signed-off-by: GuEe-GUI <2991707448@qq.com> --- components/drivers/thermal/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/drivers/thermal/SConscript') diff --git a/components/drivers/thermal/SConscript b/components/drivers/thermal/SConscript index 015ff18d5a..f3db0cf68f 100644 --- a/components/drivers/thermal/SConscript +++ b/components/drivers/thermal/SConscript @@ -16,6 +16,9 @@ if GetDepend(['RT_THERMAL_SCMI']): if GetDepend(['RT_THERMAL_COOL_DVFS']): src += ['thermal-cool-dvfs.c'] +if GetDepend(['RT_THERMAL_COOL_GPIO_FAN']): + src += ['thermal-cool-gpio-fan.c'] + if GetDepend(['RT_THERMAL_COOL_PWM_FAN']): src += ['thermal-cool-pwm-fan.c'] -- cgit v1.3.1