Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Pradeep P V K" <pradeep.pragallapati@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: mahua-qcb: Enable UFS
Date: Sun, 29 Nov 2026 08:17:08 +0000	[thread overview]
Message-ID: <sashiko-outbox-239414@kernel.org> (raw)
In-Reply-To: <20261129-mahua-qcb-ufs-changes-v1-1-776a9d69ee64@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64: dts: qcom: mahua-qcb: duplicate UFS nodes and incomplete
  changelog
--

commit 5e5339542ff92f8c57bb2156899a1d7d174d4da6
Author: Pradeep P V K <pradeep.pragallapati@oss.qualcomm.com>

arm64: dts: qcom: mahua-qcb: Enable UFS

This commit enables the UFS host controller and PHY on the mahua-qcb
board and wires the UFS PHY symbol clocks into the GCC node in
mahua.dtsi.

> diff --git a/arch/arm64/boot/dts/qcom/mahua-qcb.dts b/arch/arm64/boot/dts/qcom/mahua-qcb.dts
> index 16ad42466fbd7..3cff546cf3b17 100644
> --- a/arch/arm64/boot/dts/qcom/mahua-qcb.dts
> +++ b/arch/arm64/boot/dts/qcom/mahua-qcb.dts
> @@ -28,3 +28,21 @@ &tcsr {
>  	vdda-refgen3-0p9-supply = <&vreg_l1f1>;
>  	vdda-refgen3-1p2-supply = <&vreg_l4f1>;
>  };
> +
> +&ufs_mem_hc {
> +	reset-gpios = <&tlmm 250 GPIO_ACTIVE_LOW>;
> +
> +	vcc-supply = <&vreg_l17b0>;
> +	vcc-max-microamp = <1200000>;
> +	vccq-supply = <&vreg_l12b0>;
> +	vccq-max-microamp = <1200000>;
> +
> +	status = "okay";
> +};
> +
> +&ufs_mem_phy {
> +	vdda-phy-supply = <&vreg_l1c1>;
> +	vdda-pll-supply = <&vreg_l4f1>;
> +
> +	status = "okay";
> +};
> diff --git a/arch/arm64/boot/dts/qcom/mahua.dtsi b/arch/arm64/boot/dts/qcom/mahua.dtsi
> index e7141f8c9e0d3..9478a0b5f1783 100644
> --- a/arch/arm64/boot/dts/qcom/mahua.dtsi
> +++ b/arch/arm64/boot/dts/qcom/mahua.dtsi
> @@ -122,9 +122,9 @@ &gcc {
>  		 <0>,				/* QUSB4 1 PHY RX 1 */
>  		 <0>,				/* QUSB4 2 PHY RX 0 */
>  		 <0>,				/* QUSB4 2 PHY RX 1 */
> -		 <0>,				/* UFS PHY RX Symbol 0 */
> -		 <0>,				/* UFS PHY RX Symbol 1 */
> -		 <0>,				/* UFS PHY TX Symbol 0 */
> +		 <&ufs_mem_phy 0>,
> +		 <&ufs_mem_phy 1>,
> +		 <&ufs_mem_phy 2>,
>  		 <&usb_0_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
>  		 <&usb_1_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
>  		 <&usb_2_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,

[Severity: Low]
This isn't a bug, but the &ufs_mem_hc and &ufs_mem_phy nodes added to
mahua-qcb.dts are identical to those in glymur-qcb.dts. Since both boards
include glymur-qcb.dtsi after 71e1b237de83 ("arm64: dts: qcom: Commonize
glymur-qcb.dts to glymur-qcb.dtsi") and share on-SoC PHY supplies via
glymur-cob.dtsi after 6fdce1f4a17b ("arm64: dts: qcom: Consolidate Glymur
CoB power grid"), could the common QCB UFS nodes move to glymur-qcb.dtsi
(and the &ufs_mem_phy vdda-phy-supply and vdda-pll-supply properties to
glymur-cob.dtsi) instead of being duplicated?

Also, the commit subject and message only describe enabling UFS on
mahua-qcb, without mentioning the SoC-level GCC clock changes in
mahua.dtsi.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261129-mahua-qcb-ufs-changes-v1-1-776a9d69ee64@oss.qualcomm.com?part=1

      reply	other threads:[~2026-11-29  8:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29  8:09 [PATCH] arm64: dts: qcom: mahua-qcb: Enable UFS Pradeep P V K
2026-11-29  8:17 ` 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-239414@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=pradeep.pragallapati@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