[PATCH v7 0/4] usb: dwc3: dual-role support
From: Roger Quadros
Date: Fri Jun 10 2016 - 09:17:50 EST
Hi,
This series adds dual role support to dwc3 controller driver.
Series depends on the OTG/dual-role framework [1].
[1] - http://thread.gmane.org/gmane.linux.usb.general/143568
Patches are based on Felipe's balbi/usb.git testing/next
Changelog:
v7:
- rebased to v4.7-rc1 + balbi/usb.git testing/next
- cleaned up otg irq resource code
v6:
- use just otg irq to get otg events and don't depend on extcon at all.
- follow OTG flow in TRM strictly.
- use tracepoints instead of dev_dbg().
- match IRQ flags in dwc3_omap and core.c for shared otg interrupt.
v5: Internal revision. Not sent to mailing list.
v4: first version that was reviewed.
cheers,
-roger
Roger Quadros (4):
usb: dwc3: core.h: add some register definitions
usb: dwc3: add dual-role support
ARM: dts: dra7*-evm: Enable dual-role for usb1
ARM: dts: am43xx: Enable dual-role on USB1
arch/arm/boot/dts/am437x-gp-evm.dts | 5 +-
arch/arm/boot/dts/am437x-sk-evm.dts | 5 +-
arch/arm/boot/dts/am43x-epos-evm.dts | 5 +-
arch/arm/boot/dts/dra7-evm.dts | 5 +-
arch/arm/boot/dts/dra72-evm-common.dtsi | 5 +-
drivers/usb/dwc3/core.c | 546 +++++++++++++++++++++++++++++++-
drivers/usb/dwc3/core.h | 114 ++++++-
drivers/usb/dwc3/gadget.c | 6 +-
drivers/usb/dwc3/host.c | 2 +
9 files changed, 677 insertions(+), 16 deletions(-)
--
2.7.4