From: sashiko-bot@kernel.org
To: "Ziyue Zhang" <ziyue.zhang@oss.qualcomm.com>
Cc: conor+dt@kernel.org, neil.armstrong@linaro.org, vkoul@kernel.org,
devicetree@vger.kernel.org, linux-phy@lists.infradead.org,
robh@kernel.org, olteanv@gmail.com
Subject: Re: [PATCH v1 3/4] arm64: dts: qcom: qcs8300: Add qref and refgen supply for PCIe PHYs
Date: Mon, 10 Aug 2026 11:40:36 +0000 [thread overview]
Message-ID: <20260810114037.5C8B11F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260810112735.1326807-4-ziyue.zhang@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] The newly added DTS regulator properties for QCS8300 are silently ignored by the PCIe PHY driver, while the SM8450 driver now erroneously requires them, causing a severe probe regression.
--
--- Patch [3]: [PATCH v1 3/4] arm64: dts: qcom: qcs8300: Add qref and refgen supply for PCIe PHYs ---
commit 649091d8c2c2002b7f51183d74007a50f755b8db
Author: Ziyue Zhang <ziyue.zhang@oss.qualcomm.com>
arm64: dts: qcom: qcs8300: Add qref and refgen supply for PCIe PHYs
This commit adds vdda-qref-supply, vdda-refgen-supply, and refgen-supply to
various QCS8300 board and SoC device trees. These dedicated voltage supplies
are required by the QMP PCIe PHYs to prevent occasional system crashes.
> diff --git a/arch/arm64/boot/dts/qcom/monaco-evk.dts b/arch/arm64/boot/dts/qcom/monaco-evk.dts
> index 9d17ef7d2caf1..c1f63a4ee2438 100644
> --- a/arch/arm64/boot/dts/qcom/monaco-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/monaco-evk.dts
> @@ -623,6 +623,8 @@ &pcie0 {
> &pcie0_phy {
> vdda-phy-supply = <&vreg_l6a>;
> vdda-pll-supply = <&vreg_l5a>;
> + vdda-qref-supply = <&vreg_l4a>;
> + vdda-refgen-supply = <&vreg_l7a>;
[Severity: High]
Will these new supplies actually be consumed by the QCS8300 PHY driver?
Looking at the driver changes presumably earlier in this series, it appears
the updated regulator list was mistakenly applied to the sm8450 configuration
instead of the qcs8300 configuration:
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:qcs8300_qmp_gen4x2_pciephy_cfg() {
...
.vreg_list = qmp_phy_vreg_l,
.num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
}
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:sm8450_qmp_gen4x2_pciephy_cfg() {
...
.vreg_list = sa8775p_qmp_phy_vreg_l,
.num_vregs = ARRAY_SIZE(sa8775p_qmp_phy_vreg_l),
}
Does this mean the driver will still ignore these newly added properties on
QCS8300, while causing a probe regression on SM8450 platforms due to the
missing regulators?
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260810112735.1326807-1-ziyue.zhang@oss.qualcomm.com?part=3
next prev parent reply other threads:[~2026-08-10 11:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-10 11:27 [PATCH v1 0/4] Add qref and refgen regulator support for QCS8300 and SA8775p PCIe PHYs Ziyue Zhang
2026-08-10 11:27 ` [PATCH v1 1/4] dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Add vdda-refgen and refgen supply properties Ziyue Zhang
2026-08-10 11:27 ` [PATCH v1 2/4] phy: qcom: qmp-pcie: Add qref and refgen regulator vote for QCS8300 and SA8775p PHY Ziyue Zhang
2026-08-10 11:37 ` sashiko-bot
2026-08-10 11:27 ` [PATCH v1 3/4] arm64: dts: qcom: qcs8300: Add qref and refgen supply for PCIe PHYs Ziyue Zhang
2026-08-10 11:40 ` sashiko-bot [this message]
2026-08-10 11:27 ` [PATCH v1 4/4] arm64: dts: qcom: sa8775p: " Ziyue Zhang
2026-08-10 11:40 ` sashiko-bot
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=20260810114037.5C8B11F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=olteanv@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vkoul@kernel.org \
--cc=ziyue.zhang@oss.qualcomm.com \
/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;
as well as URLs for NNTP newsgroup(s).