diff mbox series

[10/18] dt-bindings: irqchip: microchip, eic: include generic schema

Message ID 20220317115705.450427-9-krzysztof.kozlowski@canonical.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: irqchip: include generic schema | expand

Commit Message

Krzysztof Kozlowski March 17, 2022, 11:56 a.m. UTC
Include generic interrupt-controller.yaml schema, which enforces node
naming and other generic properties.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 .../bindings/interrupt-controller/microchip,eic.yaml         | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Claudiu Beznea March 18, 2022, 10:12 a.m. UTC | #1
On 17.03.2022 13:56, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Include generic interrupt-controller.yaml schema, which enforces node
> naming and other generic properties.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

Acked-by: Claudiu Beznea <claudiu.beznea@microchip.com>

> ---
>  .../bindings/interrupt-controller/microchip,eic.yaml         | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml b/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml
> index 50003880ee6f..6ef8632b3f5e 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml
> @@ -13,6 +13,9 @@ description:
>    This interrupt controller is found in Microchip SoCs (SAMA7G5) and provides
>    support for handling up to 2 external interrupt lines.
> 
> +allOf:
> +  - $ref: /schemas/interrupt-controller.yaml#
> +
>  properties:
>    compatible:
>      enum:
> @@ -51,7 +54,7 @@ required:
>    - clocks
>    - clock-names
> 
> -additionalProperties: false
> +unevaluatedProperties: false
> 
>  examples:
>    - |
> --
> 2.32.0
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml b/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml
index 50003880ee6f..6ef8632b3f5e 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml
@@ -13,6 +13,9 @@  description:
   This interrupt controller is found in Microchip SoCs (SAMA7G5) and provides
   support for handling up to 2 external interrupt lines.
 
+allOf:
+  - $ref: /schemas/interrupt-controller.yaml#
+
 properties:
   compatible:
     enum:
@@ -51,7 +54,7 @@  required:
   - clocks
   - clock-names
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |