[LINUX PATCH v9 0/4] Add arm pl353 smc memory and nand driver for xilinx zynq soc

From: Naga Sureshkumar Relli
Date: Wed Jun 06 2018 - 03:51:31 EST


The following patches add arm pl353 static memory controller driver and nand driver
for xilinx zynq soc. The arm pl353 smc supports two interfaces i.e nand and nor/sram
memory interfaces. The current implementation supports only a single SMC
instance and nand specific configuration.

xilinx zynq TRM link:
http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf

ARM pl353 smc TRM link:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0380g/DDI0380G_smc_pl350_series_r2p1_trm.pdf

Tested Micron MT29F2G08ABAEAWP (On-die capable) and AMD/Spansion S34ML01G1.
This latest series make use of ->exec_op() . Referenced the marvel driver
as pointed by Miquel.

Naga Sureshkumar Relli (4):
Devicetree: Add pl353 smc controller devicetree binding information
memory: pl353: Add driver for arm pl353 static memory controller
Documentation: nand: pl353: Add documentation for controller and
driver
mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

.../bindings/memory-controllers/pl353-smc.txt | 53 +
Documentation/mtd/nand/pl353-nand.txt | 99 ++
drivers/memory/Kconfig | 8 +
drivers/memory/Makefile | 1 +
drivers/memory/pl353-smc.c | 523 +++++++++
drivers/mtd/nand/raw/Kconfig | 7 +
drivers/mtd/nand/raw/Makefile | 3 +
drivers/mtd/nand/raw/pl353_nand.c | 1236 ++++++++++++++++++++
include/linux/platform_data/pl353-smc.h | 29 +
9 files changed, 1959 insertions(+)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt
create mode 100644 Documentation/mtd/nand/pl353-nand.txt
create mode 100644 drivers/memory/pl353-smc.c
create mode 100644 drivers/mtd/nand/raw/pl353_nand.c
create mode 100644 include/linux/platform_data/pl353-smc.h

--
2.7.4