This fixes us never programming ALDO2, and programming the ALDO2 voltage
into ALDo1.

Reported-by: Siarhei Siamashka <siarhei.siamas...@gmail.com>
Signed-off-by: Hans de Goede <hdego...@redhat.com>
---
 include/axp221.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/axp221.h b/include/axp221.h
index a6e52e3..e9552f6 100644
--- a/include/axp221.h
+++ b/include/axp221.h
@@ -43,7 +43,7 @@
 #define AXP221_DCDC4_CTRL      0x24
 #define AXP221_DCDC5_CTRL      0x25
 #define AXP221_ALDO1_CTRL      0x28
-#define AXP221_ALDO2_CTRL      0x28
+#define AXP221_ALDO2_CTRL      0x29
 #define AXP221_ALDO3_CTRL      0x2a
 #define AXP221_PAGE            0xff
 
-- 
2.1.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to