Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Fil Dunsky" <filipp.dunsky@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v6 1/2] dt-bindings: i2c: Add Cortina Systems CS7542 I2C controller
Date: Mon, 23 Nov 2026 04:58:28 +0000	[thread overview]
Message-ID: <sashiko-outbox-228684@kernel.org> (raw)
In-Reply-To: <20261123-cs75xx-i2c-v6-1-2504375e4342@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: i2c: interrupts listed before clocks in
  cortina,cs7542-i2c.yaml
--

commit 2fe89284bfed82e40564040b3c63c7382a98c845
Author: Fil Dunsky <filipp.dunsky@gmail.com>

dt-bindings: i2c: Add Cortina Systems CS7542 I2C controller

This commit adds the Device Tree binding schema for the Cortina Systems
CS75xx I2C ("Bi-Wire") controller.

> diff --git a/Documentation/devicetree/bindings/i2c/cortina,cs7542-i2c.yaml b/Documentation/devicetree/bindings/i2c/cortina,cs7542-i2c.yaml
> new file mode 100644
> index 0000000000000..095e24379a784
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i2c/cortina,cs7542-i2c.yaml
> @@ -0,0 +1,56 @@

[ ... ]

> +properties:
> +  compatible:
> +    const: cortina,cs7542-i2c
> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    maxItems: 1
> +
> +  clocks:
> +    maxItems: 1
> +
> +  clock-frequency:
> +    maximum: 400000
> +    default: 100000
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - clocks
> +
> +unevaluatedProperties: false
> +
> +examples:
> +  - |
> +    i2c@f00700e8 {
> +        compatible = "cortina,cs7542-i2c";
> +        reg = <0xf00700e8 0x28>;
> +        interrupt-parent = <&intc>;
> +        interrupts = <11>;
> +        clocks = <&apb_clk>;

[Severity: Low]
This isn't a bug, but could clocks be placed before interrupts in properties,
required, and the example node to follow the standard DT binding property
ordering (compatible, reg, clocks, interrupts)?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-cs75xx-i2c-v6-0-2504375e4342@gmail.com?part=1

  reply	other threads:[~2026-11-23  4:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  4:51 [PATCH v6 0/2] i2c: Add Cortina Systems CS75xx I2C controller driver Fil Dunsky via B4 Relay
2026-11-23  4:51 ` [PATCH v6 1/2] dt-bindings: i2c: Add Cortina Systems CS7542 I2C controller Fil Dunsky via B4 Relay
2026-11-23  4:58   ` sashiko-bot [this message]
2026-11-23  4:51 ` [PATCH v6 2/2] i2c: Add Cortina Systems CS75xx I2C controller driver Fil Dunsky via B4 Relay

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-228684@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=filipp.dunsky@gmail.com \
    --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