[PATCH 0/5] dwc2: improve gadget support

Michael Grzeschik m.grzeschik at pengutronix.de
Wed Dec 16 15:45:29 EST 2020


This series adds support for clk and reset controller defined by dts. It also
enables the hardware force mode for the gadget in case the
otg.mode="peripheral" is set.

Michael Grzeschik (5):
  usb: dwc2: cleanup on error for deferred probing
  usb: dwc2: add clk dependency for probe via oftree
  usb: dwc2: add reset controller dependency for probe via oftree
  usb: dwc2: update the dr_mode on set_mode callback
  usb: dwc2: add support to force gadget mode

 drivers/usb/dwc2/core.h   |   1 +
 drivers/usb/dwc2/dwc2.c   |  33 ++++++++-
 drivers/usb/dwc2/gadget.c | 144 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 175 insertions(+), 3 deletions(-)

-- 
2.29.2




More information about the barebox mailing list