The Renesas R-Car V4H SoC integrates an Imagination Technologies IMG
AXM-8-256 GPU, while R-Car V4M integrates an Imagination Technologies
IMG BXS-4-64 GPU.  Both variants can generate 8 interrupts.

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
 .../bindings/gpu/img,powervr-rogue.yaml       | 22 ++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml 
b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
index e9218e0f363d1848..9bea037602c137a7 100644
--- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
+++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
@@ -35,6 +35,11 @@ properties:
           # work with newer dts.
           - const: img,img-axe
           - const: img,img-rogue
+      - items:
+          - enum:
+              - renesas,r8a779g0-gpu
+          - const: img,img-axm-8-256
+          - const: img,img-rogue
       - items:
           - enum:
               - thead,th1520-gpu
@@ -44,6 +49,7 @@ properties:
           - enum:
               - ti,am62p-gpu
               - ti,j721s2-gpu
+              - renesas,r8a779h0-gpu
           - const: img,img-bxs-4-64
           - const: img,img-rogue
 
@@ -70,7 +76,8 @@ properties:
     minItems: 1
 
   interrupts:
-    maxItems: 1
+    minItems: 1
+    maxItems: 8
 
   power-domains:
     minItems: 1
@@ -173,6 +180,19 @@ allOf:
       required:
         - power-domains
 
+  - if:
+      not:
+        properties:
+          compatible:
+            contains:
+              enum:
+                - renesas,r8a779g0-gpu
+                - renesas,r8a779h0-gpu
+    then:
+      properties:
+        interrupts:
+          maxItems: 1
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
-- 
2.43.0

Reply via email to