Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: Quchaosheng <quchaosheng000406@163.com>
Cc: linux-hwmon@vger.kernel.org, robh@kernel.org,
	conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 2/2] dt-bindings: arm: vexpress: drop the obsolete hwmon and regulator text files
Date: Thu, 17 Sep 2026 12:07:50 +0000	[thread overview]
Message-ID: <20260917120751.7C4D21F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260917115818.540344-2-quchaosheng000406@163.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: missing required properties regulator-name and regulator-always-on
--

commit a3c16ba2973ce68a883eb4ccf0647aefc328d59f
Author: Quchaosheng <quchaosheng000406@163.com>

dt-bindings: arm: vexpress: drop the obsolete hwmon and regulator text files

This commit removes obsolete text bindings for Versatile Express hwmon and
regulator nodes. A note regarding fixed supplies is moved into the existing
vexpress-config.yaml schema before removing regulator/vexpress.txt entirely.

> diff --git a/Documentation/devicetree/bindings/arm/vexpress-config.yaml b/Documentation/devicetree/bindings/arm/vexpress-config.yaml
> index 41c53e3acc12c..b04e8e0521815 100644
> --- a/Documentation/devicetree/bindings/arm/vexpress-config.yaml
> +++ b/Documentation/devicetree/bindings/arm/vexpress-config.yaml
> @@ -139,6 +139,10 @@ patternProperties:
>  
>    "^regulator-.+$":
>      $ref: /schemas/regulator/regulator.yaml#
> +    description:
> +      If regulator-min-microvolt and regulator-max-microvolt do not both
> +      define a range, the supply is treated as fixed and only its voltage
> +      can be read.

[Severity: Low]
The commit message states:
"The regulator node refers to regulator.yaml, which covers the generic
regulator properties the second file lists, and all 13 in-tree
arm,vexpress-volt nodes set both of the properties it calls required."

However, the deleted text file Documentation/devicetree/bindings/regulator/vexpress.txt
explicitly listed these two generic properties under "Required regulator properties":

- "regulator-name"
- "regulator-always-on"

While regulator.yaml defines these properties, it does not enforce them as
required. By removing the text binding without adding regulator-name and
regulator-always-on to the required list for the "^regulator-.+$" block here,
won't device trees omitting these properties now silently pass schema validation?

Should these properties be appended to the required list of this node to
maintain the strict constraints previously enforced by the deleted text binding?

>      properties:
>        compatible:
>          const: arm,vexpress-volt

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260917115818.540344-1-quchaosheng000406@163.com?part=2

  reply	other threads:[~2026-09-17 12:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-17 11:58 [PATCH 2/2] dt-bindings: arm: vexpress: drop the obsolete hwmon and regulator text files Quchaosheng
2026-09-17 12:07 ` sashiko-bot [this message]
2026-09-24 22:23 ` Rob Herring (Arm)

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=20260917120751.7C4D21F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=quchaosheng000406@163.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox