Skip to content

dm: Introduce driver model for sunxi

Hans de Goede u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/20 of 6 patches 0 repliesNew
  2. v3 posting 1/20 of 6 patches 0 repliesSuperseded
  3. v10 of 23 patches 0 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

Hi,

Quoted 29 lines · Hans de Goede

Hi,

Quoted 18 lines · Simon Glass

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

Quoted 7 lines

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

Quoted 3 lines

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

Quoted 9 lines

Regards,

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