On Mon, Mar 10, 2014 at 6:25 PM, Hans de Goede <[email protected]> wrote: > Hi, > > On 03/10/2014 11:04 AM, Kaspter Ju wrote: >> Hi Hans, >> >> On 03/09/2014 03:41 PM, Hans de Goede wrote: >>> Hi Maxime, >>> >>> Yesterday I've been playing a bit with my Mele A1000G Quad, with the >>> purpose of >>> trying to get usb and mmc working there. I already have wens' gmac patches >>> for the >>> A31 in my tree, so for starters I tried to get that to work. >>> >>> Unfortunately the fex shows that the phy is powered by dldo1 from the pmic, >>> and by >>> default that is configured to off. So I got stuck there wrt getting the >>> gmac to work >>> on the A1000G Quad / M9. >>> >>> Do you know if anyone is working on pmic support for the A31, or for the >>> new push-pull >>> serial bus this uses? >>> >>> Is this bus similar enough to i2c that we can use the i2c subsys for this, >>> maybe with >>> an extra controller flag, or do we need to likely write a whole new subsys >>> for this ? >>> >>> Also do you know of a datasheet for the AXP221 somewhere ? >> >> There is a Chinese version datasheet in github >> >> https://github.com/OLIMEX/OLINUXINO/tree/master/HARDWARE/A31-PDFs > > Ah, that is good to know.
I created an AXP221 page on the wiki: http://linux-sunxi.org/AXP221 I put in most of the tables from the datasheet. A lot of it was copy-pasted from the AXP209 page, then updated and cleaned up. The register ranges remain mostly the same, however some bit offsets were moved around, and some value ranges were changed. The regulators, interrupts, and most of the registers should be complete. I know the battery level stuff is still missing. And all the wording and figures are still missing as well. Hopefully I'll finish the translation this week. If anyone wants to help: 1. upload the datasheet to the linux-sunxi site, and update the link at the bottom. 2. copy the figures: application, pin layout, and functional diagram they are on pages 7, 8, and 12. Cheers ChenYu -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
