From: sashiko-bot@kernel.org
To: "Wim de With" <wf@dewith.io>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, lee@kernel.org,
linux-leds@vger.kernel.org, robh@kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2 1/2] dt-bindings: backlight: Add Orient Chip OCP8178
Date: Wed, 12 Aug 2026 19:28:34 +0000 [thread overview]
Message-ID: <20260812192834.F06A31F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260812-ocp8178-backlight-v2-1-4ad18b48bef8@dewith.io>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The schema uses `additionalProperties: false` while also referencing `common.yaml#`, which will incorrectly reject standard inherited properties.
--
--- Patch [1]: [PATCH v2 1/2] dt-bindings: backlight: Add Orient Chip OCP8178 ---
commit e31a9b24875ae6868d7bab27e5c73b0f9db06347
Author: Wim de With <wf@dewith.io>
dt-bindings: backlight: Add Orient Chip OCP8178
This commit adds device tree bindings for the Orient Chip OCP8178 LED
backlight driver, introducing a new YAML schema.
> diff --git a/Documentation/devicetree/bindings/leds/backlight/ocs,ocp8178.yaml b/Documentation/devicetree/bindings/leds/backlight/ocs,ocp8178.yaml
> new file mode 100644
> index 0000000000000..57c44d3383b88
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/backlight/ocs,ocp8178.yaml
[ ... ]
> +allOf:
> + - $ref: common.yaml#
> +
> +properties:
[ ... ]
> +required:
> + - compatible
> + - enable-gpios
> +
> +additionalProperties: false
[Severity: Medium]
Since this schema references common.yaml, should this be set to
unevaluatedProperties: false instead? Using additionalProperties: false
will incorrectly reject legitimate properties inherited from common.yaml
during schema validation.
> +
> +examples:
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260812-ocp8178-backlight-v2-0-4ad18b48bef8@dewith.io?part=1
next prev parent reply other threads:[~2026-08-12 19:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 19:21 [PATCH v2 0/2] backlight: Add support for Orient Chip OCP8178 Wim de With
2026-08-12 19:21 ` [PATCH v2 1/2] dt-bindings: backlight: Add " Wim de With
2026-08-12 19:28 ` sashiko-bot [this message]
2026-08-12 19:21 ` [PATCH v2 2/2] backlight: Add support for " Wim de With
2026-08-12 19:34 ` 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=20260812192834.F06A31F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--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=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=wf@dewith.io \
/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