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 |
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 --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: - |
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(-)