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

From: Naga Sureshkumar Relli
Date: Wed Jul 11 2018 - 03:37:17 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().

Naga Sureshkumar Relli (3):
dt-bindings: memory: Add pl353 smc controller devicetree binding
information
memory: pl353: Add driver for arm pl353 static memory controller
mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

.../bindings/memory-controllers/pl353-smc.txt | 47 +
drivers/memory/Kconfig | 10 +
drivers/memory/Makefile | 1 +
drivers/memory/pl353-smc.c | 468 +++++++
drivers/mtd/nand/raw/Kconfig | 7 +
drivers/mtd/nand/raw/Makefile | 1 +
drivers/mtd/nand/raw/pl353_nand.c | 1314 ++++++++++++++++++++
include/linux/pl353-smc.h | 30 +
8 files changed, 1878 insertions(+)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt
create mode 100644 drivers/memory/pl353-smc.c
create mode 100644 drivers/mtd/nand/raw/pl353_nand.c
create mode 100644 include/linux/pl353-smc.h

--
2.7.4