Thread (16 messages) 16 messages, 4 authors, 2019-02-20
STALE2707d

[PATCH 3/3] arm64: dts: sprd: Change 2 cells to provide DMA controller specific information

From: Baolin Wang <hidden>
Date: 2019-01-22 13:21:56
Also in: dmaengine, linux-devicetree, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Change to use 2 cells to provide the channel id and slave id for client.

Signed-off-by: Baolin Wang <redacted>
---
 arch/arm64/boot/dts/sprd/whale2.dtsi |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi
index 34b6ca0..dbd61f8 100644
--- a/arch/arm64/boot/dts/sprd/whale2.dtsi
+++ b/arch/arm64/boot/dts/sprd/whale2.dtsi
@@ -117,7 +117,7 @@
 				compatible = "sprd,sc9860-dma";
 				reg = <0 0x20100000 0 0x4000>;
 				interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
-				#dma-cells = <1>;
+				#dma-cells = <2>;
 				#dma-channels = <32>;
 				clock-names = "enable";
 				clocks = <&apahb_gate CLK_DMA_EB>;
@@ -273,7 +273,7 @@
 			agcp_dma: dma-controller@41580000 {
 				compatible = "sprd,sc9860-dma";
 				reg = <0 0x41580000 0 0x4000>;
-				#dma-cells = <1>;
+				#dma-cells = <2>;
 				#dma-channels = <32>;
 				clock-names = "enable", "ashb_eb";
 				clocks = <&agcp_gate CLK_AGCP_DMAAP_EB>,
-- 
1.7.9.5


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help