]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/power/Kconfig
sunxi: axp221: Allow specifying dcdc2 voltage via Kconfig
[karo-tx-uboot.git] / drivers / power / Kconfig
index f8f0239484fd43811cbf9dc9fcff3bb6dec179ef..df5e3734b05f20e8ff9db1c83dea2aad3a41fe0f 100644 (file)
@@ -1,3 +1,9 @@
+menu "Power"
+
+source "drivers/power/pmic/Kconfig"
+
+source "drivers/power/regulator/Kconfig"
+
 config AXP221_POWER
        boolean "axp221 / axp223 pmic support"
        depends on MACH_SUN6I || MACH_SUN8I
@@ -16,6 +22,15 @@ config AXP221_DCDC1_VOLT
        things like GPIO-s, sdcard interfaces, etc. On most boards this is
        undervolted to 3.0V to safe battery.
 
+config AXP221_DCDC2_VOLT
+       int "axp221 dcdc2 voltage"
+       depends on AXP221_POWER
+       default 1200
+       ---help---
+       Set the voltage (mV) to program the axp221 dcdc2 at, set to 0 to
+       disable dcdc2. On A31 boards this is typically used for VDD-GPU,
+       on A23/A33 for VDD-SYS, this should normally be set to 1.2V.
+
 config AXP221_DLDO1_VOLT
        int "axp221 dldo1 voltage"
        depends on AXP221_POWER
@@ -73,3 +88,5 @@ config AXP221_ELDO3_VOLT
        disable eldo3. On some A31(s) tablets it might be used to supply
        1.2V for the SSD2828 chip (converter of parallel LCD interface
        into MIPI DSI).
+
+endmenu