
Hi Hans,
On 31 October 2014 10:23, Hans de Goede hdegoede@redhat.com wrote:
Hi,
On 10/31/2014 03:03 PM, Hans de Goede wrote:
Hi,
On 10/31/2014 03:25 AM, Simon Glass wrote:
This series adds driver model support for serial and GPIO for sunxi.
Since
I only have a sun7i board to test with, I have added a new config for
the
pcDuino3, which uses device tree and driver model. This should make it fairly easy to enable for the other boards at some point.
This series is available at u-boot-dm/sunix-working.
Changes in v3:
- Move enabling of 'dm' command to sunxi-common.h
- Put enabling of DM GPIO into sunxi-common.h
- Rebase to master
- Move DM enable options to sunxi-common
Changes in v2:
- Remove references to exynos and tegra
- Use the word 'bank' instead of 'port'
- Split non-sunxi patches into a separate dependent series
Simon Glass (6): dm: sunxi: dts: Add sun7i device tree files dm: sunxi: Add a new config for an FDT-based pcDuino3 dm: sunxi: Add pinmux functions which take a bank parameter dm: sunxi: Make sure that GPIOs are requested dm: sunxi: Modify the GPIO driver to support driver model dm: sunxi: Add support for serial using driver model
Thanks, merged and pushed to u-boot-sunxi/next, I'm going to run some
tests
now, and when those are done I'll also push this to u-boot-sunxi/master
and
send a pull-req.
Hmm, so the testing did not go as smoothly as I hoped, there were some build issues with the FDT-based pcDuino3 target due to some Kconfig changes (variable renames) by Ian in u-boot-sunxi/next, those where easily fixed, and I've squashed those into the original fixes.
But then I hit problems booting from mmc or usb due to missing gpio_request calls.
I've created 2 fixes for these, and now everything works fine :) I've done a forced push to u-boot-sunxi/next with the fixed patch-set, but I cannot yet send a pull-req as my 2 extra patches need an Acked-by. I'll send them out right after this mail, and as soon as they have an Ack, I'll send the pull-req.
Thanks for your efforts here and for dealing with it so quickly. It's no fire drill, my comment about timing was just to avoid having an intrusive patch hanging over people.
Regards, Simon