[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5035c3ed-7089-4136-87b4-102e973c1787@gmail.com>
Date: Thu, 29 Aug 2024 20:42:18 +0800
From: Nick Chan <towinchenmi@...il.com>
To: Krzysztof Kozlowski <krzk@...nel.org>, Hector Martin <marcan@...can.st>,
Sven Peter <sven@...npeter.dev>, Alyssa Rosenzweig <alyssa@...enzweig.io>,
Thomas Gleixner <tglx@...utronix.de>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, asahi@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Cc: ~postmarketos/upstreaming@...ts.sr.ht
Subject: Re: [PATCH 1/3] dt-bindings: apple,aic: Document A7-A11 compatibles
On 29/8/2024 19:44, Krzysztof Kozlowski wrote:
> On 29/08/2024 11:03, Nick Chan wrote:
>> Document the compatibles for Apple A7-A11 SoCs.
>>
>> There are three feature levels:
>> - A7-A10: No fast IPI
>> - A11: fast IPI, global only
>> - M1: fast IPI with local and global support
>>
>> Each feature level is an extension of the previous. For example, M1 will
>> also work with the A7 feature level.
>
> It's hard for me to map above to compatibles. Extend the commit msg to
> include names used in the bindings.
Acked. Will be in v2. A description of the feature levels will also be
added to
the description of AIC.
>
>>
>> Signed-off-by: Nick Chan <towinchenmi@...il.com>
>> ---
>> .../bindings/interrupt-controller/apple,aic.yaml | 15 ++++++++++++---
>> 1 file changed, 12 insertions(+), 3 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
>> index 698588e9aa86..28e09b933087 100644
>> --- a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
>> +++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
>> @@ -36,9 +36,18 @@ allOf:
>>
>> properties:
>> compatible:
>> - items:
>> - - const: apple,t8103-aic
>> - - const: apple,aic
>> + oneOf:
>> + - const: apple,s5l8960x-aic
>
> Which one is this?
>
>> + - items:
>> + - enum:
>> + - apple,s8000-aic
>> + - apple,t7000-aic
>> + - apple,t8010-aic
>> + - const: apple,s5l8960x-aic
>> + - items:
>> + - const: apple,t8103-aic
>> + - const: apple,t8015-aic
>
> Why are you changing all existing devices? Test your change, you would
> see here errors.
This part is a bit of a mess from when A11 was supposed to get the M1
compatible. However, now that A11 is found out to be different from M1,
in v2 all of A7-M1 will get its own
SoC-specific compatible, in addition to the "apple,aic" generic
fallback. (you should have already seen the changes in the improper
"resend")
>
>
>
> Best regards,
> Krzysztof
>
Nick Chan
Powered by blists - more mailing lists