Skip to contentSkip to conversation

dt-bindings: dma: Convert apm,xgene-storm-dma to DT schema

PATCH Applied Rob Herring (Arm) 1 participant 2 messages Oct 13, 2025 – Nov 12, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: dma: Convert apm,xgene-storm-dma to DT schema

Convert APM X-Gene Storm DMA binding to DT schema format. It's a straight-forward conversion.

---
 .../bindings/dma/apm,xgene-storm-dma.yaml     | 59 +++++++++++++++++++
 .../devicetree/bindings/dma/apm-xgene-dma.txt | 47 ---------------
 2 files changed, 59 insertions(+), 47 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/dma/apm,xgene-storm-dma.yaml
 delete mode 100644 Documentation/devicetree/bindings/dma/apm-xgene-dma.txt
Documentation/devicetree/bindings/dma/apm,xgene-storm-dma.yaml new file +59 -0
new file mode 100644
index 000000000000..9ca5f7848785
@@ -0,0 +1,59 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/dma/apm,xgene-storm-dma.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: APM X-Gene Storm SoC DMA
+
+maintainers:
+  - Khuong Dinh <[email protected]>
+
+properties:
+  compatible:
+    const: apm,xgene-storm-dma
+
+  reg:
+    items:
+      - description: DMA control and status registers
+      - description: Descriptor ring control and status registers
+      - description: Descriptor ring command registers
+      - description: SoC efuse registers
+
+  interrupts:
+    items:
+      - description: DMA error reporting interrupt
+      - description: DMA channel 0 completion interrupt
+      - description: DMA channel 1 completion interrupt
+      - description: DMA channel 2 completion interrupt
+      - description: DMA channel 3 completion interrupt
+
+  clocks:
+    maxItems: 1
+
+  dma-coherent: true
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - clocks
+
+additionalProperties: false
+
+examples:
+  - |
+    dma@1f270000 {
+        compatible = "apm,xgene-storm-dma";
+        reg = <0x1f270000 0x10000>,
+              <0x1f200000 0x10000>,
+              <0x1b000000 0x400000>,
+              <0x1054a000 0x100>;
+        interrupts = <0x0 0x82 0x4>,
+                    <0x0 0xb8 0x4>,
+                    <0x0 0xb9 0x4>,
+                    <0x0 0xba 0x4>,
+                    <0x0 0xbb 0x4>;
+        dma-coherent;
+        clocks = <&dmaclk 0>;
+    };
Documentation/devicetree/bindings/dma/apm-xgene-dma.txt deleted +0 -47

47 lines not on this page · raw message

Signature · 1 line
2.51.0
author maintainer Applied
#1 lore raw
Quoted 11 lines · Rob Herring (Arm)

Convert APM X-Gene Storm DMA binding to DT schema format. It's a straight-forward conversion.

---
 .../bindings/dma/apm,xgene-storm-dma.yaml     | 59 +++++++++++++++++++
 .../devicetree/bindings/dma/apm-xgene-dma.txt | 47 ---------------
 2 files changed, 59 insertions(+), 47 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/dma/apm,xgene-storm-dma.yaml
 delete mode 100644 Documentation/devicetree/bindings/dma/apm-xgene-dma.txt

Applied, thanks!