[linux-sunxi] Re: [PATCH WIP] AXP20x drivers for RTC-battery, AC and Li-Ion battery

2015-08-08 Thread Hans de Goede
Hi, On 04-08-15 22:11, Bruno Prémont wrote: This is all my changes to port my original driver on top of Hans' work. Before anything of this can be merged a few steps are still needed: - split big patch in a series - rtc/ac supplies: document DT bindings - battery driver: implement missing

[linux-sunxi] Re: [PATCH WIP] AXP20x drivers for RTC-battery, AC and Li-Ion battery

2015-08-08 Thread Bruno Prémont
Hi Hans, The best way to figure out is to dump AXP registers via i2c, though no idea how easy it's to get such a dumping tool running on android (static binary with root should work fine). Rebooting from android and dumping AXP under uboot should work too. I wrote some code to decode such i2c