summaryrefslogtreecommitdiff
path: root/components/drivers/thermal/Kconfig
blob: c5462899347d2886a151f94063ac76249de90589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
menuconfig RT_USING_THERMAL
    bool "Using Thermal Management device drivers"
    depends on RT_USING_DM
    default n
    help
      Enable the thermal framework which registers sensors/cooling devices and
      lets policies throttle clocks, fans, or regulators. Required on SoCs that
      monitor die temperature.

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_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
    help
      Build the cooling device that drives fans via PWM and regulator APIs based
      on thermal policy requests.

if RT_USING_THERMAL
    osource "$(SOC_DM_THERMAL_COOL_DIR)/Kconfig"
endif