From 52755b12e30e45501ccea9260d47a2b6aba12a91 Mon Sep 17 00:00:00 2001
From: Chen-Yu Tsai <wens@csie.org>
Date: Sat, 3 Jan 2015 10:17:24 +0800
Subject: [PATCH] sunxi: axp221: correct ALDO2 description for sun6i

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>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/power/Kconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index ef0c09370e..e68e16b321 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -46,14 +46,14 @@ 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 unused and
+	should be disabled, if it is used for LPDDR2 it should be set to 1.8V.
+	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"
-- 
2.39.5