public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sunxi: axp221: correct ALDO2 description for sun6i
@ 2015-01-03  2:17 Chen-Yu Tsai
  2015-01-11  9:38 ` Ian Campbell
  0 siblings, 1 reply; 5+ messages in thread
From: Chen-Yu Tsai @ 2015-01-03  2:17 UTC (permalink / raw)
  To: u-boot

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"
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-13 12:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-03  2:17 [U-Boot] [PATCH] sunxi: axp221: correct ALDO2 description for sun6i Chen-Yu Tsai
2015-01-11  9:38 ` Ian Campbell
2015-01-11  9:41   ` Chen-Yu Tsai
2015-01-11  9:51     ` Ian Campbell
2015-01-13 12:00     ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox