Re: [PATCH 2/2] arm64: dts: renesas: r9a09g057: Add DMA support for RSPI channels
From: Geert Uytterhoeven
Date: Thu Jan 08 2026 - 08:24:47 EST
Hi Prabhakar,
On Mon, 15 Dec 2025 at 17:34, Prabhakar <prabhakar.csengg@xxxxxxxxx> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
>
> Enable DMA support for RSPI channels.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
Thanks for your patch!
> --- a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi
> @@ -705,6 +705,8 @@ rspi0: spi@12800000 {
> clock-names = "pclk", "pclk_sfr", "tclk";
> resets = <&cpg 0x7b>, <&cpg 0x7c>;
> reset-names = "presetn", "tresetn";
> + dmas = <&dmac0 0x448c>, <&dmac0 0x448d>;
> + dma-names = "rx", "tx";
RZ/V2N does not seem to have restrictions about which DMA controllers
can be used by which SPI instance. Hence shouldn't these point to
all five DMA controllers?
dmas = <&dmac0 0x448c>, <&dmac0 0x448d>,
<&dmac1 0x448c>, <&dmac1 0x448d>,
<&dmac2 0x448c>, <&dmac2 0x448d>,
<&dmac3 0x448c>, <&dmac3 0x448d>,
<&dmac4 0x448c>, <&dmac4 0x448d>;
dma-names = "rx", "tx", "rx", "tx", "rx", "tx",
"rx", "tx", "rx", "tx";
Note that this requires updating the DT bindings, as they currently
restrict dma to two entries.
The actual DMA specifier values are OK, so
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
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