[PATCH v2 1/4] spi: nxp_xspi: Add new driver for NXP XSPI controller

Tom Rini trini at konsulko.com
Fri Dec 26 15:57:48 CET 2025


On Fri, Dec 26, 2025 at 10:27:40PM +0800, alice.guo at oss.nxp.com wrote:
> From: Alice Guo <alice.guo at nxp.com>
> 
> Add new driver to support NXP XSPI controller for NOR and NAND flash.
> XSPI controller also uses a programmable sequence engine to provide
> flexibility to support existing and future memory devices. It supports
> single, dual, quad, octal modes of operation.
> 
> Signed-off-by: Ye Li <ye.li at nxp.com>
> Signed-off-by: Alice Guo <alice.guo at nxp.com>
> ---
>  MAINTAINERS            |   1 +
>  drivers/spi/Kconfig    |   7 +
>  drivers/spi/Makefile   |   1 +
>  drivers/spi/nxp_xspi.c | 881 +++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/spi/nxp_xspi.h | 705 +++++++++++++++++++++++++++++++++++++++
>  5 files changed, 1595 insertions(+)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 6ce0bbce13d..262cd85b1f4 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -322,6 +322,7 @@ F:	doc/imx/
>  F:	drivers/mailbox/imx-mailbox.c
>  F:	drivers/remoteproc/imx*
>  F:	drivers/serial/serial_mxc.c
> +F:	drivers/spi/nxp_xspi.c
>  F:	include/imx_container.h
>  
>  ARM HISILICON
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index 2afb15fff1e..f703c880563 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -406,6 +406,13 @@ config NXP_FSPI
>  	  Enable the NXP FlexSPI (FSPI) driver. This driver can be used to
>  	  access the SPI NOR flash on platforms embedding this NXP IP core.
>  
> +config NXP_XSPI
> +	bool "NXP XSPI driver"
> +	depends on SPI_MEM
> +	help
> +	  Enable the NXP External SPI (XSPI) driver. This driver can be used to
> +	  access the SPI NOR/NAND flash on platforms embedding this NXP IP core.

Does this driver build on sandbox? If yes, great, if not, this needs
more specific "depends on" logic.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251226/47cd8faf/attachment.sig>


More information about the U-Boot mailing list