[PATCH 0/2] Add the HiSilicon Flash Memory Controller driver

linshunquan 00354166 linshunquan1 at hisilicon.com
Fri Sep 30 01:59:29 PDT 2016


Brief:
The HiSilicon Flash Memory Controller(FMC) is feature-rich that supports
3 interfaces: SPI Nor, SPI Nand and Parallel Nand, choosed by the different
chipselect and boot media of board, these sub-controllers share the same
register block. The transmission protocol of each interface is different
depends on their own framework.

The HiSilicon Spi Nor framework you can refer to:
drivers/mtd/spi-nor/hisi-sfc.c
Documentation/devicetree/bindings/mtd/hisilicon,fmc-spi-nor.txt

Shunquan Lin (2):
  mfd: Add HiSilicon Flash Memory Controller(FMC) driver
  mtd: spi nor: gets resource from HiSilicon Flash Memory Controller
    driver

 .../devicetree/bindings/mfd/hisilicon,hisi-fmc.txt |  62 ++++++++++++
 drivers/mfd/Kconfig                                |  10 ++
 drivers/mfd/Makefile                               |   1 +
 drivers/mfd/hisi_fmc.c                             | 109 +++++++++++++++++++++
 drivers/mtd/spi-nor/hisi-sfc.c                     |  86 ++--------------
 include/linux/mfd/hisi_fmc.h                       |  92 +++++++++++++++++
 6 files changed, 280 insertions(+), 80 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hisi-fmc.txt
 create mode 100644 drivers/mfd/hisi_fmc.c
 create mode 100644 include/linux/mfd/hisi_fmc.h

-- 
2.3.7




More information about the linux-mtd mailing list