[PATCH 3/8] dmaengine: mmp_pdma: enable by default for ARCH_SPACEMIT
Guodong Xu
guodong.xu at oss.qualcomm.com
Sun Nov 29 04:40:20 PST 2026
On SpacemiT K3 the PDMA controller serves the SPI and the I2S
controllers, on K1 the SPI controller. For these platforms MMP_PDMA is
only enabled through an "imply" in the Kconfig entry of the SPI driver,
SPI_SPACEMIT_K1. A configuration without that SPI driver loses the DMA
driver as well, although I2S needs it too.
Give MMP_PDMA a default of its own for ARCH_SPACEMIT, as
SPI_SPACEMIT_K1 and other SpacemiT drivers have.
Signed-off-by: Guodong Xu <guodong.xu at oss.qualcomm.com>
---
The imply in SPI_SPACEMIT_K1 is left as it is.
---
drivers/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 01f96a8257e50..eef2147c10e5f 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -438,6 +438,7 @@ config MILBEAUT_XDMAC
config MMP_PDMA
tristate "MMP PDMA support"
depends on ARCH_MMP || ARCH_PXA || ARCH_SPACEMIT || COMPILE_TEST
+ default m if ARCH_SPACEMIT
select DMA_ENGINE
help
Support the MMP PDMA engine for PXA and MMP platform.
--
2.43.0
More information about the linux-riscv
mailing list