[U-Boot] [PATCH v2 0/7] USB: XHCI: Add xHCI host controller stack driver
Vivek Gautam
gautam.vivek at samsung.com
Wed Aug 21 12:12:41 CEST 2013
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.
Changes in V2:
- xHCI stack side, have added provision for handling transfer
timeouts, from the patch by Julius Werner, availbale at:
https://gerrit.chromium.org/gerrit/#/c/62307/
But maintained a single patch for xHCI for now, since this
being the base code version.
Rest other patches are similar to v1 of this series, only change
is the order in which patches are now arranged.
With current usb infrastructure, EHCI and XHCI won't work together,
since they both are using same function naming scheme to interact
with upper usb layers.
Marek,
Was there any thread for device driver architecture sometime back,
with which we could have had EHCI and XHCI working simultaneously.
Dan,
I have posted the exynos specific patches also alongwith the
xHCI stack, just in case someone want to test on exynos5250.
I am still available, if you want me to change structurally how
dwc3 and exynos stuff is covered in this series.
Vivek Gautam (7):
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
config: arm: exynos5250: Define CONFIG_SYS_CACHELINE_SIZE
temp: config: exynos5250: 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 | 950 ++++++++++++++++++
drivers/usb/host/xhci.c | 1040 +++++++++++++++++++
drivers/usb/host/xhci.h | 1280 ++++++++++++++++++++++++
include/configs/exynos5250-dt.h | 7 +
include/fdtdec.h | 2 +
include/linux/usb/dwc3.h | 190 ++++
include/usb.h | 9 +-
lib/fdtdec.c | 2 +
17 files changed, 4700 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
--
1.7.6.5
More information about the U-Boot
mailing list