public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Janne Grunau <j@jannau.net>, Hector Martin <marcan@marcan.st>,
	Sven Peter <sven@svenpeter.dev>,
	Alyssa Rosenzweig <alyssa@rosenzweig.io>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Mark Kettenis <kettenis@openbsd.org>
Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Marc Zyngier <maz@kernel.org>
Subject: Re: [PATCH v2 05/16] dt-bindings: interrupt-controller: apple,aic2: Add apple,t8112-aic compatible
Date: Tue, 14 Feb 2023 12:06:07 +0100	[thread overview]
Message-ID: <c16693a0-d28f-b83f-e2b9-6e4451b68d7c@linaro.org> (raw)
In-Reply-To: <20230202-asahi-t8112-dt-v2-5-22926a283d92@jannau.net>

On 14/02/2023 12:03, Janne Grunau wrote:
> The Apple M2 SoC uses AICv2 and is compatible with the existing driver.
> Add its per-SoC compatible.
> Since multi-die versions of the M2 are not expected decrease
> '#interrupt-cells' to 3 for apple,t8112-aic. This is seamlessly handled
> inside the driver.
> 

Thank you for your patch. There is something to discuss/improve.

>  
> -      The 2nd cell contains the die ID.
> +      The 2nd cell contains the die ID (only present on apple,t6000-aic).
>  
>        The next cell contains the interrupt number.
>          - HW IRQs: interrupt number
> @@ -110,6 +113,20 @@ additionalProperties: false
>  allOf:
>    - $ref: /schemas/interrupt-controller.yaml#
>  
> +if:

This should be under "allOf" (as next entry so "  - if:").

> +  properties:
> +    compatible:
> +      contains:
> +        const: apple,t8112-aic
> +then:
> +  properties:
> +    '#interrupt-cells':
> +      const: 3
> +else:
> +  properties:
> +    '#interrupt-cells':
> +      const: 4
> +
>  examples:
>    - |
>      soc {
> 

Best regards,
Krzysztof


  reply	other threads:[~2023-02-14 11:07 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-14 11:03 [PATCH v2 00/16] Device trees for Apple M2 (t8112) based devices Janne Grunau
2023-02-14 11:03 ` [PATCH v2 01/16] dt-bindings: power: apple,pmgr-pwrstate: Add t8112 compatible Janne Grunau
2023-02-14 11:05   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 02/16] dt-bindings: arm: apple: apple,pmgr: Add t8112-pmgr compatible Janne Grunau
2023-02-14 11:03 ` [PATCH v2 03/16] dt-bindings: watchdog: apple,wdt: Add t8112-wdt compatible Janne Grunau
2023-02-14 11:05   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 04/16] dt-bindings: arm: cpus: Add apple,avalanche & blizzard compatibles Janne Grunau
2023-02-14 11:03 ` [PATCH v2 05/16] dt-bindings: interrupt-controller: apple,aic2: Add apple,t8112-aic compatible Janne Grunau
2023-02-14 11:06   ` Krzysztof Kozlowski [this message]
2023-02-14 11:03 ` [PATCH v2 06/16] dt-bindings: iommu: apple,sart: Add apple,t8112-sart compatible string Janne Grunau
2023-02-14 11:06   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 07/16] dt-bindings: mailbox: apple,mailbox: Add t8112 compatibles Janne Grunau
2023-02-14 11:06   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 08/16] dt-bindings: nvme: apple: Add apple,t8112-nvme-ans2 compatible string Janne Grunau
2023-02-14 11:06   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 09/16] dt-bindings: pci: apple,pcie: Add t8112 support Janne Grunau
2023-02-14 11:07   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 10/16] dt-bindings: pinctrl: apple,pinctrl: Add apple,t8112-pinctrl compatible Janne Grunau
2023-02-14 11:07   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 11/16] dt-bindings: i2c: apple,i2c: Add apple,t8112-i2c compatible Janne Grunau
2023-02-14 11:07   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 12/16] dt-bindings: clock: apple,nco: Add t8112-nco compatible Janne Grunau
2023-02-14 11:07   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 13/16] dt-bindings: sound: apple,mca: Add t8112-mca compatible Janne Grunau
2023-02-14 11:03 ` [PATCH v2 14/16] dt-bindings: dma: apple,admac: Add t8112-admac compatible Janne Grunau
2023-02-14 11:08   ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 15/16] dt-bindings: arm: apple: Add t8112 j413/j473/j493 compatibles Janne Grunau
2023-02-14 11:03 ` [PATCH v2 16/16] arm64: dts: apple: t8112: Initial t8112 (M2) device trees Janne Grunau
2023-02-19 12:36   ` Sven Peter
2023-02-19 13:22     ` Janne Grunau
2023-02-19 13:23       ` Sven Peter

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=c16693a0-d28f-b83f-e2b9-6e4451b68d7c@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=alyssa@rosenzweig.io \
    --cc=asahi@lists.linux.dev \
    --cc=devicetree@vger.kernel.org \
    --cc=j@jannau.net \
    --cc=kettenis@openbsd.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcan@marcan.st \
    --cc=maz@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sven@svenpeter.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