mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-17 07:05:31 +08:00
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>
48 lines
992 B
Plaintext
48 lines
992 B
Plaintext
menuconfig RT_USING_THERMAL
|
|
bool "Using Thermal Management device drivers"
|
|
depends on RT_USING_DM
|
|
default n
|
|
|
|
if RT_USING_THERMAL
|
|
comment "Thermal Sensors Drivers"
|
|
endif
|
|
|
|
config RT_THERMAL_SCMI
|
|
bool "ARM SCMI interface"
|
|
depends on RT_USING_THERMAL
|
|
depends on RT_FIRMWARE_ARM_SCMI
|
|
default n
|
|
|
|
if RT_USING_THERMAL
|
|
osource "$(SOC_DM_THERMAL_DIR)/Kconfig"
|
|
endif
|
|
|
|
if RT_USING_THERMAL
|
|
comment "Thermal Cool Drivers"
|
|
endif
|
|
|
|
config RT_THERMAL_COOL_DVFS
|
|
bool "DVFS"
|
|
depends on RT_USING_THERMAL
|
|
depends on RT_USING_DVFS
|
|
default n
|
|
|
|
config RT_THERMAL_COOL_GPIO_FAN
|
|
bool "GPIO Fan"
|
|
depends on RT_USING_THERMAL
|
|
depends on RT_USING_PIN
|
|
depends on RT_USING_OFW
|
|
default n
|
|
|
|
config RT_THERMAL_COOL_PWM_FAN
|
|
bool "PWM Fan"
|
|
depends on RT_USING_THERMAL
|
|
depends on RT_USING_PWM
|
|
depends on RT_USING_REGULATOR
|
|
depends on RT_USING_OFW
|
|
default n
|
|
|
|
if RT_USING_THERMAL
|
|
osource "$(SOC_DM_THERMAL_COOL_DIR)/Kconfig"
|
|
endif
|