2022-03-17 14:45:05

by Krzysztof Kozlowski

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

Include generic interrupt-controller.yaml schema, which enforces node
naming and other generic properties.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
.../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
--
2.32.0


2022-03-17 16:24:46

by Michael Walle

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

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 <[email protected]>

Acked-by: Michael Walle <[email protected]>

> ---
> .../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