From: sashiko-bot@kernel.org
To: "Kyle Swenson" <kyle.swenson@est.tech>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [RFC PATCH net-next v2 1/2] dt-bindings: net: pse-pd: Add bindings for LTC4266 PSE Controller
Date: Fri, 21 Aug 2026 14:25:56 +0000 [thread overview]
Message-ID: <20260821142557.5F4091F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260820142429.2285172-2-kyle.swenson@est.tech>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The child node definition `^pse-pi@[0-3]$` is missing `unevaluatedProperties: false`.
--
--- Patch [1]: [RFC PATCH net-next v2 1/2] dt-bindings: net: pse-pd: Add bindings for LTC4266 PSE Controller ---
commit 1f8974966417493a9b12a4f2599002b08898882c
Author: Kyle Swenson <kyle.swenson@est.tech>
dt-bindings: net: pse-pd: Add bindings for LTC4266 PSE Controller
Add the LTC4266 Power Sourcing Equipment controller device tree bindings
documentation.
> diff --git a/Documentation/devicetree/bindings/net/pse-pd/lltc,ltc4266.yaml b/Documentation/devicetree/bindings/net/pse-pd/lltc,ltc4266.yaml
> new file mode 100644
> index 0000000000000..b3da8fea0b07a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/pse-pd/lltc,ltc4266.yaml
[ ... ]
> + pse-pis:
> + type: object
> + additionalProperties: false
> +
> + properties:
> + '#address-cells':
> + const: 1
> +
> + '#size-cells':
> + const: 0
> +
> + patternProperties:
> + '^pse-pi@[0-3]$':
> + type: object
> + properties:
> + pairsets:
[Severity: Low]
Is it possible to add unevaluatedProperties: false to this object?
The Device Tree schema meta-schema strictly requires that any node defined as
type: object must specify either additionalProperties: false or
unevaluatedProperties: false.
Omitting this on the ^pse-pi@[0-3]$ node causes the schema to silently allow
any undocumented or misspelled property inside the pse-pi@X nodes, which
defeats the purpose of dt-schema validation. Since this node relies on
properties defined in the referenced pse-controller.yaml, using
unevaluatedProperties: false seems to be needed here.
> + description: The LTC4266 delivers power to a PI over a single
> + pairset, driven by one of the controller's four channels. There
> + is no 4-pair mode spreading a PI over two channels, so exactly
> + one channel phandle is expected.
> + maxItems: 1
> + pairset-names:
> + maxItems: 1
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260820142429.2285172-1-kyle.swenson@est.tech?part=1
next prev parent reply other threads:[~2026-08-21 14:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-20 14:25 [RFC PATCH net-next v2 0/2] net: pse-pd: Add LTC4266 PSE controller driver Kyle Swenson
2026-08-20 14:25 ` [RFC PATCH net-next v2 1/2] dt-bindings: net: pse-pd: Add bindings for LTC4266 PSE Controller Kyle Swenson
2026-08-21 14:25 ` sashiko-bot [this message]
2026-08-24 10:46 ` Kory Maincent
2026-08-20 14:25 ` [RFC PATCH net-next v2 2/2] net: pse-pd: Add LTC4266 PSE controller driver Kyle Swenson
2026-08-21 14:25 ` 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=20260821142557.5F4091F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kyle.swenson@est.tech \
--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.