Re: [PATCH 3/3] arm64: renesas: r8a7796: Enable SCIF DMA

2016-09-15 Thread Geert Uytterhoeven
On Wed, Sep 14, 2016 at 6:46 PM, Ulrich Hecht
 wrote:
> Signed-off-by: Ulrich Hecht 

Reviewed-by: Geert Uytterhoeven 

> ---
>  arch/arm64/boot/dts/renesas/r8a7796.dtsi | 12 
>  1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi 
> b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> index e59ded4..d2bbf92 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> @@ -356,6 +356,8 @@
>  < CPG_CORE R8A7796_CLK_S3D1>,
>  <_clk>;
> clock-names = "fck", "brg_int", "scif_clk";
> +   dmas = < 0x51>, < 0x50>;

Same question as for i2c: please add the dmas pointing to dmac2 where
appropriate, if that works.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


[PATCH 3/3] arm64: renesas: r8a7796: Enable SCIF DMA

2016-09-14 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht 
---
 arch/arm64/boot/dts/renesas/r8a7796.dtsi | 12 
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi 
b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index e59ded4..d2bbf92 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -356,6 +356,8 @@
 < CPG_CORE R8A7796_CLK_S3D1>,
 <_clk>;
clock-names = "fck", "brg_int", "scif_clk";
+   dmas = < 0x51>, < 0x50>;
+   dma-names = "tx", "rx";
power-domains = < R8A7796_PD_ALWAYS_ON>;
status = "disabled";
};
@@ -369,6 +371,8 @@
 < CPG_CORE R8A7796_CLK_S3D1>,
 <_clk>;
clock-names = "fck", "brg_int", "scif_clk";
+   dmas = < 0x53>, < 0x52>;
+   dma-names = "tx", "rx";
power-domains = < R8A7796_PD_ALWAYS_ON>;
status = "disabled";
};
@@ -382,6 +386,8 @@
 < CPG_CORE R8A7796_CLK_S3D1>,
 <_clk>;
clock-names = "fck", "brg_int", "scif_clk";
+   dmas = < 0x13>, < 0x12>;
+   dma-names = "tx", "rx";
power-domains = < R8A7796_PD_ALWAYS_ON>;
status = "disabled";
};
@@ -395,6 +401,8 @@
 < CPG_CORE R8A7796_CLK_S3D1>,
 <_clk>;
clock-names = "fck", "brg_int", "scif_clk";
+   dmas = < 0x57>, < 0x56>;
+   dma-names = "tx", "rx";
power-domains = < R8A7796_PD_ALWAYS_ON>;
status = "disabled";
};
@@ -408,6 +416,8 @@
 < CPG_CORE R8A7796_CLK_S3D1>,
 <_clk>;
clock-names = "fck", "brg_int", "scif_clk";
+   dmas = < 0x59>, < 0x58>;
+   dma-names = "tx", "rx";
power-domains = < R8A7796_PD_ALWAYS_ON>;
status = "disabled";
};
@@ -421,6 +431,8 @@
 < CPG_CORE R8A7796_CLK_S3D1>,
 <_clk>;
clock-names = "fck", "brg_int", "scif_clk";
+   dmas = < 0x5b>, < 0x5a>;
+   dma-names = "tx", "rx";
power-domains = < R8A7796_PD_ALWAYS_ON>;
status = "disabled";
};
-- 
2.9.3