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

From: Souradeep Chowdhury
Date: Mon Oct 04 2021 - 07:16:52 EST


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