[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220317115705.450427-15-krzysztof.kozlowski@canonical.com>
Date: Thu, 17 Mar 2022 12:57:03 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Marc Zyngier <maz@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Andreas Färber <afaerber@...e.de>,
Manivannan Sadhasivam <mani@...nel.org>,
Linus Walleij <linusw@...nel.org>,
Imre Kaloz <kaloz@...nwrt.org>,
Krzysztof Halasa <khalasa@...p.pl>,
Michael Walle <michael@...le.cc>,
Mark-PK Tsai <mark-pk.tsai@...iatek.com>,
Daniel Palmer <daniel@...ngy.jp>,
Jonathan Neuschäfer <j.neuschaefer@....net>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Nishanth Menon <nm@...com>, Tero Kristo <kristo@...nel.org>,
Santosh Shilimkar <ssantosh@...nel.org>,
Neil Armstrong <narmstrong@...libre.com>,
Dinh Nguyen <dinguyen@...nel.org>,
Cristian Ciocaltea <cristian.ciocaltea@...il.com>,
Joakim Zhang <qiangqing.zhang@....com>,
Lucas Stach <l.stach@...gutronix.de>,
Paul Cercueil <paul@...pouillou.net>,
Jiaxun Yang <jiaxun.yang@...goat.com>,
Claudiu Beznea <claudiu.beznea@...rochip.com>,
Jason Cooper <jason@...edaemon.net>,
Paul Burton <paulburton@...nel.org>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Birger Koblitz <mail@...ger-koblitz.de>,
Bert Vermeulen <bert@...t.com>,
John Crispin <john@...ozen.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Sagar Kadam <sagar.kadam@...ive.com>,
Suman Anna <s-anna@...com>, Lokesh Vutla <lokeshvutla@...com>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-actions@...ts.infradead.org, openbmc@...ts.ozlabs.org,
linux-riscv@...ts.infradead.org, linux-oxnas@...ups.io
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Subject: [PATCH 16/18] dt-bindings: irqchip: renesas: include generic schema
Include generic interrupt-controller.yaml schema, which enforces node
naming and other generic properties.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
---
.../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@...der.be>
+allOf:
+ - $ref: /schemas/interrupt-controller.yaml#
+
properties:
compatible:
items:
@@ -70,7 +73,7 @@ required:
- interrupts
- clocks
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.32.0
Powered by blists - more mailing lists