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 dumps, need to look it up (might event be in a mail to linux-sunxi list). FEX file should also include at least some of the values. Battery capacity should be show in android's battery power supply. Regards, Bruno On Sat, 8 Aug 2015 16:32:21 Hans de Goede <hdego...@redhat.com> wrote: > 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 parts, cleanup, handle delayed_work > > suspend/resume, document DT bindings, setup charge-LED if > > flagged present in DT > > > > Comments and suggestions welcome. > > Cool stuff. I would like to test this on a couple of axp209 > using tablets I have, how can I figure out the various > battery devicetree fields from within android ? > > Regards, > > Hans -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.