Re: [PATCH v2 3/9] dt-bindings: irq: Add a compatible for the H3 R_INTC

2020-05-28 Thread Rob Herring
On Sun, 24 May 2020 23:12:56 -0500, Samuel Holland wrote:
> The Allwinner H3 SoC contains an R_INTC that is, as far as we know,
> compatible with the R_INTC present in other sun8i/sun50i SoCs starting
> with the A31. Since the R_INTC hardware is undocumented, introduce a new
> compatible for the R_INTC variant in this SoC, in case there turns out
> to be some difference.
> 
> Signed-off-by: Samuel Holland 
> ---
>  .../allwinner,sun7i-a20-sc-nmi.yaml  | 12 +---
>  1 file changed, 5 insertions(+), 7 deletions(-)
> 

Reviewed-by: Rob Herring 


[PATCH v2 3/9] dt-bindings: irq: Add a compatible for the H3 R_INTC

2020-05-24 Thread Samuel Holland
The Allwinner H3 SoC contains an R_INTC that is, as far as we know,
compatible with the R_INTC present in other sun8i/sun50i SoCs starting
with the A31. Since the R_INTC hardware is undocumented, introduce a new
compatible for the R_INTC variant in this SoC, in case there turns out
to be some difference.

Signed-off-by: Samuel Holland 
---
 .../allwinner,sun7i-a20-sc-nmi.yaml  | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git 
a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml
 
b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml
index cf09055da78b..973fe5d17af0 100644
--- 
a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml
+++ 
b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml
@@ -26,15 +26,13 @@ properties:
   - const: allwinner,sun6i-a31-sc-nmi
 deprecated: true
   - const: allwinner,sun7i-a20-sc-nmi
-  - items:
-- const: allwinner,sun8i-a83t-r-intc
-- const: allwinner,sun6i-a31-r-intc
   - const: allwinner,sun9i-a80-sc-nmi
   - items:
-- const: allwinner,sun50i-a64-r-intc
-- const: allwinner,sun6i-a31-r-intc
-  - items:
-- const: allwinner,sun50i-h6-r-intc
+- enum:
+  - allwinner,sun8i-a83t-r-intc
+  - allwinner,sun8i-h3-r-intc
+  - allwinner,sun50i-a64-r-intc
+  - allwinner,sun50i-h6-r-intc
 - const: allwinner,sun6i-a31-r-intc
 
   reg:
-- 
2.24.1