[PATCH v2 0/2] mtd: Add support for reading MTD devices via the nvmem API

Alban albeu at free.fr
Tue Mar 7 00:26:02 PST 2017


Hi all,

First thanks to everybody for the feedback on the first series, I implemented
most of the suggestions in this new version. The biggest change is to
directly integrate in the MTD core instead of using notifiers which allow us
to simplify the code quiet a bit.

During the discussion 2 points showed up, reworking the NVMEM binding and
improving the MTD notifiers. Both are good points but not relevant for
this series, so I left that out for another time.

The NVMEM device ID bug fix found in the first series has already been
applied so I didn't include it again.

Alban (2):
  doc: bindings: Add bindings documentation for mtd nvmem
  mtd: Add support for reading MTD devices via the nvmem API

 .../devicetree/bindings/nvmem/mtd-nvmem.txt        | 33 ++++++++++
 drivers/mtd/Kconfig                                |  9 +++
 drivers/mtd/Makefile                               |  1 +
 drivers/mtd/mtdcore.c                              | 13 ++++
 drivers/mtd/mtdnvmem.c                             | 72 ++++++++++++++++++++++
 drivers/mtd/mtdnvmem.h                             | 25 ++++++++
 include/linux/mtd/mtd.h                            |  4 ++
 7 files changed, 157 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/mtd-nvmem.txt
 create mode 100644 drivers/mtd/mtdnvmem.c
 create mode 100644 drivers/mtd/mtdnvmem.h

-- 
2.7.4




More information about the linux-mtd mailing list