[PATCH] dmaengine: sh: Kconfig: Drop ARCH_R7S72100/ARCH_RZG2L dependency

Prabhakar posted 1 patch 2 months, 2 weeks ago
drivers/dma/sh/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dmaengine: sh: Kconfig: Drop ARCH_R7S72100/ARCH_RZG2L dependency
Posted by Prabhakar 2 months, 2 weeks ago
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

The RZ DMA controller is used across multiple Renesas SoCs, not only
RZ/A1 (R7S72100) and RZ/G2L. Limiting the build to these SoCs prevents
enabling the driver on newer platforms such as RZ/V2H(P) and RZ/V2N.

Replace the ARCH_R7S72100 || ARCH_RZG2L dependency with ARCH_RENESAS so
the driver can be built for all Renesas SoCs.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/dma/sh/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/sh/Kconfig b/drivers/dma/sh/Kconfig
index 8184d475a49a..a16c7e83bd14 100644
--- a/drivers/dma/sh/Kconfig
+++ b/drivers/dma/sh/Kconfig
@@ -50,7 +50,7 @@ config RENESAS_USB_DMAC
 
 config RZ_DMAC
 	tristate "Renesas RZ DMA Controller"
-	depends on ARCH_R7S72100 || ARCH_RZG2L || COMPILE_TEST
+	depends on ARCH_RENESAS || COMPILE_TEST
 	select RENESAS_DMA
 	select DMA_VIRTUAL_CHANNELS
 	help
-- 
2.51.0
Re: [PATCH] dmaengine: sh: Kconfig: Drop ARCH_R7S72100/ARCH_RZG2L dependency
Posted by Vinod Koul 2 months ago
On Thu, 02 Oct 2025 13:47:35 +0100, Prabhakar wrote:
> The RZ DMA controller is used across multiple Renesas SoCs, not only
> RZ/A1 (R7S72100) and RZ/G2L. Limiting the build to these SoCs prevents
> enabling the driver on newer platforms such as RZ/V2H(P) and RZ/V2N.
> 
> Replace the ARCH_R7S72100 || ARCH_RZG2L dependency with ARCH_RENESAS so
> the driver can be built for all Renesas SoCs.
> 
> [...]

Applied, thanks!

[1/1] dmaengine: sh: Kconfig: Drop ARCH_R7S72100/ARCH_RZG2L dependency
      commit: bc2c39600212979b6fc836113bde1b707c02f442

Best regards,
-- 
~Vinod
Re: [PATCH] dmaengine: sh: Kconfig: Drop ARCH_R7S72100/ARCH_RZG2L dependency
Posted by Geert Uytterhoeven 2 months, 2 weeks ago
On Thu, 2 Oct 2025 at 14:47, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ DMA controller is used across multiple Renesas SoCs, not only
> RZ/A1 (R7S72100) and RZ/G2L. Limiting the build to these SoCs prevents
> enabling the driver on newer platforms such as RZ/V2H(P) and RZ/V2N.
>
> Replace the ARCH_R7S72100 || ARCH_RZG2L dependency with ARCH_RENESAS so
> the driver can be built for all Renesas SoCs.
>
> 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