Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: bod@kernel.org
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	media-ci@linuxtv.org
Subject: Re: [PATCH v8 07/10] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add pm8010 camera PMIC with voltage levels for IR and RGB camera
Date: Fri, 27 Nov 2026 15:27:24 +0000	[thread overview]
Message-ID: <sashiko-outbox-237727@kernel.org> (raw)
In-Reply-To: <20261127-x1e-camss-csi2-phy-dtsi-v8-7-2793b8e5138c@kernel.org>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: qcom: missing vdd-l5-supply for ldo5 in slim7x
  regulators-8
--

commit 43497044580deaa94f2286bd0fc62dfadd7e9b82
Author: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add pm8010 camera PMIC with voltage levels for IR and RGB camera

This commit adds the regulators-8 PM8010 RPMh regulator node with LDO1-LDO5
and LDO7 supplies for the cameras on the Lenovo Yoga Slim 7x.

> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
> index a807744d1750b..5ce1a7755c97b 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
> @@ -795,6 +795,57 @@ vreg_l3j_0p8: ldo3 {
>  			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
>  		};
>  	};
> +
> +	regulators-8 {
> +		compatible = "qcom,pm8010-rpmh-regulators";
> +		qcom,pmic-id = "m";
> +
> +		vdd-l1-l2-supply = <&vreg_s5j_1p2>;
> +		vdd-l3-l4-supply = <&vreg_s4c_1p8>;
> +		vdd-l7-supply = <&vreg_bob1>;
> +
> +		vreg_l1m_1p2: ldo1 {
> +			regulator-name = "vreg_l1m_1p2";
> +			regulator-min-microvolt = <1200000>;
> +			regulator-max-microvolt = <1260000>;
> +			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
> +		};
> +
> +		vreg_l2m_1p2: ldo2 {
> +			regulator-name = "vreg_l2m_1p2";
> +			regulator-min-microvolt = <1200000>;
> +			regulator-max-microvolt = <1260000>;
> +			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
> +		};
> +
> +		vreg_l3m_1p8: ldo3 {
> +			regulator-name = "vreg_l3m_1p8";
> +			regulator-min-microvolt = <1800000>;
> +			regulator-max-microvolt = <1900000>;
> +			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
> +		};
> +
> +		vreg_l4m_1p8: ldo4 {
> +			regulator-name = "vreg_l4m_1p8";
> +			regulator-min-microvolt = <1800000>;
> +			regulator-max-microvolt = <1900000>;
> +			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
> +		};
> +
> +		vreg_l5m_2p8: ldo5 {
> +			regulator-name = "vreg_l5m_2p8";
> +			regulator-min-microvolt = <2800000>;
> +			regulator-max-microvolt = <3072000>;
> +			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
> +		};

[Severity: Medium]
Should regulators-8 also specify vdd-l5-supply (e.g. <&vreg_bob1>) for ldo5?

In drivers/regulator/qcom-rpmh-regulator.c, pm8010_vreg_data[] defines ldo5
with its supply_name set to "vdd-l5". Without vdd-l5-supply on regulators-8,
regulator_resolve_supply() falls back to the dummy regulator, so enabling
vreg_l5m_2p8 will not enable or vote on its parent supply.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261127-x1e-camss-csi2-phy-dtsi-v8-0-2793b8e5138c@kernel.org?part=7

  reply	other threads:[~2026-11-27 15:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 14:27 [PATCH v8 00/10] arm64: dts: qcom: Add x1e/Hamoa camera DTSI bod
2026-11-27 14:27 ` [PATCH v8 01/10] arm64: dts: qcom: x1e80100: Add CCI definitions bod
2026-11-27 14:27 ` [PATCH v8 02/10] arm64: dts: qcom: x1e80100: Add CAMSS block definition bod
2026-11-27 14:47   ` sashiko-bot
2026-11-27 14:27 ` [PATCH v8 03/10] arm64: dts: qcom: x1e80100-crd: Add pm8010 CRD pmic,id=m regulators bod
2026-11-27 14:27 ` [PATCH v8 04/10] arm64: dts: qcom: x1e80100-crd: Add ov08x40 RGB sensor on CSIPHY4 bod
2026-11-27 15:01   ` sashiko-bot
2026-11-27 14:27 ` [PATCH v8 05/10] arm64: dts: qcom: x1e80100-t14s: Add pm8010 camera PMIC with voltage levels for IR and RGB camera bod
2026-11-27 15:15   ` sashiko-bot
2026-11-27 14:27 ` [PATCH v8 06/10] arm64: dts: qcom: x1e80100-t14s: Add on ov02c10 RGB sensor on CSIPHY4 bod
2026-11-27 14:27 ` [PATCH v8 07/10] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add pm8010 camera PMIC with voltage levels for IR and RGB camera bod
2026-11-27 15:27   ` sashiko-bot [this message]
2026-11-27 14:27 ` [PATCH v8 08/10] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add l7b_2p8 voltage regulator for " bod
2026-11-27 14:27 ` [PATCH v8 09/10] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add ov02c10 RGB sensor on CSIPHY4 bod
2026-11-27 14:27 ` [PATCH v8 10/10] arm64: dts: qcom: x1e80100-dell-inspiron14-7441: Switch on CAMSS RGB sensor bod

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-237727@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=bod@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=media-ci@linuxtv.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