projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d622ac3
)
sunxi: axp221: Fix using the wrong register address for ALDO2
author
Hans de Goede
<hdegoede@redhat.com>
Mon, 5 Jan 2015 15:41:49 +0000
(16:41 +0100)
committer
Hans de Goede
<hdegoede@redhat.com>
Tue, 6 Jan 2015 10:25:47 +0000
(11:25 +0100)
This fixes us never programming ALDO2, and programming the ALDO2 voltage
into ALDo1.
Reported-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/axp221.h
patch
|
blob
|
history
diff --git
a/include/axp221.h
b/include/axp221.h
index e3b4409a95fe7e234a7b86d954d32343bf9b8d0c..26d25ff52e81f45f39c3b3dec0f87a03d4e91ab4 100644
(file)
--- a/
include/axp221.h
+++ b/
include/axp221.h
@@
-32,7
+32,7
@@
#define AXP221_DCDC4_CTRL 0x24
#define AXP221_DCDC5_CTRL 0x25
#define AXP221_ALDO1_CTRL 0x28
-#define AXP221_ALDO2_CTRL 0x2
8
+#define AXP221_ALDO2_CTRL 0x2
9
#define AXP221_ALDO3_CTRL 0x2a
int axp221_set_dcdc1(unsigned int mvolt);