Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Yureka Lilian" <yureka@cyberchaos.dev>
Cc: linux-watchdog@vger.kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 07/10] dt-bindings: i2c: apple,i2c: Add t8132 compatible
Date: Sun, 05 Jul 2026 13:25:37 +0000	[thread overview]
Message-ID: <20260705132537.67E191F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260705-apple-m4-initial-devicetrees-v1-7-e5655ee56523@cyberchaos.dev>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The 'apple,t8132-aic3' (and 'apple,t6030-aic3') compatible strings are omitted from the if-then conditional block that defines the '#interrupt-cells' constraints.
--

commit 0a172829316de760c58e58c389ee943615b44f94
Author: Yureka Lilian <yureka@cyberchaos.dev>

dt-bindings: i2c: apple,i2c: Add t8132 compatible
    
The i2c block on the Apple silicon t8132 (M4) SoC is compatible with the
existing driver. Add "apple,t8132-i2c" as SoC specific compatible under
"apple,t8103-i2c" used by the driver.

> diff --git a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml
> index 9e59200ad37b6..8ce77258e2e5b 100644
> --- a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml
> @@ -25,6 +25,7 @@ properties:
>            - enum:
>                - apple,t6020-i2c
>                - apple,t8122-i2c
> +              - apple,t8132-i2c
>            - const: apple,t8103-i2c

[Severity: Low]
Is there a related regression in the interrupt controller bindings for this
SoC generation in:
Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml?

Looking at the conditional block that defines the constraints:

  - if:
      properties:
        compatible:
          contains:
            enum:
              - apple,t8112-aic
              - apple,t8122-aic3
    then:
      properties:
        '#interrupt-cells':
          const: 3

Are the 'apple,t8132-aic3' (and 'apple,t6030-aic3') compatible strings omitted
from this if-then conditional block that defines the '#interrupt-cells'
constraints?

Failing to include new generational strings in existing conditional blocks
can cause schema validation to be incomplete.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260705-apple-m4-initial-devicetrees-v1-0-e5655ee56523@cyberchaos.dev?part=7

  reply	other threads:[~2026-07-05 13:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-05 13:17 [PATCH 00/10] Initial Apple silicon M4 device trees and dt-bindings Yureka Lilian
2026-07-05 13:17 ` [PATCH 01/10] dt-bindings: arm: cpus: Add Apple M4 CPU core compatibles Yureka Lilian
2026-07-05 13:17 ` [PATCH 02/10] dt-bindings: interrupt-controller: apple,aic2: Add apple,t8132 compatible Yureka Lilian
2026-07-05 13:24   ` sashiko-bot
2026-07-05 13:36     ` Yureka Lilian
2026-07-05 13:17 ` [PATCH 03/10] dt-bindings: watchdog: apple,wdt: Add t8132 compatible Yureka Lilian
2026-07-05 13:17 ` [PATCH 04/10] dt-bindings: arm: apple: apple,pmgr: " Yureka Lilian
2026-07-05 13:27   ` sashiko-bot
2026-07-05 13:17 ` [PATCH 05/10] dt-bindings: power: apple,pmgr-pwrstate: " Yureka Lilian
2026-07-05 13:25   ` sashiko-bot
2026-07-05 13:17 ` [PATCH 06/10] dt-bindings: pinctrl: apple,pinctrl: " Yureka Lilian
2026-07-05 13:17 ` [PATCH 07/10] dt-bindings: i2c: apple,i2c: " Yureka Lilian
2026-07-05 13:25   ` sashiko-bot [this message]
2026-07-05 13:17 ` [PATCH 08/10] dt-bindings: pwm: apple,s5l-fpwm: " Yureka Lilian
2026-07-05 13:17 ` [PATCH 09/10] dt-bindings: arm: apple: Add M4 based devices Yureka Lilian
2026-07-05 13:28   ` sashiko-bot
2026-07-05 13:37     ` Yureka Lilian
2026-07-05 13:17 ` [PATCH 10/10] arm64: dts: apple: Add minimal t8132 (M4) device trees Yureka Lilian
2026-07-05 13:28   ` sashiko-bot
2026-07-05 13:44     ` Yureka Lilian

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=20260705132537.67E191F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=yureka@cyberchaos.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