mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sven Peter <sven@svenpeter.dev>
To: Nick Chan <towinchenmi@gmail.com>
Cc: Hector Martin <marcan@marcan.st>,
	Alyssa Rosenzweig <alyssa@rosenzweig.io>,
	Thomas Gleixner <tglx@linutronix.de>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	konrad.dybcio@somainline.org,
	~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH v2 1/4] dt-bindings: apple,aic: Document A7-A11 compatibles
Date: Sat, 31 Aug 2024 08:43:01 +0200	[thread overview]
Message-ID: <5EE567C6-95A1-4441-8D29-E365B975B34F@svenpeter.dev> (raw)
In-Reply-To: <20240831055605.3542-2-towinchenmi@gmail.com>


> On 31. Aug 2024, at 07:57, Nick Chan <towinchenmi@gmail.com> wrote:
> 
> Document and describe the compatibles for Apple A7-A11 SoCs.
> 
> There are three feature levels:
> - apple,aic: No fast IPI, for A7-A10
> - apple,t8015-aic: fast IPI, global only, for A11
> - apple,t8103-aic: fast IPI with local and global support, for M1
> 
> Each feature level is an extension of the previous, for example, M1 will
> also work with the A7 feature level.
> 
> All of A7-M1 gets its own SoC-specific compatible, and the "apple,aic"
> compatible as a fallback.
> 
> Signed-off-by: Nick Chan <towinchenmi@gmail.com>
> ---

Reviewed-by: Sven Peter <sven@svenpeter.dev>


> .../bindings/interrupt-controller/apple,aic.yaml   | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
> index 698588e9aa86..4be9b596a790 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
> @@ -31,13 +31,25 @@ description: |
>   This device also represents the FIQ interrupt sources on platforms using AIC,
>   which do not go through a discrete interrupt controller.
> 
> +  IPIs may be performed via MMIO registers on all variants of AIC. Starting
> +  from A11, system registers may also be used for "fast" IPIs. Starting from
> +  M1, even faster IPIs within the same cluster may be achieved by writing to
> +  a "local" fast IPI register as opposed to using the "global" fast IPI
> +  register.
> +
> allOf:
>   - $ref: /schemas/interrupt-controller.yaml#
> 
> properties:
>   compatible:
>     items:
> -      - const: apple,t8103-aic
> +      - enum:
> +          - apple,s5l8960x-aic
> +          - apple,t7000-aic
> +          - apple,s8000-aic
> +          - apple,t8010-aic
> +          - apple,t8015-aic
> +          - apple,t8103-aic
>       - const: apple,aic
> 
>   interrupt-controller: true
> --
> 2.46.0
> 


  parent reply	other threads:[~2024-08-31  6:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-31  5:48 [PATCH v2 0/4] Add support for A7-A11 AIC Nick Chan
2024-08-31  5:48 ` [PATCH v2 1/4] dt-bindings: apple,aic: Document A7-A11 compatibles Nick Chan
2024-08-31  6:34   ` Krzysztof Kozlowski
2024-08-31  6:43   ` Sven Peter [this message]
2024-08-31  5:48 ` [PATCH v2 2/4] irqchip/apple-aic: Skip unnecessary setting of use_fast_ipi Nick Chan
2024-08-31  6:48   ` Sven Peter
2024-08-31  5:48 ` [PATCH v2 3/4] irqchip/apple-aic: Add a new "Global fast IPIs only" feature level Nick Chan
2024-08-31  7:05   ` Sven Peter
2024-08-31  5:48 ` [PATCH v2 4/4] irqchip/apple-aic: Only access system registers on SoCs which provide them Nick Chan
2024-08-31 10:01   ` 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=5EE567C6-95A1-4441-8D29-E365B975B34F@svenpeter.dev \
    --to=sven@svenpeter.dev \
    --cc=alyssa@rosenzweig.io \
    --cc=asahi@lists.linux.dev \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@somainline.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcan@marcan.st \
    --cc=robh@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=towinchenmi@gmail.com \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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

all inboxes | Powered by JetHome®