sunxi: axp221: Add axp223 support
[oweals/u-boot.git] / drivers / power / Kconfig
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7373a793e2552295d56a5e914c6d997a6cf7ba8a 100644 (file)
@@ -0,0 +1,47 @@
+config AXP221_POWER
+       boolean "axp221 / axp223 pmic support"
+       depends on MACH_SUN6I || MACH_SUN8I
+       default y
+       ---help---
+       Say y here to enable support for the axp221 / axp223 pmic found on most
+       sun6i (A31) / sun8i (A23) boards.
+
+config AXP221_DLDO1_VOLT
+       int "axp221 dldo1 voltage"
+       depends on AXP221_POWER
+       default -1
+       ---help---
+       Set the voltage (mV) to program the axp221 dldo1 at, set to -1 to
+       disable dldo1.
+
+config AXP221_DLDO4_VOLT
+       int "axp221 dldo4 voltage"
+       depends on AXP221_POWER
+       default -1
+       ---help---
+       Set the voltage (mV) to program the axp221 dldo4 at, set to -1 to
+       disable dldo4.
+
+config AXP221_ALDO1_VOLT
+       int "axp221 aldo1 voltage"
+       depends on AXP221_POWER
+       default -1
+       ---help---
+       Set the voltage (mV) to program the axp221 aldo1 at, set to -1 to
+       disable aldo1.
+
+config AXP221_ALDO2_VOLT
+       int "axp221 aldo2 voltage"
+       depends on AXP221_POWER
+       default -1
+       ---help---
+       Set the voltage (mV) to program the axp221 aldo2 at, set to -1 to
+       disable aldo2.
+
+config AXP221_ALDO3_VOLT
+       int "axp221 aldo3 voltage"
+       depends on AXP221_POWER
+       default -1
+       ---help---
+       Set the voltage (mV) to program the axp221 aldo3 at, set to -1 to
+       disable aldo3.