[PATCH 0/7] Add Macronix MX25F0A MFD driver and NAND function
From: Mason Yang
Date: Thu Mar 28 2019 - 06:00:52 EST
Hi,
These patches support
1. Add Macronix MX25F0A MFD driver for SPI and raw NAND controller.
2. Add direct mapping read mode for SPI host controller.
3. Macronix NAND device read retry and randomizer function.
4. Macronix NAND device block protection function.
thanks for your review.
best regards,
Mason
Mason Yang (7):
mfd: Add Macronix MX25F0A MFD controller driver
mtd: rawnand: Add Macronix MX25F0A NAND controller driver
spi: Patch Macronix MX25F0A SPI controller driver
dt-bindings: mfd: Document Macronix MX25F0A controller bindings
spi: Add direct mapping mode for Macronix SPI controller
mtd: rawnand: Add Macronix NAND read retry and randomizer support
mtd: rawnand: Add Macronix NAND block protection driver
.../devicetree/bindings/mfd/mxic-mx25f0a.txt | 66 +++++
drivers/mfd/Kconfig | 9 +
drivers/mfd/Makefile | 1 +
drivers/mfd/mxic-mx25f0a.c | 90 ++++++
drivers/mtd/nand/raw/Kconfig | 6 +
drivers/mtd/nand/raw/Makefile | 1 +
drivers/mtd/nand/raw/mxic_nand.c | 306 +++++++++++++++++++++
drivers/mtd/nand/raw/nand_macronix.c | 216 +++++++++++++++
drivers/spi/spi-mxic.c | 288 +++++++------------
include/linux/mfd/mxic-mx25f0a.h | 176 ++++++++++++
10 files changed, 974 insertions(+), 185 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/mxic-mx25f0a.txt
create mode 100644 drivers/mfd/mxic-mx25f0a.c
create mode 100644 drivers/mtd/nand/raw/mxic_nand.c
create mode 100644 include/linux/mfd/mxic-mx25f0a.h
--
1.9.1