All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Bhargav Joshi" <j.bhargav.u@gmail.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: pinctrl: ti,pinctrl-palmas: Convert to DT schema
Date: Fri, 21 Aug 2026 20:58:14 +0000	[thread overview]
Message-ID: <20260821205815.072561F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260822-ti-pinctrl-palmas-v1-1-a4d49e7f2dab@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] The legacy text binding file was not removed during the conversion to DT schema.
- [Low] The YAML example references an undefined phandle label, which will cause `dtc` to fail during `make dt_binding_check`.
--

--- Patch [1]: [PATCH] dt-bindings: pinctrl: ti,pinctrl-palmas: Convert to DT schema ---
commit 3f34affd1ba20a6449af4fb14e654c0936273292
Author: Bhargav Joshi <j.bhargav.u@gmail.com>

dt-bindings: pinctrl: ti,pinctrl-palmas: Convert to DT schema

Convert TI Palmas pin control text binding to DT schema. The legacy
binding allowed any subnode name. Restrict them to standard prefixes to
prevent the validator from accidentally evaluating standard integer
properties (like phandle) as child nodes.

[Severity: Low]
Should the legacy text binding file
Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt have been
deleted in this commit?

Leaving the legacy text binding in the tree results in duplicate,
conflicting documentation for the same bindings.

> diff --git a/Documentation/devicetree/bindings/pinctrl/ti,palmas-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ti,palmas-pinctrl.yaml
> new file mode 100644
> index 0000000000000..c07e3a782ef07
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pinctrl/ti,palmas-pinctrl.yaml
[ ... ]
> +examples:
> +  - |
> +    pmic {
> +        pinctrl {
> +            compatible = "ti,tps65913-pinctrl";
> +            ti,palmas-enable-dvfs1;
> +            pinctrl-names = "default";
> +            pinctrl-0 = <&palmas_pins_state>;

[Severity: Low]
Will this undefined phandle label cause dtc to fail during make
dt_binding_check?

It appears the palmas_pins_state label was omitted from the pinmux node
definition during the conversion from the original text file.

> +
> +            pinmux {
> +                gpio0 {
> +                    pins = "gpio0";
> +                    function = "id";
> +                    bias-pull-up;
> +                };

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260822-ti-pinctrl-palmas-v1-1-a4d49e7f2dab@gmail.com?part=1

      reply	other threads:[~2026-08-21 20:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21 20:48 [PATCH] dt-bindings: pinctrl: ti,pinctrl-palmas: Convert to DT schema Bhargav Joshi
2026-08-21 20:58 ` 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=20260821205815.072561F00A3A@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=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.