On Fri, Dec 26, 2025 at 10:27:40PM +0800, [email protected] wrote: > From: Alice Guo <[email protected]> > > 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 <[email protected]> > Signed-off-by: Alice Guo <[email protected]> > --- > 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
signature.asc
Description: PGP signature

