Message ID | 20220317115705.450427-16-krzysztof.kozlowski@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | dt-bindings: irqchip: include generic schema | expand |
On Thu, 17 Mar 2022 04:57:04 PDT (-0700), krzysztof.kozlowski@canonical.com wrote: > 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/sifive,plic-1.0.0.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml > index 27092c6a86c4..e3c08cff89d2 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml > +++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml > @@ -44,6 +44,9 @@ maintainers: > - Paul Walmsley <paul.walmsley@sifive.com> > - Palmer Dabbelt <palmer@dabbelt.com> > > +allOf: > + - $ref: /schemas/interrupt-controller.yaml# > + > properties: > compatible: > oneOf: > @@ -91,7 +94,7 @@ required: > - interrupts-extended > - riscv,ndev > > -additionalProperties: false > +unevaluatedProperties: false > > examples: > - | Acked-by: Palmer Dabbelt <palmer@rivosinc.com> I'm assuming this is going in along with the others. Thanks!
diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml index 27092c6a86c4..e3c08cff89d2 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml @@ -44,6 +44,9 @@ maintainers: - Paul Walmsley <paul.walmsley@sifive.com> - Palmer Dabbelt <palmer@dabbelt.com> +allOf: + - $ref: /schemas/interrupt-controller.yaml# + properties: compatible: oneOf: @@ -91,7 +94,7 @@ required: - interrupts-extended - riscv,ndev -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/sifive,plic-1.0.0.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)