[lkml]   [2019]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[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:

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!


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

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(-)


 \ /
  Last update: 2019-10-03 01:17    [W:0.150 / U:65.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site