From: sashiko-bot@kernel.org
To: "Svyatoslav Ryhel" <clamor95@gmail.com>
Cc: lee@kernel.org, linux-leds@vger.kernel.org, robh@kernel.org,
conor+dt@kernel.org, mfd@lists.linux.dev,
devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2 1/3] dt-bindings: mfd: Document Skyworks AAT2870
Date: Sun, 04 Oct 2026 16:50:56 +0000 [thread overview]
Message-ID: <20261004165056.86DE01F00898@smtp.kernel.org> (raw)
In-Reply-To: <20261004164121.193514-2-clamor95@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: missing `type: object` constraints for child nodes
--
commit 44544968b5bc5130f1768962ce3f85c8bc12cfad
Author: Svyatoslav Ryhel <clamor95@gmail.com>
dt-bindings: mfd: Document Skyworks AAT2870
Document Skyworks AAT2870 LED Backlight Driver and Multiple LDO Lighting
Management Unit.
> diff --git a/Documentation/devicetree/bindings/leds/skyworks,aat2870.yaml b/Documentation/devicetree/bindings/leds/skyworks,aat2870.yaml
> new file mode 100644
> index 0000000000000..014678616076f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/skyworks,aat2870.yaml
[ ... ]
> + vin-supply:
> + description: Regulator providing power to the "IN" pin.
> +
> + backlight:
> + $ref: /schemas/leds/backlight/common.yaml#
> + unevaluatedProperties: false
[Severity: Low]
Does this node definition need an explicit type: object?
Since this backlight property references /schemas/leds/backlight/common.yaml#
which does not define type: object at its root, the dt_binding_check schema
validation tool will fail with a type is missing error when checking this
new schema. In dt-schema, properties representing child nodes must explicitly
declare type: object if it is not inherited from a $ref.
[ ... ]
> + patternProperties:
> + "^(ldo-(a|b|c|d))$":
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false
[Severity: Low]
Similarly, do these regulator subnodes matching ldo-[a-d] require a
type: object constraint?
Like the backlight node above, the referenced external schema
(/schemas/regulator/regulator.yaml#) does not inherently provide type: object,
which will also result in validation failures.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261004164121.193514-1-clamor95@gmail.com?part=1
next prev parent reply other threads:[~2026-10-04 16:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-04 16:41 [PATCH v2 0/3] mfd: aat2870: Convert to use OF bindings Svyatoslav Ryhel
2026-10-04 16:41 ` [PATCH v2 1/3] dt-bindings: mfd: Document Skyworks AAT2870 Svyatoslav Ryhel
2026-10-04 16:50 ` sashiko-bot [this message]
2026-10-05 16:31 ` Daniel Thompson
2026-10-05 16:53 ` Svyatoslav Ryhel
2026-10-04 16:41 ` [PATCH v2 2/3] mfd: aat2870: Convert to use OF bindings Svyatoslav Ryhel
2026-10-04 16:50 ` sashiko-bot
2026-10-05 16:51 ` Daniel Thompson
2026-10-05 17:18 ` Svyatoslav Ryhel
2026-10-06 9:38 ` Daniel Thompson
2026-10-06 10:06 ` Svyatoslav Ryhel
2026-10-04 16:41 ` [PATCH v2 3/3] mfd: aat2870: Add support for VIN and IN-LDO power supplies Svyatoslav Ryhel
2026-10-04 16:49 ` 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=20261004165056.86DE01F00898@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=lee@kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mfd@lists.linux.dev \
--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.