Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Bhargav Joshi" <j.bhargav.u@gmail.com>
Cc: conor+dt@kernel.org, mfd@lists.linux.dev,
	devicetree@vger.kernel.org, lee@kernel.org, robh@kernel.org
Subject: Re: [PATCH v3 4/4] regulator: dt-bindings: ti,tps6586x: Convert to DT schema
Date: Fri, 18 Sep 2026 21:10:15 +0000	[thread overview]
Message-ID: <20260918211015.D76351F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260919-ti-tps6586x-v3-4-63dd240f4684@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: regulator: ti,tps6586x: dt_binding_check failure
--

commit 73abdb102237b2babb6d5bfccbbceba8f14006bb
Author: Bhargav Joshi <j.bhargav.u@gmail.com>

regulator: dt-bindings: ti,tps6586x: Convert to DT schema

Convert Texas Instruments tps6586x regulator binding from text to DT
schema. Reference to nvidia,tegra-regulators-coupling in child regulator
nodes.

> diff --git a/Documentation/devicetree/bindings/regulator/ti,tps6586x.yaml b/Documentation/devicetree/bindings/regulator/ti,tps6586x.yaml
> new file mode 100644
> index 0000000000000..1f7c7b35066f8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/regulator/ti,tps6586x.yaml
> @@ -0,0 +1,196 @@
[ ... ]
> +          sys-supply = <&vdd_5v0_sys>;
> +          vin-sm0-supply = <&sys_reg>;
> +          vin-sm1-supply = <&sys_reg>;
> +          vin-sm2-supply = <&sys_reg>;
> +          vinldo01-supply = <&sm2_reg>;
> +          vinldo23-supply = <&sm2_reg>;
> +          vinldo4-supply = <&sm2_reg>;
> +          vinldo678-supply = <&sm2_reg>;
> +          vinldo9-supply = <&sm2_reg>;

[Severity: Low]
These properties reference phandle labels (&vdd_5v0_sys, &sys_reg, &sm2_reg)
that are not defined anywhere in the example snippet.

dtc throws a fatal 'Reference to non-existent node or label' error for
unresolved phandles during compilation.

Does this regression cause the example to fail make dt_binding_check?

> +
> +          regulators {
> +              sys {
> +                  regulator-name = "vdd_sys";
> +                  regulator-boot-on;
> +                  regulator-always-on;
> +              };
> +
> +              sm0 {
> +                  regulator-min-microvolt = < 725000>;
> +                  regulator-max-microvolt = <1500000>;
> +                  regulator-boot-on;
> +                  regulator-always-on;
> +              };
> +
> +              sm1 {
> +                  regulator-min-microvolt = < 725000>;
> +                  regulator-max-microvolt = <1500000>;
> +                  regulator-boot-on;
> +                  regulator-always-on;
> +              };
> +
> +              sm2 {
> +                  regulator-min-microvolt = <3000000>;

[Severity: Low]
The sys and sm2 child regulator nodes are missing the sys_reg: and sm2_reg:
labels that were present in the original text binding and are required to
resolve the internal phandle references.

Are these labels missing here?

> +                  regulator-max-microvolt = <4550000>;
> +                  regulator-boot-on;
> +                  regulator-always-on;
> +              };

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260919-ti-tps6586x-v3-0-63dd240f4684@gmail.com?part=4

  reply	other threads:[~2026-09-18 21:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18 21:01 [PATCH v3 0/4] regulator: dt-bindings: Tegra coupling DT conversions and cleanup Bhargav Joshi
2026-09-18 21:01 ` [PATCH v3 1/4] dt-bindings: mfd: ti,tps65910: Add wakeup-source and GPIO hogs Bhargav Joshi
2026-09-18 21:05   ` sashiko-bot
2026-09-23 15:18   ` (subset) " Lee Jones
2026-09-18 21:01 ` [PATCH v3 2/4] regulator: dt-bindings: nvidia,tegra-regulators-coupling: Convert to DT schema Bhargav Joshi
2026-09-18 21:10   ` sashiko-bot
2026-09-23 17:44   ` Mark Brown
2026-09-18 21:01 ` [PATCH v3 3/4] regulator: dt-bindings: Reference Tegra regulator coupling schema Bhargav Joshi
2026-09-18 21:07   ` sashiko-bot
2026-09-18 21:01 ` [PATCH v3 4/4] regulator: dt-bindings: ti,tps6586x: Convert to DT schema Bhargav Joshi
2026-09-18 21:10   ` sashiko-bot [this message]
2026-09-23 17:46 ` (subset) [PATCH v3 0/4] regulator: dt-bindings: Tegra coupling DT conversions and cleanup Mark Brown

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=20260918211015.D76351F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=j.bhargav.u@gmail.com \
    --cc=lee@kernel.org \
    --cc=mfd@lists.linux.dev \
    --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