Skip to content

ARM: Allwinner sun7i (A20) USB Host EHCI support

Roman Byshko u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sunxi: add defines to control USB Host clocks/resetsarch/arm/include/asm/arch-sunxi/clock_sun4i.h+4 -00 replies
2/5sunxi: add USB EHCI driverdrivers/usb/host/Makefile drivers/usb/host/ehci-sunxi.c+237 -01 reply
3/5sunxi: add USB options to configsinclude/configs/sunxi-common.h+6 -00 replies
4/5sun7i: add USB EHCI configurationinclude/configs/sun7i.h+8 -00 replies
5/5sun7i: cubietruck: enable USB EHCIboards.cfg+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/5] ARM: Allwinner sun7i (A20) USB Host EHCI support

This patch series adds USB Host EHCI support to the sun7i SoC. It was tested on Cubietruck. Now you could boot from a USB stick or use a compatible Ethernet dongle to add a second Ethernet port in U-Boot.

ehci-sunxi.c contains some code for poking GPIOs. This code will go away once some other patches for sunXi SoCs are applied against upstream. For now this patch series is self-contained and has no dependencies.

Best,
Roman Byshko

Roman Byshko (5):
sunxi: add defines to control USB Host clocks/resets
sunxi: add USB EHCI driver
sunxi: add USB options to configs
sun7i: add USB EHCI configuration
sun7i: cubietruck: enable USB EHCI

 arch/arm/include/asm/arch-sunxi/clock_sun4i.h |   4 +
 boards.cfg                                    |   2 +-
 drivers/usb/host/Makefile                     |   1 +
 drivers/usb/host/ehci-sunxi.c                 | 236 ++++++++++++++++++++++++++
 include/configs/sun7i.h                       |   8 +
 include/configs/sunxi-common.h                |   6 +
 6 files changed, 256 insertions(+), 1 deletion(-)
 create mode 100644 drivers/usb/host/ehci-sunxi.c
Signature · 1 line
2.0.0