mbox series

[v2,0/5] mtd: spinand: add OTP support

Message ID 20240827174920.316756-1-mmkurbanov@salutedevices.com
Headers show
Series mtd: spinand: add OTP support | expand

Message

Martin Kurbanov Aug. 27, 2024, 5:48 p.m. UTC
This patchset implements the SPI-NAND OTP functions to allow access to
the SPI-NAND OTP data.
Specific support is added for Micron MT29F2G01ABAGD and ESMT F50L1G41LB/
F50D1G41LB flash chips.

Changelog:
  v2 since v1 at [1]:
    - Make cosmetic changes (Miquel Raynal)

Links:
  [1] https://lore.kernel.org/all/20240617133504.179705-1-mmkurbanov@salutedevices.com/

Martin Kurbanov (5):
  mtd: spinand: make spinand_{read,write}_page global
  mtd: spinand: add OTP support
  mtd: spinand: make spinand_wait() global
  mtd: spinand: micron: OTP access for MT29F2G01ABAGD
  mtd: spinand: esmt: OTP access for F50{L,D}1G41LB

 drivers/mtd/nand/spi/Makefile |   3 +-
 drivers/mtd/nand/spi/core.c   |  45 +++++--
 drivers/mtd/nand/spi/esmt.c   |  69 +++++++++-
 drivers/mtd/nand/spi/micron.c | 117 ++++++++++++++++-
 drivers/mtd/nand/spi/otp.c    | 232 ++++++++++++++++++++++++++++++++++
 include/linux/mtd/spinand.h   |  65 ++++++++++
 6 files changed, 519 insertions(+), 12 deletions(-)
 create mode 100644 drivers/mtd/nand/spi/otp.c