From: sashiko-bot@kernel.org
To: "Eduard Bostina" <egbostina@gmail.com>
Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
lee@kernel.org, linux-leds@vger.kernel.org, robh@kernel.org,
linux-input@vger.kernel.org, dmitry.torokhov@gmail.com,
conor+dt@kernel.org
Subject: Re: [PATCH v2 3/3] dt-bindings: leds: backlight: Convert TPS65217 to DT schema
Date: Sat, 18 Jul 2026 22:04:28 +0000 [thread overview]
Message-ID: <20260718220428.B91301F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260718215632.3295049-4-egbostina@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] Stale and conflicting regulator text binding not deleted during schema conversion.
- [Low] Missing `required` constraint for `reg` property in regulator child nodes.
--
--- Patch [3]: [PATCH v2 3/3] dt-bindings: leds: backlight: Convert TPS65217 to DT schema ---
commit 0671f0f93114029deaa2c3fee6b27ad8abd2cb2d
Author: Eduard Bostina <egbostina@gmail.com>
dt-bindings: leds: backlight: Convert TPS65217 to DT schema
This commit converts the Texas Instruments TPS65217 backlight binding to YAML
schema. It also documents missing child nodes, interrupt properties, and
updates regulator names to match what the boards use.
> diff --git a/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml b/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml
> new file mode 100644
> index 0000000000000..9586e08f1b1fc
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml
> @@ -0,0 +1,123 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/leds/backlight/ti,tps65217.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: TPS65217 family of regulators
[Severity: Medium]
Should Documentation/devicetree/bindings/regulator/tps65217.txt also be
deleted in this patch?
The new YAML schema defines the full MFD device, but conflicts with the
undeleted regulator text binding. The old regulator text binding expects
regulator nodes to be named dcdc[1-3] and ldo[1-4], while the new schema
expects regulator@[0-6], which could cause validation inconsistencies.
[ ... ]
> + patternProperties:
> + "^regulator@[0-6]$":
> + type: object
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + reg:
> + maxItems: 1
> +
> + regulator-compatible:
> + $ref: /schemas/types.yaml#/definitions/string
[Severity: Low]
Does this schema need to specify the reg property as required?
Since these regulator child nodes have a unit address in the pattern
(^regulator@[0-6]$), DT validation could incorrectly pass nodes that contain a
unit address but lack the mandatory reg property without a required block.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260718215632.3295049-1-egbostina@gmail.com?part=3
prev parent reply other threads:[~2026-07-18 22:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-18 21:56 [PATCH v2 0/3] dt-bindings: Convert TI TPS65217 to DT schema Eduard Bostina
2026-07-18 21:56 ` [PATCH v2 1/3] ARM: dts: ti: am335x-guardian: Drop unused isink-en property Eduard Bostina
2026-07-18 21:59 ` sashiko-bot
2026-07-18 21:56 ` [PATCH v2 2/3] dt-bindings: input: Convert TI TPS65217 power button to DT schema Eduard Bostina
2026-07-18 22:02 ` sashiko-bot
2026-07-18 21:56 ` [PATCH v2 3/3] dt-bindings: leds: backlight: Convert TPS65217 " Eduard Bostina
2026-07-18 22:04 ` 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=20260718220428.B91301F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=egbostina@gmail.com \
--cc=lee@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--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.