power: regulator: Add support for NPCM8xx
Add support for setting nuvoton BMC NPCM845 voltage supply.
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig
index c519e06..c02e637 100644
--- a/drivers/power/regulator/Kconfig
+++ b/drivers/power/regulator/Kconfig
@@ -128,6 +128,14 @@
features for REGULATOR MAX77686. The driver implements get/set api for:
value, enable and mode.
+config DM_REGULATOR_NPCM8XX
+ bool "Enable Driver Model for NPCM8xx voltage supply"
+ depends on DM_REGULATOR && ARCH_NPCM8XX
+ help
+ Enable support for configuring voltage supply on NPCM8XX SoC. The
+ voltage supplies support two voltage levels and the driver implements
+ get/set api for setting the value.
+
config DM_REGULATOR_FAN53555
bool "Enable Driver Model for REGULATOR FAN53555"
depends on DM_PMIC_FAN53555