Skip to contentSkip to conversation

ARM: dts: vfxxx: Enable DMA for DSPI2 and DSPI3

PATCH Superseded Sanchayan Maity 3 participants 5 messages Nov 10, 2016 – Nov 14, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: vfxxx: Enable DMA for DSPI2 and DSPI3

Enable DMA for DSPI2 and DSPI3 on Vybrid.

---
 arch/arm/boot/dts/vfxxx.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/vfxxx.dtsi +6 -0
index 000550f..e9d2847 100644
@@ -573,6 +573,9 @@
 				clocks = <&clks VF610_CLK_DSPI2>;
 				clock-names = "dspi";
 				spi-num-chipselects = <2>;
+				dmas = <&edma1 0 10>,
+					<&edma1 0 11>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};
 
@@ -585,6 +588,9 @@
 				clocks = <&clks VF610_CLK_DSPI3>;
 				clock-names = "dspi";
 				spi-num-chipselects = <2>;
+				dmas = <&edma1 0 12>,
+					<&edma1 0 13>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};
 
Signature · 1 line
2.10.2
#1 lore raw
Quoted 1 line · Sanchayan Maity

Enable DMA for DSPI2 and DSPI3 on Vybrid.

You missed your Signed-off-by line.

#2 lore raw
Quoted 5 lines · Fabio Estevam
Quoted 1 line · Sanchayan Maity

Enable DMA for DSPI2 and DSPI3 on Vybrid.

You missed your Signed-off-by line.

Argh...Sorry about that...Will send a follow patch with this fixed.

- Sanchayan.

#3 lore raw

PATCH v2 1/1 ARM: dts: vfxxx: Enable DMA for DSPI2 and DSPI3

In reply to Sanchayan Maity

Enable DMA for DSPI2 and DSPI3 on Vybrid.

---
Changes since v1:

Add signed-off-by missing in v1.

---
 arch/arm/boot/dts/vfxxx.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/vfxxx.dtsi +6 -0
index 000550f..e9d2847 100644
@@ -573,6 +573,9 @@
 				clocks = <&clks VF610_CLK_DSPI2>;
 				clock-names = "dspi";
 				spi-num-chipselects = <2>;
+				dmas = <&edma1 0 10>,
+					<&edma1 0 11>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};
 
@@ -585,6 +588,9 @@
 				clocks = <&clks VF610_CLK_DSPI3>;
 				clock-names = "dspi";
 				spi-num-chipselects = <2>;
+				dmas = <&edma1 0 12>,
+					<&edma1 0 13>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};
 
Signature · 1 line
2.10.2