[PATCH 0/3] spi/mtd generic framework, ti qspi controller and spansion driver

Sourav Poddar sourav.poddar at ti.com
Wed Jun 26 03:41:09 EDT 2013


This patch series add support for the generic spi based flash
framework(spinand_mtd), which can be used used by any spi based flash device to
attach itself to mtd framework. 

The first patch of this series includes both the generic framework and the
the micron device(spinand_lld) making use of the framework.
I picked the first patch as a standalone patch. Can split the generic and
the lld part based on community suggestions.

The second patch is the ti qspi controller driver.
The third patch is the spansion s25fl256s driver, making use of the the
generic spinand_mtd frameowrk.

Test info:
Tested the generic framework(spinand_mtd.c) along with patch(2&3) on my dra7xx board 
for write/erase/read using nand utils.

Compile tested(spinand_lld.c).

Mona Anonuevo (1):
  drivers: mtd: spinand: Add generic spinand frameowrk and micron
    driver.

Sourav Poddar (2):
  drivers: spi: Add qspi flash controller
  drivers: mtd: spinand: Add qspi spansion flash controller

 drivers/mtd/Kconfig                 |    2 +
 drivers/mtd/Makefile                |    2 +
 drivers/mtd/spinand/Kconfig         |   31 ++
 drivers/mtd/spinand/Makefile        |   10 +
 drivers/mtd/spinand/spinand_lld.c   |  776 +++++++++++++++++++++++++++++++++++
 drivers/mtd/spinand/spinand_mtd.c   |  690 +++++++++++++++++++++++++++++++
 drivers/mtd/spinand/ti-qspi-flash.c |  373 +++++++++++++++++
 drivers/spi/Kconfig                 |    6 +
 drivers/spi/Makefile                |    1 +
 drivers/spi/ti-qspi.c               |  352 ++++++++++++++++
 include/linux/mtd/spinand.h         |  155 +++++++
 11 files changed, 2398 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mtd/spinand/Kconfig
 create mode 100644 drivers/mtd/spinand/Makefile
 create mode 100644 drivers/mtd/spinand/spinand_lld.c
 create mode 100644 drivers/mtd/spinand/spinand_mtd.c
 create mode 100644 drivers/mtd/spinand/ti-qspi-flash.c
 create mode 100644 drivers/spi/ti-qspi.c
 create mode 100644 include/linux/mtd/spinand.h




More information about the linux-mtd mailing list