Skip to content

Add Embedded USB Debugger (EUD) driver

Souradeep Chowdhury linux-arm-msm linux-devicetree linux-usb lkml llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v0 Latest7 patches 16 repliesIn review

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dt-bindings: connector: Add property for eud type c connectorDocumentation/devicetree/bindings/connector/usb-connector.yaml+15 -06 replies
2/7dt-bindings: usb: dwc3: Update dwc3 properties for EUD connectorDocumentation/devicetree/bindings/usb/snps,dwc3.yaml+15 -02 replies
3/7usb: dwc3: drd: Register the eud connector child node for dwc3drivers/usb/dwc3/drd.c+25 -00 replies
4/7usb: common: eud: Added the driver support for Embedded USB Debugger(EUD)Documentation/ABI/testing/sysfs-driver-eud drivers/usb/common/Kconfig drivers/usb/common/Makefile +1 more+273 -08 replies
5/7arm64: dts: qcom: sc7280: Add EUD connector nodearch/arm64/boot/dts/qcom/sc7280.dtsi+12 -00 replies
6/7arm64: dts: qcom: sc7280: Set the default dr_mode for usb2arch/arm64/boot/dts/qcom/sc7280-idp.dts+4 -00 replies
7/7MAINTAINERS: Add maintainer entry for EUDMAINTAINERS+7 -00 replies

Reviews trailers per patch

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

Read the v0 thread

Cover letter [PATCH V0 0/7] Add Embedded USB Debugger (EUD) driver

This is a series of patches that implements a driver for the control peripheral, EUD (Embedded USB Debugger). The EUD is a mini-USB hub implemented on chip to support the USB-based debug and trace capabilities. Apart from debug capabilities, EUD has a control peripheral. Control Peripheral is on when EUD is on and gets signals like USB attach, pet EUD etc.EUD driver listens to events like USB attach or detach and then informs the USB about these events via ROLE-SWITCH. At regular intervals, the EUD driver receives an interrupt to pet the driver indicating that the software is functional.

Souradeep Chowdhury (7):
dt-bindings: connector: Add property for eud type c connector
dt-bindings: usb: dwc3: Update dwc3 properties for EUD connector
usb: dwc3: drd: Register the eud connector child node for dwc3
usb: common: eud:Added the driver support for Embedded USB
Debugger(EUD)
arm64: dts: qcom: sc7280: Add EUD connector node
arm64: dts: qcom: sc7280: Set the default dr_mode for usb2
MAINTAINERS: Add maintainer entry for EUD

 Documentation/ABI/testing/sysfs-driver-eud         |   7 +
 .../bindings/connector/usb-connector.yaml          |  15 ++
 .../devicetree/bindings/usb/snps,dwc3.yaml         |  15 ++
 MAINTAINERS                                        |   7 +
 arch/arm64/boot/dts/qcom/sc7280-idp.dts            |   4 +
 arch/arm64/boot/dts/qcom/sc7280.dtsi               |  12 +
 drivers/usb/common/Kconfig                         |   9 +
 drivers/usb/common/Makefile                        |   1 +
 drivers/usb/common/qcom_eud.c                      | 256 +++++++++++++++++++++
 drivers/usb/dwc3/drd.c                             |  25 ++
 10 files changed, 351 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-eud
 create mode 100644 drivers/usb/common/qcom_eud.c

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation