[PATCH 00/15] Realtek DHC SoCs USB DWC3 DRD and type c drivers

Stanley Chang stanley_chang at realtek.com
Wed Oct 7 04:50:20 EDT 2020


Hi Andreas,

This series is continuous of the series of Realtek DHC SoCs USB module driver.
The following details:
(1) A driver dwc3-rtk-drd is used to dynamic switch host/device mode of
    dwc3 drd module.
(2) The type c driver realizes the cc pin status detection. The driver can
    switch the USB host/device mode according to the type c state.

These drivers support the DHC SoC series included 129x, 139x, 16xx, 13xx.


Note: Realtek DHC SoCs USB module driver
http://lists.infradead.org/pipermail/linux-realtek-soc/2020-September/000095.html

Thanks,
Stanley

Stanley Chang (15):
  usb: dwc3: core: remove the static property of function
    dwc3_core_soft_reset
  usb: dwc3: host: clear xhci point when host be removed.
  usb: dwc3: gadget: clear gadget.udc point when gadget be removed
  usb: dwc3: dwc3-rtk: support the dual role dynamic switch
  doc: dt: bindings: usb: dwc3-rtk: Add the property drd_mode
  arm64: dts: realtek: rtd13xx-usb: add the property of drd mode
  arm64: dts: realtek: rtd16xx-usb: add the property of drd mode
  arm64: dts: realtek: rtd139x-usb: add the property of drd mode
  arm64: dts: realtek: rtd129x-usb: add the property of drd mode
  usb: dwc3: dwc3-rtk-type_c: Add a rtk type c driver.
  doc: dt: bindings: usb: dwc3-rtk-type_c: Add the dwc3-rtk-type_c
    driver doc.
  arm64: dts: realtek: rtd129x-usb: Add rtd129x type c module nodes
  arm64: dts: realtek: rtd139x-usb: Add rtd139x type c module nodes
  arm64: dts: realtek: rtd16xx-usb: Add rtd16xx type c module nodes
  arm64: dts: realtek: rtd13xx-usb: Add rtd13xx type c module nodes

 .../bindings/usb/dwc3-rtk-type_c.yaml         |   90 +
 .../devicetree/bindings/usb/dwc3-rtk.yaml     |    4 +
 arch/arm64/boot/dts/realtek/rtd129x-usb.dtsi  |   68 +
 arch/arm64/boot/dts/realtek/rtd139x-usb.dtsi  |   41 +
 arch/arm64/boot/dts/realtek/rtd13xx-usb.dtsi  |   42 +
 arch/arm64/boot/dts/realtek/rtd16xx-usb.dtsi  |   40 +
 drivers/usb/dwc3/Kconfig                      |   15 +
 drivers/usb/dwc3/Makefile                     |    2 +
 drivers/usb/dwc3/core.c                       |    2 +-
 drivers/usb/dwc3/core.h                       |    1 +
 drivers/usb/dwc3/dwc3-rtk-drd.c               |  207 ++
 drivers/usb/dwc3/dwc3-rtk-drd.h               |   26 +
 drivers/usb/dwc3/dwc3-rtk-type_c.c            | 2243 +++++++++++++++++
 drivers/usb/dwc3/dwc3-rtk.c                   |  168 ++
 drivers/usb/dwc3/dwc3-rtk.h                   |    1 +
 drivers/usb/dwc3/gadget.c                     |    2 +
 drivers/usb/dwc3/host.c                       |    1 +
 17 files changed, 2952 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/usb/dwc3-rtk-type_c.yaml
 create mode 100644 drivers/usb/dwc3/dwc3-rtk-drd.c
 create mode 100644 drivers/usb/dwc3/dwc3-rtk-drd.h
 create mode 100644 drivers/usb/dwc3/dwc3-rtk-type_c.c

-- 
2.28.0




More information about the linux-realtek-soc mailing list