]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: axp209: fix incorrect limits on ldo3
authorIain Paton <ipaton0@gmail.com>
Wed, 25 Mar 2015 16:03:26 +0000 (16:03 +0000)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:18 +0000 (14:34 +0200)
commitdd346faf43e282725781c316dedf600e503d3b52
treefe9432e7f888e545e099823de00e3f7c908e56f7
parenta3eff9a4021eadb738df79d0f96697c05d75f31e
sunxi: axp209: fix incorrect limits on ldo3

board/sunxi/board.c tries to set ldo3 to 2.8v however drivers/power/axp209.c
contains an incorrect limit on ldo3 of 2.275v

The origin of the incorrect limit seems likely due to some inconsistencies
in the axp209 datasheet. ldo3 is described with different limits in
different sections. register 0x29 uses 7 bits for voltage configuration
while the 2.275v limit would apply if only 6 bits were used.
Probably this is a cut&paste error from register 0x23

The linux kernel driver has the correct limit and operation up to the 2.8v
required by my board has been physically verified with a multimeter.

Signed-off-by: Iain Paton <ipaton0@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/power/axp209.c