* [PATCH] arm64: dts: qcom: lemans: Enable eud support
@ 2026-05-12 9:09 Akash Kumar
2026-05-13 14:31 ` Dmitry Baryshkov
0 siblings, 1 reply; 2+ messages in thread
From: Akash Kumar @ 2026-05-12 9:09 UTC (permalink / raw)
To: Greg Kroah-Hartman, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Dmitry Baryshkov, Krzysztof Kozlowski, Conor Dooley
Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree
Add the EUD controller node in lemans.dtsi and update the USB HS
endpoint routing on lemans-evk to pass through EUD instead of linking
the connector directly to usb_0_dwc3_hs.
Wire the OF graph endpoints between the connector, EUD and DWC3 HS
controller to enable the EUD path on lemans EVK.
This change is part of series "Improve Qualcomm EUD driver and
platform support" and has been validated on the Qualcomm Dragonwing platform
(RB8 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
Signed-off-by: Akash Kumar <akakum@qti.qualcomm.com>
---
arch/arm64/boot/dts/qcom/lemans-evk.dts | 12 ++++++++++--
arch/arm64/boot/dts/qcom/lemans.dtsi | 26 +++++++++++++++++++++++++
2 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts
index c665db6a4595..96d316867c0e 100644
--- a/arch/arm64/boot/dts/qcom/lemans-evk.dts
+++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts
@@ -55,7 +55,7 @@ port@0 {
reg = <0>;
usb0_con_hs_ep: endpoint {
- remote-endpoint = <&usb_0_dwc3_hs>;
+ remote-endpoint = <&eud_con>;
};
};
@@ -510,6 +510,14 @@ queue3 {
};
};
+&eud_ep {
+ remote-endpoint = <&usb_0_dwc3_hs>;
+};
+
+&eud_con {
+ remote-endpoint = <&usb0_con_hs_ep>;
+};
+
&gpi_dma0 {
status = "okay";
};
@@ -985,7 +993,7 @@ &usb_0 {
};
&usb_0_dwc3_hs {
- remote-endpoint = <&usb0_con_hs_ep>;
+ remote-endpoint = <&eud_ep>;
};
&usb_0_dwc3_ss {
diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
index fe6e76351823..a8ab11681476 100644
--- a/arch/arm64/boot/dts/qcom/lemans.dtsi
+++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
@@ -4003,6 +4003,32 @@ opp-384000000 {
};
};
+ eud: eud@88e1000 {
+ compatible = "qcom,sc7280-eud", "qcom,eud";
+ reg = <0 0x88e1000 0 0x2000>,
+ <0 0x88e3000 0 0x1000>;
+ interrupts-extended = <&pdc 11 IRQ_TYPE_LEVEL_HIGH>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ eud_ep: endpoint {
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ eud_con: endpoint {
+ };
+ };
+ };
+ };
+
usb_0_hsphy: phy@88e4000 {
compatible = "qcom,sa8775p-usb-hs-phy",
"qcom,usb-snps-hs-5nm-phy";
--
2.43.0
base-commit: https://lore.kernel.org/all/20260501170635.2641748-1-elson.serrao@oss.qualcomm.com/
change-id: Improve Qualcomm EUD driver and platform support
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: dts: qcom: lemans: Enable eud support
2026-05-12 9:09 [PATCH] arm64: dts: qcom: lemans: Enable eud support Akash Kumar
@ 2026-05-13 14:31 ` Dmitry Baryshkov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Baryshkov @ 2026-05-13 14:31 UTC (permalink / raw)
To: Akash Kumar
Cc: Greg Kroah-Hartman, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-usb, linux-kernel,
linux-arm-msm, devicetree
On Tue, May 12, 2026 at 02:39:26PM +0530, Akash Kumar wrote:
> Add the EUD controller node in lemans.dtsi and update the USB HS
> endpoint routing on lemans-evk to pass through EUD instead of linking
> the connector directly to usb_0_dwc3_hs.
>
> Wire the OF graph endpoints between the connector, EUD and DWC3 HS
> controller to enable the EUD path on lemans EVK.
>
> This change is part of series "Improve Qualcomm EUD driver and
> platform support" and has been validated on the Qualcomm Dragonwing platform
> (RB8 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
>
> Signed-off-by: Akash Kumar <akakum@qti.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/lemans-evk.dts | 12 ++++++++++--
> arch/arm64/boot/dts/qcom/lemans.dtsi | 26 +++++++++++++++++++++++++
> 2 files changed, 36 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts
> index c665db6a4595..96d316867c0e 100644
> --- a/arch/arm64/boot/dts/qcom/lemans-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts
> @@ -55,7 +55,7 @@ port@0 {
> reg = <0>;
>
> usb0_con_hs_ep: endpoint {
> - remote-endpoint = <&usb_0_dwc3_hs>;
> + remote-endpoint = <&eud_con>;
> };
> };
>
> @@ -510,6 +510,14 @@ queue3 {
> };
> };
>
> +&eud_ep {
> + remote-endpoint = <&usb_0_dwc3_hs>;
> +};
If this is a static binding, this should be a part of the lemans.dtsi.
> +
> +&eud_con {
> + remote-endpoint = <&usb0_con_hs_ep>;
> +};
> +
> &gpi_dma0 {
> status = "okay";
> };
> @@ -985,7 +993,7 @@ &usb_0 {
> };
>
> &usb_0_dwc3_hs {
> - remote-endpoint = <&usb0_con_hs_ep>;
> + remote-endpoint = <&eud_ep>;
The same, this should go to lemans.dtsi.
> };
>
> &usb_0_dwc3_ss {
> diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
> index fe6e76351823..a8ab11681476 100644
> --- a/arch/arm64/boot/dts/qcom/lemans.dtsi
> +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
> @@ -4003,6 +4003,32 @@ opp-384000000 {
> };
> };
>
> + eud: eud@88e1000 {
> + compatible = "qcom,sc7280-eud", "qcom,eud";
There should be a platform-specific compat too. The lemans.dtsi is
not sc7280.
> + reg = <0 0x88e1000 0 0x2000>,
> + <0 0x88e3000 0 0x1000>;
0x0 instead of just 0.
> + interrupts-extended = <&pdc 11 IRQ_TYPE_LEVEL_HIGH>;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> +
> + eud_ep: endpoint {
> + };
> + };
Incorrect indentation.
> +
> + port@1 {
> + reg = <1>;
> +
> + eud_con: endpoint {
> + };
> + };
> + };
> + };
> +
> usb_0_hsphy: phy@88e4000 {
> compatible = "qcom,sa8775p-usb-hs-phy",
> "qcom,usb-snps-hs-5nm-phy";
> --
> 2.43.0
>
> base-commit: https://lore.kernel.org/all/20260501170635.2641748-1-elson.serrao@oss.qualcomm.com/
> change-id: Improve Qualcomm EUD driver and platform support
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-13 14:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 9:09 [PATCH] arm64: dts: qcom: lemans: Enable eud support Akash Kumar
2026-05-13 14:31 ` Dmitry Baryshkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox