Re: [PATCH 08/18] dt-bindings: irqchip: kontron,sl28cpld: include generic schema

From: Michael Walle
Date: Thu Mar 17 2022 - 10:54:02 EST


Am 2022-03-17 12:56, schrieb Krzysztof Kozlowski:
Include generic interrupt-controller.yaml schema, which enforces node
naming and other generic properties.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>

Acked-by: Michael Walle <michael@xxxxxxxx>

---
.../bindings/interrupt-controller/kontron,sl28cpld-intc.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git
a/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml
b/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml
index e8dfa6507f64..1d0939390631 100644
---
a/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml
+++
b/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml
@@ -29,6 +29,9 @@ description: |
7 n/a not used
==== ============= ==================================

+allOf:
+ - $ref: /schemas/interrupt-controller.yaml#
+
properties:
compatible:
enum:
@@ -51,4 +54,4 @@ required:
- "#interrupt-cells"
- interrupt-controller

-additionalProperties: false
+unevaluatedProperties: false

--
-michael