2024-11-26 13:32:30 +08:00
|
|
|
menuconfig RT_USING_REGULATOR
|
|
|
|
bool "Using Voltage and Current Regulator"
|
|
|
|
select RT_USING_ADT
|
|
|
|
select RT_USING_ADT_REF
|
|
|
|
depends on RT_USING_DM
|
|
|
|
default n
|
|
|
|
|
2024-11-26 13:36:08 +08:00
|
|
|
config RT_REGULATOR_FIXED
|
|
|
|
bool "Fixed regulator support"
|
|
|
|
depends on RT_USING_REGULATOR
|
|
|
|
depends on RT_USING_PIN
|
|
|
|
depends on RT_USING_PINCTRL
|
|
|
|
default y
|
|
|
|
|
|
|
|
config RT_REGULATOR_GPIO
|
|
|
|
bool "GPIO regulator support"
|
|
|
|
depends on RT_USING_REGULATOR
|
|
|
|
depends on RT_USING_PIN
|
|
|
|
default y
|
|
|
|
|
2024-11-26 13:32:30 +08:00
|
|
|
if RT_USING_REGULATOR
|
|
|
|
osource "$(SOC_DM_REGULATOR_DIR)/Kconfig"
|
|
|
|
endif
|