[U-Boot] [PATCH v2 0/6] dm: Introduce driver model for sunxi
Simon Glass
sjg at chromium.org
Thu Oct 23 06:02:36 CEST 2014
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. Note that it depends
on the patches which move GPIO request/free to the GPIO uclass.
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
Makefile | 3 +-
arch/arm/cpu/armv7/sunxi/pinmux.c | 32 +-
arch/arm/dts/Makefile | 1 +
arch/arm/dts/sun7i-a20-pcduino3.dts | 177 ++++++
arch/arm/dts/sun7i-a20.dtsi | 988 ++++++++++++++++++++++++++++++
arch/arm/dts/sunxi-common-regulators.dtsi | 89 +++
arch/arm/include/asm/arch-sunxi/gpio.h | 4 +-
board/sunxi/MAINTAINERS | 1 +
board/sunxi/ahci.c | 1 +
configs/Linksprite_pcDuino3_fdt_defconfig | 8 +
drivers/gpio/sunxi_gpio.c | 170 +++++
drivers/serial/Makefile | 1 +
drivers/serial/serial_dw.c | 39 ++
include/configs/sun7i.h | 8 +
include/configs/sunxi-common.h | 12 +-
include/dt-bindings/input/input.h | 525 ++++++++++++++++
16 files changed, 2041 insertions(+), 18 deletions(-)
create mode 100644 arch/arm/dts/sun7i-a20-pcduino3.dts
create mode 100644 arch/arm/dts/sun7i-a20.dtsi
create mode 100644 arch/arm/dts/sunxi-common-regulators.dtsi
create mode 100644 configs/Linksprite_pcDuino3_fdt_defconfig
create mode 100644 drivers/serial/serial_dw.c
create mode 100644 include/dt-bindings/input/input.h
--
2.1.0.rc2.206.gedb03e5
More information about the U-Boot
mailing list