summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-14 16:19:34 +0200
committerHans de Goede <hdegoede@redhat.com>2015-08-31 08:43:41 +0200
commit7a0bbe64d8ec87e07179fe6124dc8a177b5abd3e (patch)
treea8f4fe1c78ec20dc481cc6d6936d780ebd9e4407 /drivers/power
parentf875bbb49111c308b90b9ca74d1b79f69498b278 (diff)
downloadu-boot-imx-7a0bbe64d8ec87e07179fe6124dc8a177b5abd3e.zip
u-boot-imx-7a0bbe64d8ec87e07179fe6124dc8a177b5abd3e.tar.gz
u-boot-imx-7a0bbe64d8ec87e07179fe6124dc8a177b5abd3e.tar.bz2
sunxi: axp221: Allow specifying dcdc2 voltage via Kconfig
Allow specifying the axp221 dcdc2 voltage via Kconfig, this is necessary because on some boards the 1.2V default does not work reliable. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 23cdd71..df5e373 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -22,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