[PATCH v3 0/4] Add support for Qcom SMEM based NAND parser

From: Manivannan Sadhasivam
Date: Thu Nov 19 2020 - 02:13:55 EST


Hello,

This series adds support for parsing the partitions defined in Shared
Memory (SMEM) of the Qualcomm platforms supporting NAND interface.
Current parser only supports V3 and V4 of the partition tables.

This series has been tested on SDX55 MTP board which has an onboard NAND
device.

Thanks,
Mani

Changes in v3:

* Handled le32 parameters in parser, collected review from Linus W.

Changes in v2:

* Added additionalProperties: false and removed unit address in binding

Manivannan Sadhasivam (4):
dt-bindings: mtd: partitions: Add binding for Qcom SMEM parser
mtd: parsers: Add Qcom SMEM parser
mtd: rawnand: qcom: Add support for Qcom SMEM parser
mtd: parsers: afs: Fix freeing the part name memory in failure

.../mtd/partitions/qcom,smem-part.yaml | 33 ++++
drivers/mtd/nand/raw/qcom_nandc.c | 4 +-
drivers/mtd/parsers/Kconfig | 8 +
drivers/mtd/parsers/Makefile | 1 +
drivers/mtd/parsers/afs.c | 4 +-
drivers/mtd/parsers/qcomsmempart.c | 170 ++++++++++++++++++
6 files changed, 216 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml
create mode 100644 drivers/mtd/parsers/qcomsmempart.c

--
2.17.1