aboutsummaryrefslogtreecommitdiff
path: root/Bindings/dma/socionext,uniphier-xdmac.yaml
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-06-05 19:28:32 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-06-05 19:28:32 +0000
commit5df7ea339a6ba20ce6c2a001807a43a7cc1e9fe8 (patch)
treeafa0718f88637c22a2d4a25cf54e32b0e701b338 /Bindings/dma/socionext,uniphier-xdmac.yaml
parent937eaf8bbdcf7e2cd3231b71940f9221e6857210 (diff)
Import DTS files from Linux 5.7vendor/device-tree/5.7
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=361846 svn path=/vendor/device-tree/5.7/; revision=361847; tag=vendor/device-tree/5.7
Diffstat (limited to 'Bindings/dma/socionext,uniphier-xdmac.yaml')
-rw-r--r--Bindings/dma/socionext,uniphier-xdmac.yaml62
1 files changed, 62 insertions, 0 deletions
diff --git a/Bindings/dma/socionext,uniphier-xdmac.yaml b/Bindings/dma/socionext,uniphier-xdmac.yaml
new file mode 100644
index 000000000000..371f18773198
--- /dev/null
+++ b/Bindings/dma/socionext,uniphier-xdmac.yaml
@@ -0,0 +1,62 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/dma/socionext,uniphier-xdmac.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Socionext UniPhier external DMA controller
+
+description: |
+ This describes the devicetree bindings for an external DMA engine to perform
+ memory-to-memory or peripheral-to-memory data transfer capable of supporting
+ 16 channels, implemented in Socionext UniPhier SoCs.
+
+maintainers:
+ - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
+
+allOf:
+ - $ref: "dma-controller.yaml#"
+
+properties:
+ compatible:
+ const: socionext,uniphier-xdmac
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ "#dma-cells":
+ const: 2
+ description: |
+ DMA request from clients consists of 2 cells:
+ 1. Channel index
+ 2. Transfer request factor number, If no transfer factor, use 0.
+ The number is SoC-specific, and this should be specified with
+ relation to the device to use the DMA controller.
+
+ dma-channels:
+ minimum: 1
+ maximum: 16
+
+additionalProperties: false
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - "#dma-cells"
+ - dma-channels
+
+examples:
+ - |
+ xdmac: dma-controller@5fc10000 {
+ compatible = "socionext,uniphier-xdmac";
+ reg = <0x5fc10000 0x5300>;
+ interrupts = <0 188 4>;
+ #dma-cells = <2>;
+ dma-channels = <16>;
+ };
+
+...