Include generic interrupt-controller.yaml schema, which enforces node naming and other generic properties. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx> --- .../renesas,intc-irqpin.yaml | 28 ++++++++++--------- .../interrupt-controller/renesas,irqc.yaml | 5 +++- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.yaml b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.yaml index f4aae56c6469..2a55581e0f4f 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.yaml @@ -65,19 +65,21 @@ required: - '#interrupt-cells' - interrupts -if: - properties: - compatible: - contains: - enum: - - renesas,intc-irqpin-r8a7740 - - renesas,intc-irqpin-sh73a0 -then: - required: - - clocks - - power-domains - -additionalProperties: false +allOf: + - $ref: /schemas/interrupt-controller.yaml# + - if: + properties: + compatible: + contains: + enum: + - renesas,intc-irqpin-r8a7740 + - renesas,intc-irqpin-sh73a0 + then: + required: + - clocks + - power-domains + +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml index 620f01775e42..ab827bd8590f 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml @@ -9,6 +9,9 @@ title: DT bindings for the R-Mobile/R-Car/RZ/G interrupt controller maintainers: - Geert Uytterhoeven <geert+renesas@xxxxxxxxx> +allOf: + - $ref: /schemas/interrupt-controller.yaml# + properties: compatible: items: @@ -70,7 +73,7 @@ required: - interrupts - clocks -additionalProperties: false +unevaluatedProperties: false examples: - | -- 2.32.0