[PATCH] dmaengine: sh: Kconfig: Add ARCH_R9A07G054 dependency for RZ_DMAC config option

Lad Prabhakar posted 1 patch 4 years, 4 months ago
drivers/dma/sh/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] dmaengine: sh: Kconfig: Add ARCH_R9A07G054 dependency for RZ_DMAC config option
Posted by Lad Prabhakar 4 years, 4 months ago
RZ/V2L DMA block is identical to one found on RZ/G2L SoC. This patch adds
ARCH_R9A07G054 dependency for RZ_DMAC config option so that the driver
can be enabled on RZ/V2L SoC. While at it, also update config help text.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
Note: DMA DT documentation and DTSI changes have already been queued up
for RZ/V2L SoC [0].
[0] https://lore.kernel.org/lkml/20220110134659.30424-1-prabhakar.mahadev-lad.rj@bp.renesas.com/T/
---
 drivers/dma/sh/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/dma/sh/Kconfig b/drivers/dma/sh/Kconfig
index a46296285307..b35d705f79e7 100644
--- a/drivers/dma/sh/Kconfig
+++ b/drivers/dma/sh/Kconfig
@@ -49,10 +49,10 @@ config RENESAS_USB_DMAC
 	  SoCs.
 
 config RZ_DMAC
-	tristate "Renesas RZ/G2L DMA Controller"
-	depends on ARCH_R9A07G044 || COMPILE_TEST
+	tristate "Renesas RZ/{G2L,V2L} DMA Controller"
+	depends on ARCH_R9A07G044 || ARCH_R9A07G054 || COMPILE_TEST
 	select RENESAS_DMA
 	select DMA_VIRTUAL_CHANNELS
 	help
 	  This driver supports the general purpose DMA controller found in the
-	  Renesas RZ/G2L SoC variants.
+	  Renesas RZ/{G2L,V2L} SoC variants.
-- 
2.17.1

Re: [PATCH] dmaengine: sh: Kconfig: Add ARCH_R9A07G054 dependency for RZ_DMAC config option
Posted by Geert Uytterhoeven 4 years, 4 months ago
On Mon, Feb 21, 2022 at 11:43 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> RZ/V2L DMA block is identical to one found on RZ/G2L SoC. This patch adds
> ARCH_R9A07G054 dependency for RZ_DMAC config option so that the driver
> can be enabled on RZ/V2L SoC. While at it, also update config help text.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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
Re: [PATCH] dmaengine: sh: Kconfig: Add ARCH_R9A07G054 dependency for RZ_DMAC config option
Posted by Vinod Koul 4 years, 3 months ago
On 21-02-22, 22:43, Lad Prabhakar wrote:
> RZ/V2L DMA block is identical to one found on RZ/G2L SoC. This patch adds
> ARCH_R9A07G054 dependency for RZ_DMAC config option so that the driver
> can be enabled on RZ/V2L SoC. While at it, also update config help text.

Applied, thanks

-- 
~Vinod