diff mbox series

[05/18] dt-bindings: irqchip: fsl: include generic schema

Message ID 20220317115705.450427-4-krzysztof.kozlowski@canonical.com
State New
Headers show
Series dt-bindings: irqchip: include generic schema | expand

Commit Message

Krzysztof Kozlowski March 17, 2022, 11:56 a.m. UTC
Include generic interrupt-controller.yaml schema, which enforces node
naming and other generic properties.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 .../devicetree/bindings/interrupt-controller/fsl,intmux.yaml | 5 ++++-
 .../bindings/interrupt-controller/fsl,irqsteer.yaml          | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

Comments

Joakim Zhang March 18, 2022, 1:23 a.m. UTC | #1
> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Sent: 2022年3月17日 19:57
> To: Thomas Gleixner <tglx@linutronix.de>; Marc Zyngier <maz@kernel.org>;
> Rob Herring <robh+dt@kernel.org>; Krzysztof Kozlowski
> <krzk+dt@kernel.org>; Andreas Färber <afaerber@suse.de>; Manivannan
> Sadhasivam <mani@kernel.org>; Linus Walleij <linusw@kernel.org>; Imre
> Kaloz <kaloz@openwrt.org>; Krzysztof Halasa <khalasa@piap.pl>; Michael
> Walle <michael@walle.cc>; Mark-PK Tsai <mark-pk.tsai@mediatek.com>;
> Daniel Palmer <daniel@thingy.jp>; Jonathan Neuschäfer
> <j.neuschaefer@gmx.net>; Palmer Dabbelt <palmer@dabbelt.com>; Paul
> Walmsley <paul.walmsley@sifive.com>; Nishanth Menon <nm@ti.com>;
> Tero Kristo <kristo@kernel.org>; Santosh Shilimkar <ssantosh@kernel.org>;
> Neil Armstrong <narmstrong@baylibre.com>; Dinh Nguyen
> <dinguyen@kernel.org>; Cristian Ciocaltea <cristian.ciocaltea@gmail.com>;
> Joakim Zhang <qiangqing.zhang@nxp.com>; Lucas Stach
> <l.stach@pengutronix.de>; Paul Cercueil <paul@crapouillou.net>; Jiaxun
> Yang <jiaxun.yang@flygoat.com>; Claudiu Beznea
> <claudiu.beznea@microchip.com>; Jason Cooper <jason@lakedaemon.net>;
> Paul Burton <paulburton@kernel.org>; Thomas Bogendoerfer
> <tsbogend@alpha.franken.de>; Birger Koblitz <mail@birger-koblitz.de>; Bert
> Vermeulen <bert@biot.com>; John Crispin <john@phrozen.org>; Geert
> Uytterhoeven <geert+renesas@glider.be>; Sagar Kadam
> <sagar.kadam@sifive.com>; Suman Anna <s-anna@ti.com>; Lokesh Vutla
> <lokeshvutla@ti.com>; linux-kernel@vger.kernel.org;
> devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
> linux-actions@lists.infradead.org; openbmc@lists.ozlabs.org;
> linux-riscv@lists.infradead.org; linux-oxnas@groups.io
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Subject: [PATCH 05/18] dt-bindings: irqchip: fsl: include generic schema
> 
> 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: Joakim Zhang <qiangqing.zhang@nxp.com>

Best Regards,
Joakim Zhang
>  .../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@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,irqstee
> +++ r.yaml
> @@ -9,6 +9,9 @@ title: Freescale IRQSTEER Interrupt Multiplexer
>  maintainers:
>    - Lucas Stach <l.stach@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
diff mbox series

Patch

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@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@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:
   - |