]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dmaengine: ti: k3-udma: enable compile testing
authorJohan Hovold <johan@kernel.org>
Mon, 17 Nov 2025 16:18:51 +0000 (17:18 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 Dec 2025 16:07:05 +0000 (21:37 +0530)
There does not seem to be anything preventing the K3 UDMA drivers from
being compile tested (on arm64 as one dependency depends on ARM64) so
enable compile testing for wider build coverage.

Note that the ring accelerator dependency can only be selected when
"TI SOC drivers support" (SOC_TI) is enabled so select that option too.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251117161851.11242-1-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/Kconfig

index dbf168146d35fcedeb199f41e3b46ab22abe04d7..cbc30ab6278326f436061977bd0b575e1c47e95c 100644 (file)
@@ -36,11 +36,12 @@ config DMA_OMAP
 
 config TI_K3_UDMA
        tristate "Texas Instruments UDMA support"
-       depends on ARCH_K3
+       depends on ARCH_K3 || COMPILE_TEST
        depends on TI_SCI_PROTOCOL
        depends on TI_SCI_INTA_IRQCHIP
        select DMA_ENGINE
        select DMA_VIRTUAL_CHANNELS
+       select SOC_TI
        select TI_K3_RINGACC
        select TI_K3_PSIL
         help
@@ -49,7 +50,7 @@ config TI_K3_UDMA
 
 config TI_K3_UDMA_GLUE_LAYER
        tristate "Texas Instruments UDMA Glue layer for non DMAengine users"
-       depends on ARCH_K3
+       depends on ARCH_K3 || COMPILE_TEST
        depends on TI_K3_UDMA
        help
          Say y here to support the K3 NAVSS DMA glue interface