linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/7] mtd: spinand: add OTP support
@ 2024-12-26 13:55 Martin Kurbanov
  2024-12-26 13:55 ` [PATCH v3 1/7] mtd: spinand: make spinand_{read,write}_page global Martin Kurbanov
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Martin Kurbanov @ 2024-12-26 13:55 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
	Ezra Buehler, Alexey Romanov, Frieder Schrempf
  Cc: linux-kernel, linux-mtd, kernel, Martin Kurbanov

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:
  v3 since v2 at [1]:
    - Make cosmetic changes (Miquel Raynal)
    - Separate patch to introduce helper functions
    - Use dev_warn() instead of pr_warn()/WARN()
    - New patch for introducing the start_page field when defining OTP
    - Use mem_is_zero()

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

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

Martin Kurbanov (7):
  mtd: spinand: make spinand_{read,write}_page global
  mtd: spinand: add OTP support
  mtd: spinand: make spinand_{wait,otp_page_size} global
  mtd: spinand: add start_page to otp layout
  mtd: spinand: otp: add helpers functions
  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   |  49 ++++++-
 drivers/mtd/nand/spi/esmt.c   |  70 ++++++++-
 drivers/mtd/nand/spi/micron.c | 113 +++++++++++++-
 drivers/mtd/nand/spi/otp.c    | 267 ++++++++++++++++++++++++++++++++++
 include/linux/mtd/spinand.h   |  70 +++++++++
 6 files changed, 560 insertions(+), 12 deletions(-)
 create mode 100644 drivers/mtd/nand/spi/otp.c

-- 
2.43.0


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-12-30 10:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-26 13:55 [PATCH v3 0/7] mtd: spinand: add OTP support Martin Kurbanov
2024-12-26 13:55 ` [PATCH v3 1/7] mtd: spinand: make spinand_{read,write}_page global Martin Kurbanov
2024-12-26 13:55 ` [PATCH v3 2/7] mtd: spinand: add OTP support Martin Kurbanov
2024-12-26 13:55 ` [PATCH v3 3/7] mtd: spinand: make spinand_{wait,otp_page_size} global Martin Kurbanov
2024-12-26 13:55 ` [PATCH v3 4/7] mtd: spinand: add start_page to otp layout Martin Kurbanov
2024-12-30  9:16   ` Miquel Raynal
2024-12-26 13:55 ` [PATCH v3 5/7] mtd: spinand: otp: add helpers functions Martin Kurbanov
2024-12-26 13:55 ` [PATCH v3 6/7] mtd: spinand: micron: OTP access for MT29F2G01ABAGD Martin Kurbanov
2024-12-26 13:55 ` [PATCH v3 7/7] mtd: spinand: esmt: OTP access for F50{L,D}1G41LB Martin Kurbanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).