2016-11-10 11:54:15

by Sanchayan

[permalink] [raw]
Subject: [PATCH] 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(+)

diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index 000550f..e9d2847 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -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";
};

--
2.10.2


2016-11-11 22:46:15

by Fabio Estevam

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: vfxxx: Enable DMA for DSPI2 and DSPI3

On Thu, Nov 10, 2016 at 9:45 AM, Sanchayan Maity
<[email protected]> wrote:
> Enable DMA for DSPI2 and DSPI3 on Vybrid.

You missed your Signed-off-by line.

2016-11-12 05:41:41

by Sanchayan

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: vfxxx: Enable DMA for DSPI2 and DSPI3

On 16-11-11 20:46:12, Fabio Estevam wrote:
> On Thu, Nov 10, 2016 at 9:45 AM, Sanchayan Maity
> <[email protected]> wrote:
> > 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.

2016-11-14 12:45:58

by Sanchayan

[permalink] [raw]
Subject: [PATCH v2] ARM: dts: vfxxx: Enable DMA for DSPI2 and DSPI3

Enable DMA for DSPI2 and DSPI3 on Vybrid.

Signed-off-by: Sanchayan Maity <[email protected]>
---
Changes since v1:

Add signed-off-by missing in v1.
---
arch/arm/boot/dts/vfxxx.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index 000550f..e9d2847 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -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";
};

--
2.10.2

2016-11-14 14:09:41

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: vfxxx: Enable DMA for DSPI2 and DSPI3

On Mon, Nov 14, 2016 at 06:07:01PM +0530, Sanchayan Maity wrote:
> Enable DMA for DSPI2 and DSPI3 on Vybrid.
>
> Signed-off-by: Sanchayan Maity <[email protected]>

Applied, thanks.