From: sashiko-bot@kernel.org
To: "Elson Serrao" <elson.serrao@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v6 9/9] arm64: dts: qcom: Map USB connector to EUD on Kodiak boards
Date: Tue, 11 Aug 2026 22:06:36 +0000 [thread overview]
Message-ID: <20260811220636.B84751F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260811213610.2956147-10-elson.serrao@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Rerouting the Type-C High-Speed endpoint to EUD breaks USB enumeration and role-switching because the required `eud` and `usb_2` nodes are left disabled.
- [Low] The patch references an undefined devicetree label `&eud_con`, which will cause a fatal `dtc` compilation error.
--
--- Patch [9]: [PATCH v6 9/9] arm64: dts: qcom: Map USB connector to EUD on Kodiak boards ---
commit 2fda8aaa91eca6e348e83f602c927ebd7362e954
Author: Elson Serrao <elson.serrao@oss.qualcomm.com>
arm64: dts: qcom: map USB connector endpoint to EUD on Kodiak boards
This commit updates board-level descriptions for Kodiak-based boards to map
the primary USB connector's High-Speed path through the Embedded USB Debugger
(EUD). It replaces the existing remote-endpoint mapping to usb_1_dwc3_hs with
eud_con to reflect the intended hardware topology.
> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
> index f41ad446a39e..b1f1ff6b99e6 100644
> --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
> +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
> @@ -98,7 +98,7 @@ port@0 {
> reg = <0>;
>
> pmic_glink_hs_in: endpoint {
> - remote-endpoint = <&usb_1_dwc3_hs>;
> + remote-endpoint = <&eud_con>;
> };
> };
>
[Severity: Low]
Will this compile cleanly? In the baseline kodiak.dtsi, the eud node
defines port@0, but it doesn't appear to define the eud_con label:
arch/arm64/boot/dts/qcom/kodiak.dtsi:
eud: eud@88e0000 {
...
port@0 {
eud_ep: endpoint {
...
Does the eud_con label need to be added to the SoC dtsi first to avoid a
device tree compiler syntax error?
[ ... ]
> @@ -1573,3 +1569,7 @@ &wifi {
> qcom,calibration-variant = "Fairphone_5";
> status = "okay";
> };
> +
> +&eud_con {
> + remote-endpoint = <&pmic_glink_hs_in>;
> +};
[Severity: High]
Does routing this connector through the EUD strand the primary USB controller
without a role switch provider?
The usb_1 node in this file is configured for usb-role-switch, but it is
severed from its High-Speed endpoint by this patch.
Additionally, in kodiak.dtsi, both the eud node and the secondary usb_2
controller it relies on have their status disabled by default:
arch/arm64/boot/dts/qcom/kodiak.dtsi:
eud: eud@88e0000 {
...
status = "disabled";
...
usb_2: usb@a6f8800 {
...
status = "disabled";
Since the board files don't override these to "okay", will this prevent the
graph traversal via fwnode_usb_role_switch_get() and break USB enumeration
entirely upon boot?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260811213610.2956147-1-elson.serrao@oss.qualcomm.com?part=9
prev parent reply other threads:[~2026-08-11 22:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 21:36 [PATCH v6 0/9] Improve Qualcomm EUD driver and platform support Elson Serrao
2026-08-11 21:36 ` [PATCH v6 1/9] dt-bindings: soc: qcom: eud: Add per-path child nodes for UTMI routing Elson Serrao
2026-08-11 21:50 ` sashiko-bot
2026-08-11 21:36 ` [PATCH v6 2/9] usb: misc: qcom_eud: add sysfs attribute for port selection Elson Serrao
2026-08-11 21:54 ` sashiko-bot
2026-08-11 21:36 ` [PATCH v6 3/9] usb: misc: qcom_eud: add per-path High-Speed PHY control Elson Serrao
2026-08-11 21:56 ` sashiko-bot
2026-08-11 21:36 ` [PATCH v6 4/9] usb: misc: qcom_eud: add per-path role switch support Elson Serrao
2026-08-11 21:57 ` sashiko-bot
2026-08-11 21:36 ` [PATCH v6 5/9] usb: misc: qcom_eud: improve enable_store API Elson Serrao
2026-08-11 21:56 ` sashiko-bot
2026-08-11 21:36 ` [PATCH v6 6/9] usb: misc: qcom_eud: add role-based EUD control Elson Serrao
2026-08-11 21:54 ` sashiko-bot
2026-08-11 21:36 ` [PATCH v6 7/9] usb: misc: qcom_eud: fix virtual attach/detach event handling Elson Serrao
2026-08-11 22:00 ` sashiko-bot
2026-08-11 21:36 ` [PATCH v6 8/9] arm64: dts: qcom: kodiak: Describe EUD UTMI path using child node Elson Serrao
2026-08-11 22:05 ` sashiko-bot
2026-08-11 21:36 ` [PATCH v6 9/9] arm64: dts: qcom: Map USB connector to EUD on Kodiak boards Elson Serrao
2026-08-11 22:06 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260811220636.B84751F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=elson.serrao@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.