From: sashiko-bot@kernel.org
To: "Nuno Sá" <nuno.sa@analog.com>
Cc: robh@kernel.org, conor+dt@kernel.org,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 4/5] dt-bindings: hwmon/pmbus: Document MAX20826 and similar devices
Date: Tue, 28 Jul 2026 16:17:08 +0000 [thread overview]
Message-ID: <20260728161708.A8D771F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260728-hwmon-max20826-support-v1-4-224766e0acd1@analog.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Missing Regulator Subnodes for Dual Rails
- [High] Missing Power Supply Properties
--
--- Patch [4]: [PATCH 4/5] dt-bindings: hwmon/pmbus: Document MAX20826 and similar devices ---
commit 2b08f009cb35e4f4f84d9a87d92b4afdc5d9b230
Author: Nuno Sá <nuno.sa@analog.com>
dt-bindings: hwmon/pmbus: Document MAX20826 and similar devices
This commit introduces device tree bindings for the Analog Devices MAX20826
and similar dual-loop multiphase high-current PMBus voltage regulators. It
defines the schema for the compatible strings, registers, and enable GPIOs.
> diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20826.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20826.yaml
> new file mode 100644
> index 0000000000000..6d280f8bf56bd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20826.yaml
[ ... ]
> + reg:
> + maxItems: 1
> +
> + avren-gpios:
> + description: GPIO pin to enable/disable the output voltage on Rail A.
> + maxItems: 1
> +
> + bvren-gpios:
> + description: GPIO pin to enable/disable the output voltage on Rail B.
> + maxItems: 1
[Severity: High]
Should this binding use standard regulator child subnodes instead of defining
custom avren-gpios and bvren-gpios at the parent level?
Because additionalProperties is set to false below, standard regulator
subnodes are rejected. This prevents consumers from defining standard
regulator constraints like regulator-min-microvolt and bypasses the
built-in pmbus core support for parsing standard regulators.
Would it be better to model this with standard regulator child nodes using
enable-gpios?
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
[Severity: High]
Does this binding need to document standard input power supply properties?
Since additionalProperties is false, board device trees are prohibited from
specifying upstream parent supplies (like vin-supply or vcc-supply). This
could prevent the regulator framework from modeling the power tree, which
might break power sequencing if the parent supply needs to be enabled
before this controller operates.
Should standard input supply properties be permitted here?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260728-hwmon-max20826-support-v1-0-224766e0acd1@analog.com?part=4
next prev parent reply other threads:[~2026-07-28 16:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-28 16:03 [PATCH 0/5] hwmon: (pmbus) Add support for MAX20826 and similar devices Nuno Sá via B4 Relay
2026-07-28 16:03 ` [PATCH 1/5] hwmon: (pmbus/core) fix regulator enable/disable Nuno Sá via B4 Relay
2026-07-28 16:22 ` sashiko-bot
2026-07-28 16:58 ` Guenter Roeck
2026-07-28 16:03 ` [PATCH 2/5] hwmon: (pmbus/core) increase number of phases and add new mask Nuno Sá via B4 Relay
2026-07-28 16:19 ` sashiko-bot
2026-07-28 16:03 ` [PATCH 3/5] hwmon: (pmbus/core) Add mapping function to pmbus_read_block_data() Nuno Sá via B4 Relay
2026-07-28 16:27 ` sashiko-bot
2026-07-28 18:13 ` Guenter Roeck
2026-07-28 16:03 ` [PATCH 4/5] dt-bindings: hwmon/pmbus: Document MAX20826 and similar devices Nuno Sá via B4 Relay
2026-07-28 16:17 ` sashiko-bot [this message]
2026-07-28 16:03 ` [PATCH 5/5] hwmon: (pmbus) add support for " Nuno Sá via B4 Relay
2026-07-28 16:24 ` sashiko-bot
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=20260728161708.A8D771F000E9@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=nuno.sa@analog.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