Message ID | 20220317115705.450427-3-krzysztof.kozlowski@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | dt-bindings: irqchip: include generic schema | expand |
On Thu, Mar 17, 2022 at 12:56:51PM +0100, Krzysztof Kozlowski wrote: > Include generic interrupt-controller.yaml schema, which enforces node > naming and other generic properties. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Thanks. > --- > .../bindings/interrupt-controller/actions,owl-sirq.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml > index 5da333c644c9..c058810cf475 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml > +++ b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml > @@ -14,6 +14,9 @@ description: | > This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 > and S900) and provides support for handling up to 3 external interrupt lines. > > +allOf: > + - $ref: /schemas/interrupt-controller.yaml# > + > properties: > compatible: > enum: > @@ -46,7 +49,7 @@ required: > - '#interrupt-cells' > - 'interrupts' > > -additionalProperties: false > +unevaluatedProperties: false > > examples: > - | > -- > 2.32.0 >
diff --git a/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml index 5da333c644c9..c058810cf475 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml @@ -14,6 +14,9 @@ description: | This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 and S900) and provides support for handling up to 3 external interrupt lines. +allOf: + - $ref: /schemas/interrupt-controller.yaml# + properties: compatible: enum: @@ -46,7 +49,7 @@ required: - '#interrupt-cells' - 'interrupts' -additionalProperties: false +unevaluatedProperties: false examples: - |
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/actions,owl-sirq.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)