Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Barnabás Czémán" <barnabas.czeman@mainlining.org>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v3 7/7] arm64: dts: qcom: sdm632: Correct power domains
Date: Fri, 02 Oct 2026 09:14:03 +0000	[thread overview]
Message-ID: <20261002091404.304341F00893@smtp.kernel.org> (raw)
In-Reply-To: <20261002-sdm632-rpmpd-v3-7-95c47d0f26cf@mainlining.org>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] remoteproc: qcom_q6v5_mss: probe failure due to missing mss-supply for MSM8953
- [Medium] dt-bindings: power: qcom-rpmpd: RPMPD_VDDMD conflicts with RPMPD_VDDMX_VFL
--

commit f5ae81644790ad18298d9d35e487c425be535c4d
Author: Barnabás Czémán <barnabas.czeman@mainlining.org>

arm64: dts: qcom: sdm632: Correct power domains

This commit adds power domain overrides for the SDM632. It specifies 
domains for various subsystems, acknowledging that SDM632 uses different 
power domains from the MSM8953 it is based on.

> diff --git a/arch/arm64/boot/dts/qcom/sdm632.dtsi b/arch/arm64/boot/dts/qcom/sdm632.dtsi
> index 40d86d91b67fa..5a677da5afb01 100644
> --- a/arch/arm64/boot/dts/qcom/sdm632.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm632.dtsi
[ ... ]
> @@ -87,3 +87,37 @@ opp-725000000 {
[ ... ]
> +&mpss {
> +	compatible = "qcom,sdm632-mss-pil";
> +	power-domains = <&rpmpd RPMPD_VDDCX>,
> +			<&rpmpd RPMPD_VDDMX>,
> +			<&rpmpd RPMPD_VDDMD>;

[Severity: Medium]
Does the use of RPMPD_VDDMD here conflict with RPMPD_VDDMX_VFL?

In include/dt-bindings/power/qcom-rpmpd.h, both are defined as 5:

#define RPMPD_VDDMX_VFL         5
#define RPMPD_VDDMD             5

A SoC that has both domains would have a conflict in the provider array,
or a user specifying RPMPD_VDDMD on a board that has VDDMX_VFL will scale
the wrong regulator.

[Severity: High]
While overriding the domains for SDM632 here, does this leave MSM8953 broken?

The mss power domain was removed in arch/arm64/boot/dts/qcom/msm8953.dtsi
at the mpss node, but the required mss-supply was not added.

The MSS driver now requires an mss-supply active regulator for MSM8953.
Consequently, the driver falls back to a dummy regulator.
When q6v5_regulator_enable() attempts to set 1.05V, regulator_set_voltage()
returns -EINVAL on the dummy regulator, causing a fatal start failure.

Furthermore, this breaks backward compatibility for older MSM8953 DTBs
because the MSM8953_VDDMD power domain was removed from the
msm8953_rpmpds[] provider array, causing genpd attach to fail.

> +	power-domain-names = "cx",
> +			     "mx",
> +			     "mss";
> +};
[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261002-sdm632-rpmpd-v3-0-95c47d0f26cf@mainlining.org?part=7

      reply	other threads:[~2026-10-02  9:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-01 22:38 [PATCH v3 0/7] MSM8953/SDM632 rpmpd/mss fixes Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 1/7] dt-bindings: power: qcom-rpmpd: define RPMPD_VDDMD Barnabás Czémán
2026-10-02  9:14   ` sashiko-bot
2026-10-02  9:57   ` Krzysztof Kozlowski
2026-10-02 14:04     ` Barnabás Czémán
2026-10-05  7:00       ` Dmitry Baryshkov
2026-10-01 22:38 ` [PATCH v3 2/7] dt-bindings: power: qcom,rpmpd: Add SDM632 Barnabás Czémán
2026-10-05  7:01   ` Dmitry Baryshkov
2026-10-01 22:38 ` [PATCH v3 3/7] pmdomain: qcom: rpmpd: Split SDM632 pm domains from MSM8953 Barnabás Czémán
2026-10-02  9:14   ` sashiko-bot
2026-10-05  7:04   ` Dmitry Baryshkov
2026-10-06 18:21     ` Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 4/7] remoteproc: qcom_q6v5_mss: Use mss as regulator for MSM8953 Barnabás Czémán
2026-10-02  9:14   ` sashiko-bot
2026-10-05  7:06   ` Dmitry Baryshkov
2026-10-06 18:18     ` Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 5/7] dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add SDM632 Barnabás Czémán
2026-10-02  9:14   ` sashiko-bot
2026-10-02 10:01   ` Krzysztof Kozlowski
2026-10-02 14:05     ` Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 6/7] remoteproc: qcom_q6v5_mss: Add SDM632 MSS Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 7/7] arm64: dts: qcom: sdm632: Correct power domains Barnabás Czémán
2026-10-02  9: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=20261002091404.304341F00893@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=barnabas.czeman@mainlining.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --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