]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: axp221: Add ELDO[1-3] support
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Mon, 19 Jan 2015 03:23:30 +0000 (05:23 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 22 Jan 2015 11:34:56 +0000 (12:34 +0100)
commit6906df1ab8d64a4e21d38ea538d6cd383a089e1d
tree8cf859d55e725597427930a5626a6f70764d946e
parent6c46c8e890a6625455efcbfc5ad13917c1f4b61e
sunxi: axp221: Add ELDO[1-3] support

And also add Kconfig option for selecting ELDO3 voltage. The reason
for having this option is that the Android kernel sets ELDO3 to
1.2V when powering up LCD in the case if 'lcd_if' configuration
variable is set to 6 (LCD_IF_EXT_DSI) in the FEX file. Most likely
to supply power for a SSD2828 chip.

However on the MSI Primo81 tablet, which is using this particular
'lcd_if = 6' setup for LCD, setting the ELDO3 voltage appears to
be unnecessary and it works regardless. Having no schematics of
this tablet, I can only guess that 1.2V is supplied to SSD2828
in some other way.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
board/sunxi/board.c
drivers/power/Kconfig
drivers/power/axp221.c
include/axp221.h