[PATCH V2 1/2] dt-bindings: dmaengine: Add support for ATCDMAC300 DMA engine

CL Wang posted 2 patches 3 months, 1 week ago
[PATCH V2 1/2] dt-bindings: dmaengine: Add support for ATCDMAC300 DMA engine
Posted by CL Wang 3 months, 1 week ago
Document devicetree bindings for Andes ATCDMAC300 DMA engine

Signed-off-by: CL Wang <cl634@andestech.com>

---
Changes for v2:
 - Add platform-specific compatible string "andestech,qilai-dma" and
   remove "andestech,atcdmac300".
---
 .../bindings/dma/andestech,qilai-dma.yaml     | 51 +++++++++++++++++++
 MAINTAINERS                                   |  6 +++
 2 files changed, 57 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dma/andestech,qilai-dma.yaml

diff --git a/Documentation/devicetree/bindings/dma/andestech,qilai-dma.yaml b/Documentation/devicetree/bindings/dma/andestech,qilai-dma.yaml
new file mode 100644
index 000000000000..c7158e4f4639
--- /dev/null
+++ b/Documentation/devicetree/bindings/dma/andestech,qilai-dma.yaml
@@ -0,0 +1,51 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/dma/andestech,qilai-dma.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Andes ATCDMAC300 DMA Controller
+
+maintainers:
+  - CL Wang <cl634@andestech.com>
+
+allOf:
+  - $ref: dma-controller.yaml#
+
+properties:
+  compatible:
+    const: andestech,qilai-dma
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  "#dma-cells":
+    const: 1
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - "#dma-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+
+    soc {
+        #address-cells = <2>;
+        #size-cells = <2>;
+
+        dma-controller@f0c00000 {
+            compatible = "andestech,qilai-dma";
+            reg = <0x0 0xf0c00000 0x0 0x1000>;
+            interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
+            #dma-cells = <1>;
+        };
+    };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index fe168477caa4..e0b9ef522139 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1778,6 +1778,12 @@ S:	Supported
 F:	drivers/clk/analogbits/*
 F:	include/linux/clk/analogbits*
 
+ANDES DMA DRIVER
+M:	CL Wang <cl634@andestech.com>
+S:	Supported
+F:	Documentation/devicetree/bindings/dma/andestech,qilai-dma.yaml
+F:	drivers/dma/atcdmac300*
+
 ANDROID DRIVERS
 M:	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 M:	Arve Hjønnevåg <arve@android.com>
-- 
2.34.1

Re: [PATCH V2 1/2] dt-bindings: dmaengine: Add support for ATCDMAC300 DMA engine
Posted by Conor Dooley 3 months, 1 week ago
On Wed, Oct 29, 2025 at 10:26:20PM +0800, CL Wang wrote:
> Document devicetree bindings for Andes ATCDMAC300 DMA engine
> 
> Signed-off-by: CL Wang <cl634@andestech.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable