All of lore.kernel.org
 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 05/10] arm64: dts: qcom: x1e80100-t14s: Add pm8010 camera PMIC with voltage levels for IR and RGB camera
Date: Fri, 27 Nov 2026 15:15:25 +0000	[thread overview]
Message-ID: <sashiko-outbox-237686@kernel.org> (raw)
In-Reply-To: <20261127-x1e-camss-csi2-phy-dtsi-v8-5-2793b8e5138c@kernel.org>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: qcom: missing vdd-l5-supply for PM8010 ldo5 in
  regulators-8
- [Low] arm64: dts: qcom: undocumented and unused vreg_l7b_2p8 added to
  regulators-0
--

commit 0271545ba5bc95caf81fa08cab4ecc35f7923b14
Author: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

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

This commit adds the PM8010 RPMh regulator node (`regulators-8`) and
`vreg_l7b_2p8` to the Lenovo ThinkPad T14s devicetree to supply the IR and
RGB camera sensors.

> diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
> index 1536ad8d47933..e239ce1e3fdc3 100644
> --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
> +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
> @@ -644,6 +644,13 @@ vreg_l6b_1p8: ldo6 {
>  			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
>  		};
>  
> +		vreg_l7b_2p8: ldo7 {
> +			regulator-name = "vreg_l7b_2p8";
> +			regulator-min-microvolt = <2800000>;
> +			regulator-max-microvolt = <2800000>;
> +			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
> +		};
> +
>  		vreg_l8b_3p0: ldo8 {
>  			regulator-name = "vreg_l8b_3p0";
>  			regulator-min-microvolt = <3072000>;

[Severity: Low]
Is vreg_l7b_2p8 under regulators-0 (PM8550, pmic-id "b") intended to be
included here?

The commit message describes adding only the PM8010 camera PMIC rails
(vreg_l1m through vreg_l7m), and the T14s camera sensors use vreg_l5m_2p8
and vreg_l7m_2p8 for their 2.8V supplies, leaving vreg_l7b_2p8 unused in
the T14s devicetrees.

> @@ -887,6 +894,58 @@ 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_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 declare vdd-l5-supply for ldo5?

In drivers/regulator/qcom-rpmh-regulator.c, pm8010_vreg_data[] defines
ldo5 with supply_name "vdd-l5".  Without vdd-l5-supply on regulators-8,
regulator_resolve_supply() falls back to the dummy regulator for
vreg_l5m_2p8 and will not enable or keep its upstream parent rail active
when the IR camera sensor powers on.

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

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

Thread overview: 17+ 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-30  9:06   ` Loic Poulain
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-30  9:22   ` Nihal Kumar Gupta
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 [this message]
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
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-237686@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.