[PATCH 0/8] Enable EUD on Qualcomm sm8450 SoC

Elson Roy Serrao
2024-07-30T22:24:50Z

The Embedded USB Debugger (EUD) is a mini High-Speed USB on-chip hub to
support the USB-based debug and trace capabilities on Qualcomm devices.
The current implementation lacks in below aspects that are needed for
proper EUD functionality.

1.) HS-Phy control: EUD being a HS hub needs HS-Phy support for it's
operation. Hence EUD module should enable/disable HS-phy
accordingly.

2.) Proper routing of USB role switch notifications: EUD hub is physically
present in between the USB connector and the USB controller. So the
usb role switch notifications originating from the connector should
route through EUD. EUD also relies on role switch notifications to
communicate with the USB, regarding EUD attach/detach events.

This series aims at implementing the above aspects to enable EUD on
Qualcomm sm8450 SoC.

Elson Roy Serrao (8):
dt-bindings: soc: qcom: eud: Add phy related bindings
dt-bindings: soc: qcom: eud: Add usb role switch property
dt-bindings: soc: qcom: eud: Add compatible for sm8450
arm64: dts: qcom: sm8450: Add EUD node
arm64: dts: qcom: Enable EUD on sm8450 hdk
usb: misc: eud: Add High-Speed Phy control for EUD operations
usb: misc: eud: Handle usb role switch notifications
usb: misc: eud: Add compatible for sm8450

.../bindings/soc/qcom/qcom,eud.yaml | 17 +++
arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 15 ++-
arch/arm64/boot/dts/qcom/sm8450.dtsi | 29 ++++
drivers/usb/misc/qcom_eud.c | 125 +++++++++++++++---
4 files changed, 164 insertions(+), 22 deletions(-)

--
2.17.1