All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Yureka Lilian" <yureka@cyberchaos.dev>
Cc: conor+dt@kernel.org, robh@kernel.org, linux-gpio@vger.kernel.org,
	devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org
Subject: Re: [PATCH 02/10] dt-bindings: interrupt-controller: apple,aic2: Add t6041 compatible
Date: Sat, 10 Oct 2026 17:07:45 +0000	[thread overview]
Message-ID: <sashiko-outbox-166759@kernel.org> (raw)
In-Reply-To: <20261010-apple-m4-pro-max-initial-devicetrees-v1-2-781fb3f2d9f6@cyberchaos.dev>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] dt-bindings: missing apple,t6041-aic3 in conditional block and t6050-aic3 typo
- [Low] dt-bindings: aic2: apple,t6050-aic3 missing from properties compatible list
--

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

dt-bindings: interrupt-controller: apple,aic2: Add t6041 compatible

The Apple t604x (M4 Pro/Max) SoCs use an AIC3 as interrupt controller,
same as the previous M3-M4 SoCs.

> diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml
> index e3cadc5ad39d5..fa9d89cb40b1b 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml
> @@ -45,6 +46,7 @@ properties:
>            - enum:
>                - apple,t6030-aic3
>                - apple,t6031-aic3
> +              - apple,t6041-aic3

[Severity: Medium]
This compatible string is correctly introduced here, but it appears to be
missing from the allOf conditional block at the end of the file.

Because apple,t6041-aic3 is missing from the conditional block, schema
validation for valid M4 Max device trees (which specify 4 interrupt cells)
will fall through to the else branch and incorrectly require 3 interrupt
cells.

Will this cause make dt_binding_check and make dtbs_check validation
errors for valid device trees?

>                - apple,t8132-aic3
>                - apple,t8140-aic3
>            - const: apple,t8122-aic3

[ ... ]

> @@ -134,6 +136,7 @@ allOf:
>                - apple,t6000-aic
>                - apple,t6020-aic
>                - apple,t6031-aic3
> +              - apple,t6050-aic3

[Severity: Low]
The string apple,t6050-aic3 is added to this conditional block (which
enforces 4 interrupt cells), but it is omitted from the top-level
properties: compatible list above. 

Is this a typo for apple,t6041-aic3?

Because apple,t6050-aic3 is not declared in the top-level list, its
presence here is dead schema code, and any future device tree using it
will fail schema validation.

>      then:
>        properties:
>          '#interrupt-cells':

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261010-apple-m4-pro-max-initial-devicetrees-v1-0-781fb3f2d9f6@cyberchaos.dev?part=2

  reply	other threads:[~2026-10-10 17:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-10 16:59 [PATCH 00/10] Initial Apple Silicon M4 Pro/Max device trees and dt-bindings Yureka Lilian
2026-10-10 16:59 ` [PATCH 01/10] dt-bindings: watchdog: apple,wdt: Add t6041 compatible Yureka Lilian
2026-10-10 16:59 ` [PATCH 02/10] dt-bindings: interrupt-controller: apple,aic2: " Yureka Lilian
2026-10-10 17:07   ` sashiko-bot [this message]
2026-10-10 17:11   ` Yureka Lilian
2026-10-10 17:16   ` Yureka Lilian
2026-10-10 16:59 ` [PATCH 03/10] dt-bindings: arm: cpus: Add Apple M4 Pro/Max CPU core compatibles Yureka Lilian
2026-10-10 16:59 ` [PATCH 04/10] dt-bindings: arm: power: apple,pmgr-pwrstate: Add t6041 compatible Yureka Lilian
2026-10-10 16:59 ` [PATCH 05/10] dt-bindings: arm: apple: apple,pmgr: " Yureka Lilian
2026-10-10 16:59 ` [PATCH 06/10] dt-bindings: pwm: apple,s5l-fpwm: " Yureka Lilian
2026-10-10 16:59 ` [PATCH 07/10] dt-bindings: pinctrl: apple,pinctrl: " Yureka Lilian
2026-10-11 20:23   ` Linus Walleij
2026-10-12 11:55   ` Yureka Lilian
2026-10-10 16:59 ` [PATCH 08/10] dt-bindings: i2c: apple,i2c: " Yureka Lilian
2026-10-10 16:59 ` [PATCH 09/10] dt-bindings: arm: apple: Add M4 Pro/Max based devices Yureka Lilian
2026-10-10 17:12   ` sashiko-bot
2026-10-10 16:59 ` [PATCH 10/10] arm64: dts: apple: Add minimal t604x (M4 Pro/Max) device trees Yureka Lilian
2026-10-10 17:09   ` 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-166759@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-gpio@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 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.