
ALDO2 is used to power LPDDR2 SDRAM on both the reference design and the Hummingbird A31, when this type of RAM is present.
Signed-off-by: Chen-Yu Tsai wens@csie.org ---
Hi Hans,
It seems I was on something when I read the board schematics, as I misread them. ALDO2 is only used for LPDDR2, which nobody seems to use, and we don't support anyway.
VCC-PM-CPUS is powered from GPIO0-LDO, as is VCC-PB (which no one seems to use either.)
Sorry for the mixup.
ChenYu
--- drivers/power/Kconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index ef0c093..df7a759 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -46,14 +46,13 @@ config AXP221_ALDO1_VOLT config AXP221_ALDO2_VOLT int "axp221 aldo2 voltage" depends on AXP221_POWER - default 1800 if MACH_SUN6I + default 0 if MACH_SUN6I default 2500 if MACH_SUN8I ---help--- Set the voltage (mV) to program the axp221 aldo2 at, set to 0 to - disable aldo2. On sun6i (A31) boards this is typically connected to - VCC-PM, which powers the port M gpios, and should be set to 1.8V. - On sun8i (A23) this is typically connected to VDD-DLL and must be - set to 2.5V. + disable aldo2. On sun6i (A31) boards this is typically used for LPDDR2 + SDRAM, and should be set to 1.8V if present. On sun8i (A23) this is + typically connected to VDD-DLL and must be set to 2.5V.
config AXP221_ALDO3_VOLT int "axp221 aldo3 voltage"