Thread (9 messages) 9 messages, 3 authors, 2024-08-29

Re: [PATCH 1/3] dt-bindings: apple,aic: Document A7-A11 compatibles

From: Nick Chan <hidden>
Date: 2024-08-29 12:42:23
Also in: asahi, linux-devicetree, lkml


On 29/8/2024 19:44, Krzysztof Kozlowski wrote:
On 29/08/2024 11:03, Nick Chan wrote:
quoted
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.
quoted
Signed-off-by: Nick Chan <redacted>
---
 .../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?
quoted
+      - 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help