diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-12-13 14:12:06 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-01-14 14:56:36 +0100 |
commit | 1262a85fe36936f404dc2deccc3ebaacebb612c5 (patch) | |
tree | 354d2f6927c6481c9fa7c81dcfbc5ee5e7d05a0b /drivers | |
parent | f70444980b23f5f52025aa6b7d22233312dea136 (diff) | |
download | u-boot-1262a85fe36936f404dc2deccc3ebaacebb612c5.zip u-boot-1262a85fe36936f404dc2deccc3ebaacebb612c5.tar.gz u-boot-1262a85fe36936f404dc2deccc3ebaacebb612c5.tar.bz2 |
sunxi: axp221: Make dcdc1 voltage configurable
The dcdc1 voltage is typically used as generic 3.3V IO voltage for things like
GPIO-s, sdcard interfaces, etc. On most boards this is undervolted to 3.0V to
safe battery, but not on all, make it configurable so that we can use the
same settings as the original firmware on all boards.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/power/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index af66887..e132759 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -6,6 +6,16 @@ config AXP221_POWER Say y here to enable support for the axp221 / axp223 pmic found on most sun6i (A31) / sun8i (A23) boards. +config AXP221_DCDC1_VOLT + int "axp221 dcdc1 voltage" + depends on AXP221_POWER + default 3000 + ---help--- + Set the voltage (mV) to program the axp221 dcdc1 at, set to 0 to + disable dcdc1. This is typically used as generic 3.3V IO voltage for + things like GPIO-s, sdcard interfaces, etc. On most boards this is + undervolted to 3.0V to safe battery. + config AXP221_DLDO1_VOLT int "axp221 dldo1 voltage" depends on AXP221_POWER |