Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Zi-Yu Chen" <zychennvt@gmail.com>, devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH RESEND v12 1/3] dt-bindings: i2c: nuvoton,ma35d1-i2c: Add MA35D1 I2C controller
Date: Mon, 30 Nov 2026 03:28:22 +0000	[thread overview]
Message-ID: <sashiko-outbox-240315@kernel.org> (raw)
In-Reply-To: <20261130032346.1720769-2-zychennvt@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: i2c: ma35d1: interrupts listed before clocks
--

commit 2066300098d16c8d475b20ab2c4f0d189c765526
Author: Zi-Yu Chen <zychennvt@gmail.com>

dt-bindings: i2c: nuvoton,ma35d1-i2c: Add MA35D1 I2C controller

This commit adds the Device Tree binding schema for the Nuvoton MA35D1
I2C controller.

> diff --git a/Documentation/devicetree/bindings/i2c/nuvoton,ma35d1-i2c.yaml b/Documentation/devicetree/bindings/i2c/nuvoton,ma35d1-i2c.yaml
> new file mode 100644
> index 0000000000000..0713e1c1ecb8e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i2c/nuvoton,ma35d1-i2c.yaml
> @@ -0,0 +1,63 @@

[ ... ]

> +properties:
> +  compatible:
> +    const: nuvoton,ma35d1-i2c
> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    maxItems: 1
> +
> +  clocks:
> +    maxItems: 1
> +
> +  clock-frequency:
> +    description:
> +      Desired I2C bus clock frequency in Hz. The absence of this property
> +      indicates the default frequency 100 kHz.
> +
> +  resets:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - clocks
> +  - resets
> +
> +unevaluatedProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +    #include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
> +    #include <dt-bindings/reset/nuvoton,ma35d1-reset.h>
> +
> +    i2c0: i2c@40800000 {
> +      compatible = "nuvoton,ma35d1-i2c";
> +      reg = <0x40800000 0x1000>;
> +      interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
> +      clocks = <&clk I2C0_GATE>;

[Severity: Low]
In properties, required, and the i2c0 example node, interrupts is listed
before clocks.  Under standard DT binding property ordering (compatible,
reg, clocks, interrupts, ...), clocks should precede interrupts in all
three sections.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261130032346.1720769-1-zychennvt@gmail.com?part=1

  reply	other threads:[~2026-11-30  3:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  3:23 [PATCH RESEND v12 0/3] i2c: ma35d1: Add support for MA35D1 I2C controller Zi-Yu Chen
2026-11-30  3:23 ` [PATCH RESEND v12 1/3] dt-bindings: i2c: nuvoton,ma35d1-i2c: Add " Zi-Yu Chen
2026-11-30  3:28   ` sashiko-bot [this message]
2026-11-30  3:23 ` [PATCH RESEND v12 2/3] i2c: ma35d1: Add Nuvoton MA35D1 I2C driver support Zi-Yu Chen
2026-11-30  3:44   ` sashiko-bot
2026-11-30  3:23 ` [PATCH RESEND v12 3/3] arm64: dts: nuvoton: Add I2C nodes for MA35D1 SoC Zi-Yu Chen

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-240315@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=zychennvt@gmail.com \
    /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