summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2011-10-17 14:56:41 +0200
committerVinod Koul <vinod.koul@linux.intel.com>2011-11-10 14:13:33 +0530
commitc511595390a373e19a774246c659b4f563a4c3f3 (patch)
tree79df5e99ecbff0c8d309e603266698448f998d28 /Documentation
parent67348450b86cb1b42aa4dd55cf7cde19c2e53461 (diff)
downloadlinux-c511595390a373e19a774246c659b4f563a4c3f3.tar.gz
linux-c511595390a373e19a774246c659b4f563a4c3f3.tar.bz2
linux-c511595390a373e19a774246c659b4f563a4c3f3.zip
dmaengine: at_hdmac: add device tree support
Add device tree probe support for atmel at_hdmac DMA driver. Bindings are added to specify DMA controller configuration. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/dma/atmel-dma.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/dma/atmel-dma.txt b/Documentation/devicetree/bindings/dma/atmel-dma.txt
new file mode 100644
index 000000000000..3c046ee6e8b5
--- /dev/null
+++ b/Documentation/devicetree/bindings/dma/atmel-dma.txt
@@ -0,0 +1,14 @@
+* Atmel Direct Memory Access Controller (DMA)
+
+Required properties:
+- compatible: Should be "atmel,<chip>-dma"
+- reg: Should contain DMA registers location and length
+- interrupts: Should contain DMA interrupt
+
+Examples:
+
+dma@ffffec00 {
+ compatible = "atmel,at91sam9g45-dma";
+ reg = <0xffffec00 0x200>;
+ interrupts = <21>;
+};