Message ID | 20220317115705.450427-5-krzysztof.kozlowski@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | dt-bindings: irqchip: include generic schema | expand |
Hi, Le jeu., mars 17 2022 at 12:56:53 +0100, Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> a écrit : > 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: Paul Cercueil <paul@crapouillou.net> Cheers, -Paul > --- > .../bindings/interrupt-controller/ingenic,intc.yaml | 5 > ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git > a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml > b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml > index 0358a7739c8e..74597a98f86c 100644 > --- > a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml > +++ > b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml > @@ -9,6 +9,9 @@ title: Ingenic SoCs interrupt controller devicetree > bindings > maintainers: > - Paul Cercueil <paul@crapouillou.net> > > +allOf: > + - $ref: /schemas/interrupt-controller.yaml# > + > properties: > $nodename: > pattern: "^interrupt-controller@[0-9a-f]+$" > @@ -50,7 +53,7 @@ required: > - "#interrupt-cells" > - interrupt-controller > > -additionalProperties: false > +unevaluatedProperties: false > > examples: > - | > -- > 2.32.0 >
diff --git a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml index 0358a7739c8e..74597a98f86c 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml @@ -9,6 +9,9 @@ title: Ingenic SoCs interrupt controller devicetree bindings maintainers: - Paul Cercueil <paul@crapouillou.net> +allOf: + - $ref: /schemas/interrupt-controller.yaml# + properties: $nodename: pattern: "^interrupt-controller@[0-9a-f]+$" @@ -50,7 +53,7 @@ required: - "#interrupt-cells" - interrupt-controller -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/ingenic,intc.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)