Skip to content

USB: XHCI: Add xHCI host controller stack driver

Dan Murphy u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 7 patches 0 repliesNew

Patches in v1 No applies recorded yet

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

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/7] USB: XHCI: Add xHCI host controller stack driver

Vivek

Quoted 36 lines · Vivek Gautam

This change adds necessary xHCI host controller stack layer. This stack will eventually interact with SoC specific USB 3.0 controller drivers to enable USB 3.0 support on different boards.

Based on 'master' branch of u-boot-usb tree.

The series also includes patches to support xHCI on exynos5250, including required driver, device tree changes and a temporary config change to test things finally on smdk5250.

Vivek Gautam (7):
arm: exynos5250: Define CONFIG_SYS_CACHELINE_SIZE
USB: xHCI: Add stack support for xHCI
USB: XHCI: Add xHCI host controller support for Exynos5
arm: exynos: Add methods to control power to USB 3.0 PHY
exynos5: dts: Add COMPAT string data for USB 3.0 PHY and XHCI
exynos5: dts: Add device node for XHCI
temp: ARM: EXYNOS5: Enable xHCI support for Exynos5

 arch/arm/cpu/armv7/exynos/power.c              |   22 +
 arch/arm/dts/exynos5250.dtsi                   |   12 +
 arch/arm/include/asm/arch-exynos/cpu.h         |    8 +
 arch/arm/include/asm/arch-exynos/power.h       |    5 +
 arch/arm/include/asm/arch-exynos/xhci-exynos.h |   90 ++
 common/usb.c                                   |   27 +-
 drivers/usb/host/Makefile                      |    4 +
 drivers/usb/host/xhci-exynos5.c                |  324 ++++++
 drivers/usb/host/xhci-mem.c                    |  731 ++++++++++++++
 drivers/usb/host/xhci-ring.c                   |  899 +++++++++++++++++
 drivers/usb/host/xhci.c                        | 1040 +++++++++++++++++++
 drivers/usb/host/xhci.h                        | 1281 ++++++++++++++++++++++++
 include/configs/exynos5250-dt.h                |    7 +
 include/fdtdec.h                               |    2 +
 include/linux/usb/dwc3.h                       |  190 ++++
 include/usb.h                                  |    9 +-
 lib/fdtdec.c                                   |    2 +
Quoted 9 lines
 17 files changed, 4650 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-exynos/xhci-exynos.h
 create mode 100644 drivers/usb/host/xhci-exynos5.c
 create mode 100644 drivers/usb/host/xhci-mem.c
 create mode 100644 drivers/usb/host/xhci-ring.c
 create mode 100644 drivers/usb/host/xhci.c
 create mode 100644 drivers/usb/host/xhci.h
 create mode 100644 include/linux/usb/dwc3.h

I have done similar work for the DWC and xHCI back port. We seem to have two different implementations.

See my V3 patch series. If you want the initial patch sets or v2 let me know.
http://patchwork.ozlabs.org/patch/256451/
http://patchwork.ozlabs.org/patch/256449/
3/7 is waiting approval
http://patchwork.ozlabs.org/patch/256452/
http://patchwork.ozlabs.org/patch/256450/
6/7 is waiting approval
http://patchwork.ozlabs.org/patch/256453/

Marek

Please let us know which xHCI/DWC implementation you would like to have in main line.

Dan

Signature · 2 lines
------------------
Dan Murphy