From: sashiko-bot@kernel.org
To: "Markus Probst" <markus.probst@posteo.de>
Cc: linux-leds@vger.kernel.org, lee@kernel.org, robh@kernel.org,
devicetree@vger.kernel.org, conor+dt@kernel.org,
ojeda@kernel.org
Subject: Re: [PATCH v16 1/2] dt-bindings: embedded-controller: Add synology microp devices
Date: Mon, 29 Jun 2026 17:00:12 +0000 [thread overview]
Message-ID: <20260629170013.128C81F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260629-synology_microp_initial-v16-1-601e91c49e0d@posteo.de>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The `fan-failure-gpios` conditional block matches the specific leaf variant `synology,rs422p-microp` instead of its base fallback `synology,rs1221p-microp`, incorrectly forbidding the property for the rest of its hardware family.
--
commit ec0576fc5f2c12ad557bf63ad742921b02b47295
Author: Markus Probst <markus.probst@posteo.de>
dt-bindings: embedded-controller: Add synology microp devices
This commit adds the devicetree bindings for Synology Microp microcontrollers
used in Synology NAS devices. These controllers handle LEDs, fans, beepers,
buttons, and shutdown/reboot behaviors.
> diff --git a/Documentation/devicetree/bindings/embedded-controller/synology,ds918p-microp.yaml b/Documentation/devicetree/bindings/embedded-controller/synology,ds918p-microp.yaml
> new file mode 100644
> index 0000000000000..a441018843224
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/embedded-controller/synology,ds918p-microp.yaml
[ ... ]
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - synology,ds918p-microp
> + - synology,rs422p-microp
[Severity: Medium]
Does this conditional correctly cover the rs1221p hardware family?
The compatible block defines synology,rs1221p-microp as the fallback for
synology,rs422p-microp, synology,rs822p-microp, and
synology,rs1221rpp-microp.
By matching against the specific leaf variant synology,rs422p-microp here
instead of the base fallback synology,rs1221p-microp, the else branch will
incorrectly forbid the fan-failure-gpios property for the rest of the
variants in this family, causing them to fail schema validation.
> + then:
> + required:
> + - fan-failure-gpios
> + else:
> + properties:
> + fan-failure-gpios: false
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260629-synology_microp_initial-v16-0-601e91c49e0d@posteo.de?part=1
next prev parent reply other threads:[~2026-06-29 17:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-29 16:52 [PATCH v16 0/2] Introduce Synology Microp driver Markus Probst
2026-06-29 16:52 ` [PATCH v16 1/2] dt-bindings: embedded-controller: Add synology microp devices Markus Probst
2026-06-29 17:00 ` sashiko-bot [this message]
2026-06-29 16:52 ` [PATCH v16 2/2] platform: Add initial synology microp driver Markus Probst
2026-06-29 17:19 ` 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=20260629170013.128C81F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee@kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=markus.probst@posteo.de \
--cc=ojeda@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.