aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/dma/jz4780-dma.txt14
-rw-r--r--Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt1
-rw-r--r--Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt1
-rw-r--r--arch/mips/boot/dts/ingenic/jz4740.dtsi15
-rw-r--r--arch/mips/boot/dts/ingenic/jz4770.dtsi30
-rw-r--r--arch/mips/boot/dts/ingenic/jz4780.dtsi3
-rw-r--r--drivers/dma/Kconfig13
-rw-r--r--drivers/dma/Makefile3
-rw-r--r--drivers/dma/at_hdmac.c2
-rw-r--r--drivers/dma/at_xdmac.c4
-rw-r--r--drivers/dma/bcm2835-dma.c8
-rw-r--r--drivers/dma/coh901318.c28
-rw-r--r--drivers/dma/dma-jz4740.c21
-rw-r--r--drivers/dma/dma-jz4780.c289
-rw-r--r--drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c4
-rw-r--r--drivers/dma/dw/core.c5
-rw-r--r--drivers/dma/dw/platform.c2
-rw-r--r--drivers/dma/ep93xx_dma.c21
-rw-r--r--drivers/dma/fsl-edma-common.c626
-rw-r--r--drivers/dma/fsl-edma-common.h233
-rw-r--r--drivers/dma/fsl-edma.c729
-rw-r--r--drivers/dma/fsldma.c4
-rw-r--r--drivers/dma/hsu/hsu.c4
-rw-r--r--drivers/dma/idma64.c9
-rw-r--r--drivers/dma/imx-dma.c20
-rw-r--r--drivers/dma/ioat/init.c16
-rw-r--r--drivers/dma/k3dma.c36
-rw-r--r--drivers/dma/mcf-edma.c317
-rw-r--r--drivers/dma/mmp_tdma.c29
-rw-r--r--drivers/dma/mv_xor.c4
-rw-r--r--drivers/dma/mxs-dma.c3
-rw-r--r--drivers/dma/nbpfaxi.c9
-rw-r--r--drivers/dma/owl-dma.c283
-rw-r--r--drivers/dma/ppc4xx/adma.c2
-rw-r--r--drivers/dma/pxa_dma.c5
-rw-r--r--drivers/dma/sh/rcar-dmac.c3
-rw-r--r--drivers/dma/sh/shdma-arm.h5
-rw-r--r--drivers/dma/sh/shdma-base.c5
-rw-r--r--drivers/dma/sh/shdma-of.c5
-rw-r--r--drivers/dma/sh/shdma-r8a73a4.c5
-rw-r--r--drivers/dma/sh/shdma.h6
-rw-r--r--drivers/dma/sh/shdmac.c6
-rw-r--r--drivers/dma/sh/sudmac.c5
-rw-r--r--drivers/dma/sh/usb-dmac.c5
-rw-r--r--drivers/dma/sprd-dma.c81
-rw-r--r--drivers/dma/st_fdma.c7
-rw-r--r--drivers/dma/ste_dma40.c14
-rw-r--r--drivers/dma/stm32-dma.c20
-rw-r--r--drivers/dma/stm32-mdma.c4
-rw-r--r--drivers/dma/timb_dma.c2
-rw-r--r--include/linux/dma/sprd-dma.h69
-rw-r--r--include/linux/platform_data/dma-ep93xx.h2
-rw-r--r--include/linux/platform_data/dma-mcf-edma.h38
53 files changed, 2108 insertions, 967 deletions
diff --git a/Documentation/devicetree/bindings/dma/jz4780-dma.txt b/Documentation/devicetree/bindings/dma/jz4780-dma.txt
index 03e9cf7b42e0..636fcb26b164 100644
--- a/Documentation/devicetree/bindings/dma/jz4780-dma.txt
+++ b/Documentation/devicetree/bindings/dma/jz4780-dma.txt
@@ -2,8 +2,13 @@
2 2
3Required properties: 3Required properties:
4 4
5- compatible: Should be "ingenic,jz4780-dma" 5- compatible: Should be one of:
6- reg: Should contain the DMA controller registers location and length. 6 * ingenic,jz4740-dma
7 * ingenic,jz4725b-dma
8 * ingenic,jz4770-dma
9 * ingenic,jz4780-dma
10- reg: Should contain the DMA channel registers location and length, followed
11 by the DMA controller registers location and length.
7- interrupts: Should contain the interrupt specifier of the DMA controller. 12- interrupts: Should contain the interrupt specifier of the DMA controller.
8- clocks: Should contain a clock specifier for the JZ4780 PDMA clock. 13- clocks: Should contain a clock specifier for the JZ4780 PDMA clock.
9- #dma-cells: Must be <2>. Number of integer cells in the dmas property of 14- #dma-cells: Must be <2>. Number of integer cells in the dmas property of
@@ -19,9 +24,10 @@ Optional properties:
19 24
20Example: 25Example:
21 26
22dma: dma@13420000 { 27dma: dma-controller@13420000 {
23 compatible = "ingenic,jz4780-dma"; 28 compatible = "ingenic,jz4780-dma";
24 reg = <0x13420000 0x10000>; 29 reg = <0x13420000 0x400
30 0x13421000 0x40>;
25 31
26 interrupt-parent = <&intc>; 32 interrupt-parent = <&intc>;
27 interrupts = <10>; 33 interrupts = <10>;
diff --git a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt b/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt
index 946229c48657..a5a7c3f5a1e3 100644
--- a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt
+++ b/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt
@@ -17,6 +17,7 @@ Required Properties:
17- compatible: "renesas,dmac-<soctype>", "renesas,rcar-dmac" as fallback. 17- compatible: "renesas,dmac-<soctype>", "renesas,rcar-dmac" as fallback.
18 Examples with soctypes are: 18 Examples with soctypes are:
19 - "renesas,dmac-r8a7743" (RZ/G1M) 19 - "renesas,dmac-r8a7743" (RZ/G1M)
20 - "renesas,dmac-r8a7744" (RZ/G1N)
20 - "renesas,dmac-r8a7745" (RZ/G1E) 21 - "renesas,dmac-r8a7745" (RZ/G1E)
21 - "renesas,dmac-r8a77470" (RZ/G1C) 22 - "renesas,dmac-r8a77470" (RZ/G1C)
22 - "renesas,dmac-r8a7790" (R-Car H2) 23 - "renesas,dmac-r8a7790" (R-Car H2)
diff --git a/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt b/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt
index 482e54362d3e..1743017bd948 100644
--- a/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt
+++ b/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt
@@ -4,6 +4,7 @@ Required Properties:
4-compatible: "renesas,<soctype>-usb-dmac", "renesas,usb-dmac" as fallback. 4-compatible: "renesas,<soctype>-usb-dmac", "renesas,usb-dmac" as fallback.
5 Examples with soctypes are: 5 Examples with soctypes are:
6 - "renesas,r8a7743-usb-dmac" (RZ/G1M) 6 - "renesas,r8a7743-usb-dmac" (RZ/G1M)
7 - "renesas,r8a7744-usb-dmac" (RZ/G1N)
7 - "renesas,r8a7745-usb-dmac" (RZ/G1E) 8 - "renesas,r8a7745-usb-dmac" (RZ/G1E)
8 - "renesas,r8a7790-usb-dmac" (R-Car H2) 9 - "renesas,r8a7790-usb-dmac" (R-Car H2)
9 - "renesas,r8a7791-usb-dmac" (R-Car M2-W) 10 - "renesas,r8a7791-usb-dmac" (R-Car M2-W)
diff --git a/arch/mips/boot/dts/ingenic/jz4740.dtsi b/arch/mips/boot/dts/ingenic/jz4740.dtsi
index 26c6b561d6f7..6fb16fd24035 100644
--- a/arch/mips/boot/dts/ingenic/jz4740.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4740.dtsi
@@ -154,6 +154,21 @@
154 clock-names = "baud", "module"; 154 clock-names = "baud", "module";
155 }; 155 };
156 156
157 dmac: dma-controller@13020000 {
158 compatible = "ingenic,jz4740-dma";
159 reg = <0x13020000 0xbc
160 0x13020300 0x14>;
161 #dma-cells = <2>;
162
163 interrupt-parent = <&intc>;
164 interrupts = <29>;
165
166 clocks = <&cgu JZ4740_CLK_DMA>;
167
168 /* Disable dmac until we have something that uses it */
169 status = "disabled";
170 };
171
157 uhc: uhc@13030000 { 172 uhc: uhc@13030000 {
158 compatible = "ingenic,jz4740-ohci", "generic-ohci"; 173 compatible = "ingenic,jz4740-ohci", "generic-ohci";
159 reg = <0x13030000 0x1000>; 174 reg = <0x13030000 0x1000>;
diff --git a/arch/mips/boot/dts/ingenic/jz4770.dtsi b/arch/mips/boot/dts/ingenic/jz4770.dtsi
index 7c2804f3f5f1..49ede6c14ff3 100644
--- a/arch/mips/boot/dts/ingenic/jz4770.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4770.dtsi
@@ -196,6 +196,36 @@
196 status = "disabled"; 196 status = "disabled";
197 }; 197 };
198 198
199 dmac0: dma-controller@13420000 {
200 compatible = "ingenic,jz4770-dma";
201 reg = <0x13420000 0xC0
202 0x13420300 0x20>;
203
204 #dma-cells = <1>;
205
206 clocks = <&cgu JZ4770_CLK_DMA>;
207 interrupt-parent = <&intc>;
208 interrupts = <24>;
209
210 /* Disable dmac0 until we have something that uses it */
211 status = "disabled";
212 };
213
214 dmac1: dma-controller@13420100 {
215 compatible = "ingenic,jz4770-dma";
216 reg = <0x13420100 0xC0
217 0x13420400 0x20>;
218
219 #dma-cells = <1>;
220
221 clocks = <&cgu JZ4770_CLK_DMA>;
222 interrupt-parent = <&intc>;
223 interrupts = <23>;
224