diff mbox series

[12/18] dt-bindings: irqchip: mstar, mst-intc: include generic schema

Message ID 20220317115705.450427-11-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/mstar,mst-intc.yaml        | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Mark-PK Tsai (蔡沛剛) March 17, 2022, 3:09 p.m. UTC | #1
> 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/mstar,mst-intc.yaml        | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml
> index bbf0f26cd008..7cae52490ff5 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml
> @@ -16,6 +16,9 @@ description: |+
>    The HW block exposes a number of interrupt controllers, each
>    can support up to 64 interrupts.
>  
> +allOf:
> +  - $ref: /schemas/interrupt-controller.yaml#
> +
>  properties:
>    compatible:
>      const: mstar,mst-intc
> @@ -49,7 +52,7 @@ required:
>    - reg
>    - mstar,irqs-map-range
>  
> -additionalProperties: false
> +unevaluatedProperties: false
>  
>  examples:
>    - |
> -- 
> 2.32.0

Acked-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>

Thanks.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml
index bbf0f26cd008..7cae52490ff5 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml
@@ -16,6 +16,9 @@  description: |+
   The HW block exposes a number of interrupt controllers, each
   can support up to 64 interrupts.
 
+allOf:
+  - $ref: /schemas/interrupt-controller.yaml#
+
 properties:
   compatible:
     const: mstar,mst-intc
@@ -49,7 +52,7 @@  required:
   - reg
   - mstar,irqs-map-range
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |