Skip to content

Commit 09f724e

Browse files
krzkrobherring
authored andcommitted
dt-bindings: dmaengine: sifive,fu540-c000: include generic schema
Include generic dma-controller.yaml schema, which enforces node naming and other generic properties. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220318162044.169350-1-krzysztof.kozlowski@canonical.com
1 parent 3f9a075 commit 09f724e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ description: |
2222
2323
https://static.dev.sifive.com/FU540-C000-v1.0.pdf
2424
25+
allOf:
26+
- $ref: "dma-controller.yaml#"
27+
2528
properties:
2629
compatible:
2730
items:
@@ -41,13 +44,12 @@ required:
4144
- compatible
4245
- reg
4346
- interrupts
44-
- '#dma-cells'
4547

46-
additionalProperties: false
48+
unevaluatedProperties: false
4749

4850
examples:
4951
- |
50-
dma@3000000 {
52+
dma-controller@3000000 {
5153
compatible = "sifive,fu540-c000-pdma";
5254
reg = <0x3000000 0x8000>;
5355
interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>, <30>;

0 commit comments

Comments
 (0)