]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dmaengine: sh: Kconfig: Drop ARCH_R7S72100/ARCH_RZG2L dependency
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Thu, 2 Oct 2025 12:47:35 +0000 (13:47 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 16 Oct 2025 12:12:59 +0000 (17:42 +0530)
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>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/Kconfig

index 8184d475a49a185fbe30e977be871a268217e0da..a16c7e83bd14acb1f110b341a870ceb26ebbc07a 100644 (file)
@@ -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