From: Frank Li <Frank.li@oss.nxp.com>
To: Guodong Xu <guodong.xu@oss.qualcomm.com>
Cc: Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>, Yixun Lan <dlan@kernel.org>,
Vinod Koul <vkoul@kernel.org>, Frank Li <Frank.Li@kernel.org>,
"Vincent Mailhol (Arm)" <mailhol@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Guo Ren <guoren@kernel.org>,
linux-riscv@lists.infradead.org, dmaengine@vger.kernel.org,
Guodong Xu <guodong.xu@linux.dev>
Subject: Re: [PATCH 3/8] dmaengine: mmp_pdma: enable by default for ARCH_SPACEMIT
Date: Thu, 3 Dec 2026 15:20:57 -0600 [thread overview]
Message-ID: <axHdOYVLRpzS_S70@SMW015318> (raw)
In-Reply-To: <20261129-riscv-defconfig-cleanup-v1-3-a1499084d8bc@oss.qualcomm.com>
On Sun, Nov 29, 2026 at 07:40:20AM -0500, Guodong Xu wrote:
>
> 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@oss.qualcomm.com>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.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
>
WARNING: multiple messages have this Message-ID (diff)
From: Frank Li <Frank.li@oss.nxp.com>
To: Guodong Xu <guodong.xu@oss.qualcomm.com>
Cc: Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>, Yixun Lan <dlan@kernel.org>,
Vinod Koul <vkoul@kernel.org>, Frank Li <Frank.Li@kernel.org>,
"Vincent Mailhol (Arm)" <mailhol@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Guo Ren <guoren@kernel.org>,
linux-riscv@lists.infradead.org, dmaengine@vger.kernel.org,
Guodong Xu <guodong.xu@linux.dev>
Subject: Re: [PATCH 3/8] dmaengine: mmp_pdma: enable by default for ARCH_SPACEMIT
Date: Thu, 3 Dec 2026 15:20:57 -0600 [thread overview]
Message-ID: <axHdOYVLRpzS_S70@SMW015318> (raw)
In-Reply-To: <20261129-riscv-defconfig-cleanup-v1-3-a1499084d8bc@oss.qualcomm.com>
On Sun, Nov 29, 2026 at 07:40:20AM -0500, Guodong Xu wrote:
>
> 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@oss.qualcomm.com>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.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
>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-12-03 21:21 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
2026-11-29 12:40 ` Guodong Xu
2026-11-29 12:40 ` [PATCH 1/8] riscv: defconfig: drop unused legacy netfilter options Guodong Xu
2026-11-29 12:40 ` Guodong Xu
2026-11-30 8:41 ` Vincent Mailhol (Arm)
2026-11-30 8:41 ` Vincent Mailhol (Arm)
2026-11-29 12:40 ` [PATCH 2/8] riscv: defconfig: drop the removed NFS_V4_1 option Guodong Xu
2026-11-29 12:40 ` Guodong Xu
2026-11-30 8:41 ` Vincent Mailhol (Arm)
2026-11-30 8:41 ` Vincent Mailhol (Arm)
2026-11-29 12:40 ` [PATCH 3/8] dmaengine: mmp_pdma: enable by default for ARCH_SPACEMIT Guodong Xu
2026-11-29 12:40 ` Guodong Xu
2026-12-03 21:20 ` Frank Li [this message]
2026-12-03 21:20 ` Frank Li
2026-11-29 12:40 ` [PATCH 4/8] riscv: defconfig: drop the MMP_PDMA entry Guodong Xu
2026-11-29 12:40 ` Guodong Xu
2026-11-29 12:40 ` [PATCH 5/8] riscv: defconfig: drop IP_NF_TARGET_REDIRECT Guodong Xu
2026-11-29 12:40 ` Guodong Xu
2026-11-29 12:40 ` [PATCH 6/8] riscv: defconfig: drop default or selected options Guodong Xu
2026-11-29 12:40 ` Guodong Xu
2026-11-29 12:40 ` [PATCH 7/8] riscv: defconfig: list two crypto options as modules Guodong Xu
2026-11-29 12:40 ` Guodong Xu
2026-11-29 12:40 ` [PATCH 8/8] riscv: defconfig: move entries to match savedefconfig Guodong Xu
2026-11-29 12:40 ` Guodong Xu
2026-11-30 8:41 ` [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Vincent Mailhol (Arm)
2026-11-30 8:41 ` Vincent Mailhol (Arm)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axHdOYVLRpzS_S70@SMW015318 \
--to=frank.li@oss.nxp.com \
--cc=Frank.Li@kernel.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=dlan@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=guodong.xu@linux.dev \
--cc=guodong.xu@oss.qualcomm.com \
--cc=guoren@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mailhol@kernel.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.