Skip to content

RFC dwc3 role-switch handling for HiKey960

John Stultz linux-devicetree linux-usb lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 31 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: usb: generic: Add role-switch-default-host bindingDocumentation/devicetree/bindings/usb/generic.txt+5 -00 replies
2/3usb: roles: Add usb role switch notifier.drivers/usb/roles/class.c include/linux/usb/role.h+50 -127 replies
3/3usb: dwc3: Registering a role switch in the DRD code.drivers/usb/dwc3/Kconfig drivers/usb/dwc3/core.h drivers/usb/dwc3/drd.c+84 -14 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 0/3] dwc3 role-switch handling for HiKey960

I'm just trying to pick up parts of a patch previously by Yu Chen to get HiKey960 dev-board's USB functionality working.

The current full patchset can be found here:
https://git.linaro.org/people/john.stultz/android-dev.git/log/?id=12289c95c89e0e3173f8da1ebd3a29e52fd50a44

I don't have any real knowledge of the hardware other then the code, and what I can intuit from testing, but I tried to document the previously undocumented bindings as best I could and fixed up a few minor checkpatch issues.

I'd greatly appreciate feedback or thoughts!

thanks
-john

Cc Greg Kroah-Hartman <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Heikki Krogerus <[email protected]>
Cc Suzuki K Poulose <[email protected]>
Cc Chunfeng Yun <[email protected]>
Cc Yu Chen <[email protected]>
Cc Felipe Balbi <[email protected]>
Cc Hans de Goede <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Jun Li <[email protected]>
Cc Valentin Schneider <[email protected]>

John Stultz (1):
dt-bindings: usb: generic: Add role-switch-default-host binding

Yu Chen (2):
usb: roles: Add usb role switch notifier.
usb: dwc3: Registering a role switch in the DRD code.

 .../devicetree/bindings/usb/generic.txt       |  5 ++
 drivers/usb/dwc3/Kconfig                      |  1 +
 drivers/usb/dwc3/core.h                       |  6 ++
 drivers/usb/dwc3/drd.c                        | 78 ++++++++++++++++++-
 drivers/usb/roles/class.c                     | 35 ++++++++-
 include/linux/usb/role.h                      | 16 ++++
 6 files changed, 139 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1