[U-Boot] [PATCH v3 0/6] dm: Introduce driver model for sunxi

Hans de Goede hdegoede at redhat.com
Fri Oct 31 17:23:19 CET 2014


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.

Regards,

Hans



> 
> Regards,
> 
> Hans
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 


More information about the U-Boot mailing list