[PATCH 2/3] arm:dts:vf-610:add vybrid DSPI DMA transfer support
Chao Fu
b44548 at freescale.com
Tue Feb 25 01:54:17 EST 2014
From: Chao Fu <B44548 at freescale.com>
DSPI can transfer data in DMA mode or PIO mode.
The ajudgement of using DMA method(use-dma) will be read from dtb.
And add DMA channels info of DSPI.
Signed-off-by: Chao Fu <b44548 at freescale.com>
---
arch/arm/boot/dts/vf610.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index e1e1e51..2fe53c1 100644
--- a/arch/arm/boot/dts/vf610.dtsi
+++ b/arch/arm/boot/dts/vf610.dtsi
@@ -148,6 +148,10 @@
clocks = <&clks VF610_CLK_DSPI0>;
clock-names = "dspi";
spi-num-chipselects = <5>;
+ use-dma;
+ dmas = <&edma0 0 12>,
+ <&edma0 0 13>;
+ dma-names = "rx", "tx";
status = "disabled";
};
--
1.8.4
More information about the linux-arm-kernel
mailing list