четверг, 31 марта 2016 г., 9:18:10 UTC+3 пользователь Michael Haas написал: > > Hello all, > > I'd like to monitor the battery and charging status connected to my > axp209. > Is anyone working on that? Currently, there is only USB power supply > support via > drivers/power/axp20x_usb_power.c. > > Adding support for the charging/battery/ACIN bits should be rather > straightforward. > There is a rather nasty bash script which polls the axp20x via i2cget. > I'd rather have a proper solution. > > Is anyone working on that? If not, I'll get started. > > Or is there an existing driver implemented by Allwinner which can be > re-used? > > CC'ing Hans as he implemented axp20x_usb_power.c. > > Best > > Michael >
Have you seen [1] and [2]? [1] http://forum.armbian.com/index.php/topic/611-rfc-needs-testing-axp209-mainline-sysfs-interface/ [2] https://github.com/zador-blood-stained/axp209-sysfs-interface -- 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.