All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: dmaengine: sifive, fu540-c000: include generic schema
@ 2022-03-18 16:20 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-18 16:20 UTC (permalink / raw)
  To: Green Wan, Vinod Koul, Rob Herring, Krzysztof Kozlowski,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Geert Uytterhoeven,
	Alexandre Ghiti, Palmer Debbelt, dmaengine, devicetree,
	linux-riscv, linux-kernel
  Cc: Krzysztof Kozlowski

Include generic dma-controller.yaml schema, which enforces node naming
and other generic properties.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 .../devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml   | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml b/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
index 75ad898c59bc..47c46af25536 100644
--- a/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
+++ b/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
@@ -22,6 +22,9 @@ description: |
 
   https://static.dev.sifive.com/FU540-C000-v1.0.pdf
 
+allOf:
+  - $ref: "dma-controller.yaml#"
+
 properties:
   compatible:
     items:
@@ -41,13 +44,12 @@ required:
   - compatible
   - reg
   - interrupts
-  - '#dma-cells'
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-    dma@3000000 {
+    dma-controller@3000000 {
       compatible = "sifive,fu540-c000-pdma";
       reg = <0x3000000 0x8000>;
       interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>, <30>;
-- 
2.32.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-04-19 13:30 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18 16:20 [PATCH 1/2] dt-bindings: dmaengine: sifive, fu540-c000: include generic schema Krzysztof Kozlowski
2022-03-18 16:20 ` [PATCH 1/2] dt-bindings: dmaengine: sifive,fu540-c000: " Krzysztof Kozlowski
2022-03-18 16:20 ` [PATCH 2/2] riscv: dts: sifive: fu540-c000: align dma node name with dtschema Krzysztof Kozlowski
2022-03-18 16:20   ` Krzysztof Kozlowski
2022-04-19 10:09   ` Krzysztof Kozlowski
2022-04-19 10:09     ` Krzysztof Kozlowski
2022-04-19 10:45     ` Conor.Dooley
2022-04-19 10:45       ` Conor.Dooley
2022-04-19 10:50       ` Krzysztof Kozlowski
2022-04-19 10:50         ` Krzysztof Kozlowski
2022-04-19 10:57         ` Conor.Dooley
2022-04-19 10:57           ` Conor.Dooley
2022-04-19 10:59           ` Krzysztof Kozlowski
2022-04-19 10:59             ` Krzysztof Kozlowski
2022-04-19 12:18             ` Zong Li
2022-04-19 12:18               ` Zong Li
2022-03-21 18:55 ` [PATCH 1/2] dt-bindings: dmaengine: sifive,fu540-c000: include generic schema Rob Herring
2022-03-21 18:55   ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.