From: sashiko-bot@kernel.org
To: "Raj Aryan" <raj.aryan@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: Add PM4125 charger node and shikra HS phy bridge
Date: Thu, 26 Nov 2026 11:14:08 +0000 [thread overview]
Message-ID: <sashiko-outbox-235352@kernel.org> (raw)
In-Reply-To: <20261126-smblite-dt-v1-1-0f4f4401db3b@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: missing usb-role-switch on usb_1_hsphy in
shikra-cqs-evk
--
commit d3868dd4e124d44a8cb64cb0971aab3bdb89598c
Author: Raj Aryan <raj.aryan@oss.qualcomm.com>
arm64: dts: qcom: Add PM4125 charger node and shikra HS phy bridge
This commit adds the PM4125 SMBLite charger node, enables it on Shikra CQM
SOM, and routes Shikra's primary HS PHY endpoint through an intermediate
connector/controller port pair for runtime USB role switching.
> diff --git a/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts b/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
> index 2ded25c4304e6..808f07218841c 100644
> --- a/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
> @@ -26,7 +26,7 @@ chosen {
> };
>
> &pm4125_hs_in {
> - remote-endpoint = <&usb_1_dwc3_hs>;
> + remote-endpoint = <&usb_1_hsphy_connector>;
> };
>
> &pm4125_ss_in {
> @@ -77,10 +77,8 @@ &sdhc_2 {
>
> &usb_1 {
> dr_mode = "otg";
> -};
>
> -&usb_1_dwc3_hs {
> - remote-endpoint = <&pm4125_hs_in>;
> + status = "okay";
> };
>
> &usb_1_hsphy {
> @@ -98,6 +96,10 @@ &usb_qmpphy {
> status = "okay";
> };
>
> +&usb_1_hsphy_connector {
> + remote-endpoint = <&pm4125_hs_in>;
> +};
> +
> &usb_qmpphy_out {
> remote-endpoint = <&pm4125_ss_in>;
> };
[Severity: High]
Is &usb_1_hsphy missing the usb-role-switch property here, as added in
shikra-cqm-evk.dts?
Routing &pm4125_hs_in to &usb_1_hsphy_connector makes usb_1_hsphy the
remote port parent inspected by fwnode_usb_role_switch_get(), where
usb_role_switch_match() requires the usb-role-switch property to match the
role switch on Shikra CQS EVK. Also, &usb_1 already has status = "okay"
in shikra-evk.dtsi.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-smblite-dt-v1-1-0f4f4401db3b@oss.qualcomm.com?part=1
prev parent reply other threads:[~2026-11-26 11:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 11:05 [PATCH] arm64: dts: qcom: Add PM4125 charger node and shikra HS phy bridge Raj Aryan
2026-11-26 11:14 ` 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=sashiko-outbox-235352@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=raj.aryan@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox