[PATCH v22 00/18] ARM Primecell PL35x support

From: Miquel Raynal
Date: Wed Jun 09 2021 - 04:01:41 EST


I am taking over Naga's series, here are the major changes:
* Cleaning of the SMC bus binding file (and yaml conversion)
* Superficial cleaning and great simplification of the SMC bus driver
* Addition of a yaml file describing the NAND controller
* Full rework of the NAND controller driver. JFFS2 and UBIFS not tested
yet, only bare test tools have been used to proove basic correctness
of the helpers.
* Addition of a couple of MAINTAINERS entries.

A Github branch named pl353 is available on my repository:


Changes in v22:
- Misc typo fixes.
- Light rewording of a few commit titles.
- Not forgetting to Cc: Rob and Krzysztof this time...

Changes in v21:
- Added Rob's Acked-by/Reviewed-by tags.
- Addressed all comments from Rob and Michael about the bindings.
- Tested both JFFS2 and UBIFS with simple file I/O.

Miquel Raynal (18):
dt-binding: memory: pl353-smc: Rephrase the binding
dt-binding: memory: pl353-smc: Document the range property
dt-binding: memory: pl353-smc: Drop the partitioning section
dt-binding: memory: pl353-smc: Describe the child reg property
dt-binding: memory: pl353-smc: Fix the example syntax and style
dt-binding: memory: pl353-smc: Drop unsupported nodes from the example
dt-binding: memory: pl353-smc: Fix the NAND controller node in the
dt-binding: memory: pl353-smc: Enhance the description of the reg
dt-binding: memory: pl353-smc: Convert to yaml
memory: pl353-smc: Fix style
memory: pl353-smc: Rename goto labels
memory: pl353-smc: Let lower level controller drivers handle inits
memory: pl353-smc: Avoid useless acronyms in descriptions
memory: pl353-smc: Declare variables following a reverse christmas
tree order
MAINTAINERS: Add PL353 NAND controller entry
dt-bindings: mtd: pl353-nand: Describe this hardware controller
mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller

.../memory-controllers/arm,pl353-smc.yaml | 133 ++
.../bindings/memory-controllers/pl353-smc.txt | 47 -
.../bindings/mtd/arm,pl353-nand-r2p1.yaml | 57 +
drivers/memory/pl353-smc.c | 314 +----
drivers/mtd/nand/raw/Kconfig | 8 +
drivers/mtd/nand/raw/Makefile | 1 +
drivers/mtd/nand/raw/pl35x-nand-controller.c | 1194 +++++++++++++++++
include/linux/pl353-smc.h | 30 -
9 files changed, 1419 insertions(+), 381 deletions(-)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/arm,pl353-smc.yaml
delete mode 100644 Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt
create mode 100644 Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml
create mode 100644 drivers/mtd/nand/raw/pl35x-nand-controller.c
delete mode 100644 include/linux/pl353-smc.h