[PATCH v2 0/4] mtd: spi-nor: OTP support

From: Michael Walle
Date: Fri Sep 11 2020 - 18:27:11 EST


This patchset implements the MTD OTP functions to allow access to the SPI
OTP data. Specific support is added for the Adesto, Macronix and Winbond
flash chips.

In the past there was already an attempt by Rahul Bedarkar to add this, but
there was no response. These patches are slightly based on his work.

https://lore.kernel.org/linux-mtd/1489754636-21461-1-git-send-email-rahul.bedarkar@xxxxxxxxxx/

Michael Walle (4):
mtd: spi-nor: cleanup common code
mtd: spi-nor: add OTP support
mtd: spi-nor: implement OTP support for Macronix and similar flashes
mtd: spi-nor: implement OTP support for Winbond and similar flashes

drivers/mtd/chips/Kconfig | 2 +-
drivers/mtd/spi-nor/atmel.c | 13 +-
drivers/mtd/spi-nor/core.c | 769 ++++++++++++++++++++++++---------
drivers/mtd/spi-nor/core.h | 61 +++
drivers/mtd/spi-nor/macronix.c | 13 +-
drivers/mtd/spi-nor/winbond.c | 18 +-
include/linux/mtd/spi-nor.h | 16 +
7 files changed, 676 insertions(+), 216 deletions(-)

--
2.20.1