[PATCH 0/9] Improve Qualcomm EUD driver and platform support
From: Elson Serrao <hidden>
Date: 2026-01-16 23:21:09
Also in:
linux-arm-msm, linux-usb, lkml
The Embedded USB Debugger (EUD) is a High-Speed USB on-chip hub that provides debug and trace capabilities on Qualcomm platforms. The current EUD driver, however, lacks essential hardware resources such as PHY references and support for multi-port configurations. This series addresses those gaps and introduces the necessary device tree updates to enable testing and validation of the enhanced functionality. This work builds upon an earlier EUD driver submission: https://lore.kernel.org/all/20240730222439.3469-1-quic_eserrao@quicinc.com/ (local) and extends it with support for multi-port use cases and proper handling of EUD operation across different USB roles. The series has been validated on the Qualcomm Dragonwing Q6 platform (RB3 Gen2 board), confirming successful OpenOCD connectivity to the EUD interface. For detailed usage instructions, refer to Qualcomm’s Linux kernel debugging guide: https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-12/debugging_linux_kernel.html#debug-using-openocd Elson Serrao (9): dt-bindings: soc: qcom: eud: Restructure to model multi-path hardware usb: misc: qcom_eud: add sysfs attribute for port selection usb: misc: qcom_eud: add per-path High-Speed PHY control usb: misc: qcom_eud: add per-path role switch support usb: misc: qcom_eud: improve enable_store API usb: misc: qcom_eud: add host mode coordination usb: misc: qcom_eud: fix virtual attach/detach event handling arm64: dts: qcom: kodiak: Align EUD node with binding arm64: dts: qcom: qcs6490-rb3gen2: Enable EUD debug functionality Documentation/ABI/testing/sysfs-driver-eud | 16 + .../bindings/soc/qcom/qcom,eud.yaml | 97 +++-- arch/arm64/boot/dts/qcom/kodiak.dtsi | 33 +- arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 20 +- drivers/usb/misc/qcom_eud.c | 365 +++++++++++++++++- 5 files changed, 474 insertions(+), 57 deletions(-) -- 2.34.1