Add Embedded USB Debugger (EUD) driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 3 repliesIn review
Changes in v1 from the cover letter
* EUD has now been mapped as a separate DT node as it is an independent QCOM IP.
* EUD is attached to the connector child of dwc3 via port end point since EUD driver needs the connector for role-switching,
* EUD driver has been moved now to drivers/soc/qcom/qcom_eud.c.
* All the comments from version 0 of the patch has been implemented.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | dt-bindings: Add the yaml bindings for EUDDocumentation/ | +52 | 3 replies | |
| 2/8 | dt-bindings: connector: Add property for EUD type-C connectorDocumentation/ | +4 | 0 replies | |
| 3/8 | bindings: usb: dwc3: Update dwc3 properties for EUD connectorDocumentation/ | +6 | 0 replies | |
| 4/8 | usb: dwc3: drd: Register the eud connector child node for dwc3drivers/ | +26 | 0 replies | |
| 5/8 | soc: qcom: eud: Add driver support for Embedded USB Debugger(EUD)Documentation/ drivers/ drivers/ +1 more | +288 | 0 replies | |
| 6/8 | arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connectorarch/ | +25 | 0 replies | |
| 7/8 | arm64: dts: qcom: sc7280: Set the default dr_mode for usb2arch/ | +4 | 0 replies | |
| 8/8 | MAINTAINERS: Add maintainer entry for EUDMAINTAINERS | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH V1 0/8] 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.
Changes in V1
* EUD has now been mapped as a separate DT node as it is an independent QCOM IP.
* EUD is attached to the connector child of dwc3 via port end point since EUD driver needs the connector for role-switching,
* EUD driver has been moved now to drivers/soc/qcom/qcom_eud.c.
* All the comments from version 0 of the patch has been implemented.
Souradeep Chowdhury (8):
dt-bindings: Add the yaml bindings for EUD
dt-bindings: connector: Add property for EUD type-C connector
bindings: usb: dwc3: Update dwc3 properties for EUD connector
usb: dwc3: drd: Register the eud connector child node for dwc3
soc: qcom: eud: Add driver support for Embedded USB Debugger(EUD)
arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector
arm64: dts: qcom: sc7280: Set the default dr_mode for usb2
MAINTAINERS: Add maintainer entry for EUD
Documentation/ABI/testing/sysfs-driver-eud | 9 + .../bindings/connector/usb-connector.yaml | 4 + .../devicetree/bindings/soc/qcom/qcom,eud.yaml | 52 ++++ .../devicetree/bindings/usb/snps,dwc3.yaml | 6 + MAINTAINERS | 8 + arch/arm64/boot/dts/qcom/sc7280-idp.dts | 4 + arch/arm64/boot/dts/qcom/sc7280.dtsi | 25 ++ drivers/soc/qcom/Kconfig | 10 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/qcom_eud.c | 268 +++++++++++++++++++++ drivers/usb/dwc3/drd.c | 26 ++ 11 files changed, 413 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-eud create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml create mode 100644 drivers/soc/qcom/qcom_eud.c
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation