[PATCHv3 1/4] ARM: dts: r8a7790: Reference both DMA controllers

Geert Uytterhoeven geert at linux-m68k.org
Wed May 11 06:45:17 PDT 2016


Hi Niklas,

On Wed, May 11, 2016 at 3:13 PM, Niklas Söderlund
<niklas.soderlund+renesas at ragnatech.se> wrote:
> R-Car Gen2 have two DMA controllers, which are equivalent. Add
> references to both dmac0 and dmac1 so the driver can choose which one to
> use.
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas at ragnatech.se>
> ---
>  arch/arm/boot/dts/r8a7790.dtsi | 131 ++++++++++++++++++++++++-----------------
>  1 file changed, 78 insertions(+), 53 deletions(-)
>
> diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
> index 83cf23c..14fcd19 100644
> --- a/arch/arm/boot/dts/r8a7790.dtsi
> +++ b/arch/arm/boot/dts/r8a7790.dtsi

> @@ -755,9 +773,9 @@
>                 clocks = <&mstp3_clks R8A7790_CLK_SCIF2>, <&zs_clk>,
>                          <&scif_clk>;
>                 clock-names = "fck", "brg_int", "scif_clk";
> -               dmas = <&dmac0 0x2b>, <&dmac0 0x2c>;
> -               dma-names = "tx", "rx";
> -               power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;

Please keep the above line.

> +               dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
> +                      <&dmac1 0x2b>, <&dmac1 0x2c>;
> +               dma-names = "tx", "rx", "tx", "rx";
>                 status = "disabled";
>         };

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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



More information about the linux-arm-kernel mailing list