[PATCH 05/18] dt-bindings: irqchip: fsl: include generic schema
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Thu Mar 17 22:56:52 AEDT 2022
Include generic interrupt-controller.yaml schema, which enforces node
naming and other generic properties.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
---
.../devicetree/bindings/interrupt-controller/fsl,intmux.yaml | 5 ++++-
.../bindings/interrupt-controller/fsl,irqsteer.yaml | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml b/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml
index 1d6e0f64a807..5ead6b7dcb42 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml
@@ -9,6 +9,9 @@ title: Freescale INTMUX interrupt multiplexer
maintainers:
- Joakim Zhang <qiangqing.zhang at nxp.com>
+allOf:
+ - $ref: /schemas/interrupt-controller.yaml#
+
properties:
compatible:
const: fsl,imx-intmux
@@ -45,7 +48,7 @@ required:
- clocks
- clock-names
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
index bcb5e20fa9ca..4b5080f754ea 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
@@ -9,6 +9,9 @@ title: Freescale IRQSTEER Interrupt Multiplexer
maintainers:
- Lucas Stach <l.stach at pengutronix.de>
+allOf:
+ - $ref: /schemas/interrupt-controller.yaml#
+
properties:
compatible:
oneOf:
@@ -70,7 +73,7 @@ required:
- fsl,channel
- fsl,num-irqs
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.32.0
More information about the openbmc
mailing list