From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Thu, 17 Jul 2014 12:37:06 +0200 Subject: [U-Boot] [PATCH v2 3/5] sunxi: Add axp209 pmic support In-Reply-To: <1405547292.16944.22.camel@dagon.hellion.org.uk> References: <1402692952-24296-1-git-send-email-hdegoede@redhat.com> <1402692952-24296-4-git-send-email-hdegoede@redhat.com> <1405547292.16944.22.camel@dagon.hellion.org.uk> Message-ID: <53C7A752.8000201@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 07/16/2014 11:48 PM, Ian Campbell wrote: > On Fri, 2014-06-13 at 22:55 +0200, Hans de Goede wrote: >> From: Henrik Nordstrom >> >> Add support for the x-powers axp209 pmic which is found on most A10, A13 and >> A20 boards. >> >> And enable AXP209 support for the Cubietruck and Cubieboard boards. > > Something about this breaks booting on my Cubietruck in FEL mode. I get: > > U-Boot SPL 2014.07-rc4-00122-g624959a (Jul 16 2014 - 22:34:59) > Error, wrong i2c adapter 0 max 0 possible > Error, wrong i2c adapter 0 max 0 possible > > And then nothing. If you look at the patch adding support for the i2c controller I needed to make some changes to the link script, I probably forgot to make the same changes to the fel link script... > Non-FEL mode is unaffected. > > I've pushed my wip branch to: > > git://gitorious.org/ijc/u-boot.git wip/sunxi-20140716 > > I was hoping to merge something like this set of patches upstream > shortly. > >> While changing the boards.cfg lines for the Cubietruck, add Ian and me as board >> maintainers for the Cubietruck. > > You actually factored that bit out in v2... True, feel free to amend the commit msg, or let me know if you want a v3. And thanks for looking into merging this into sunxi -next. I was planning to drop you a mail about coordinating getting this added vs getting your ahci patches added. I assume you ahci patches are good to go too, or ... ? Next I want to start adding support for more boards. For starters I would like to add all boards which also have a dts file in the upstream kernel. Ideally I would start working on that once you're done with adding this series + your ahci patches so that we don't get in each others way. Can you send me a mail when you're done (for a while at least) then I'll try to get a set of patches for this to the list based on top of your latest work. Except for sun4i-a10-hackberry.dts and sun4i-a10-inet97fv2.dts I've hardware to test on for all sun4i, sun5i and sun7i models which have a dts file, not sure what to do with the 2 I cannot test. Regards, Hans