mbox series

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

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

Message

Martin Kurbanov June 17, 2024, 1:34 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.

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    | 219 ++++++++++++++++++++++++++++++++++
 include/linux/mtd/spinand.h   |  65 ++++++++++
 6 files changed, 506 insertions(+), 12 deletions(-)
 create mode 100644 drivers/mtd/nand/spi/otp.c