Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Markus Probst" <markus.probst@posteo.de>
Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org, lee@kernel.org,
	ojeda@kernel.org, gary@garyguo.net
Subject: Re: [PATCH v19 1/2] dt-bindings: embedded-controller: Add synology microp devices
Date: Fri, 04 Dec 2026 12:37:24 +0000	[thread overview]
Message-ID: <sashiko-outbox-249815@kernel.org> (raw)
In-Reply-To: <20261204-synology_microp_initial-v19-1-33fd992bf049@posteo.de>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] dt-bindings: embedded-controller: missing parent serial node in
  example
- [Low] dt-bindings: embedded-controller: 2-space indent in DTS example
--

commit 8fe6bccc5e36d162abef34bba8a8edb8b0eef808
Author: Markus Probst <markus.probst@posteo.de>

dt-bindings: embedded-controller: Add synology microp devices

This commit adds the devicetree binding schema for Synology Microp
serial-attached embedded controllers found on Synology NAS devices.

> 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
> @@ -0,0 +1,100 @@

[ ... ]

> +examples:
> +  - |
> +    #include <dt-bindings/gpio/gpio.h>
> +
> +    embedded-controller {

[Severity: Low]
Should this embedded-controller node be nested inside a parent serial { }
node?

Documentation/devicetree/bindings/serial/serial.yaml requires
serial-attached embedded-controller nodes to be children of the host UART
node.  A top-level node will not probe via serdev and bypasses serial
child-node validation in dt_binding_check.

> +      compatible = "synology,ds923p-microp", "synology,ds918p-microp";
> +
> +      fan-failure-gpios = <&gpio 68 GPIO_ACTIVE_HIGH>, <&gpio 69 GPIO_ACTIVE_HIGH>;
> +    };

[Severity: Low]
Does this DTS example need 4-space indentation instead of 2 spaces?
scripts/dtc/dt-check-style in strict mode rejects 2-space indentation in
YAML examples.  Once re-indented (or nested under a serial node),
fan-failure-gpios will also exceed 80 columns and need wrapping.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-synology_microp_initial-v19-0-33fd992bf049@posteo.de?part=1

  reply	other threads:[~2026-12-04 12:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 12:26 [PATCH v19 0/2] Introduce Synology Microp driver Markus Probst
2026-12-04 12:26 ` [PATCH v19 1/2] dt-bindings: embedded-controller: Add synology microp devices Markus Probst
2026-12-04 12:37   ` sashiko-bot [this message]
2026-12-04 12:26 ` [PATCH v19 2/2] platform: Add initial synology microp driver Markus Probst
2026-12-04 13: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=sashiko-outbox-249815@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gary@garyguo.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox