public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] mtd: spinand: add OTP support
@ 2025-01-27 15:38 Martin Kurbanov
  2025-01-27 15:38 ` [PATCH v4 1/6] mtd: spinand: make spinand_{read,write}_page global Martin Kurbanov
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Martin Kurbanov @ 2025-01-27 15:38 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
	Ezra Buehler, Cheng Ming Lin, Pratyush Yadav, Daniel Golle,
	Frieder Schrempf, Alexey Romanov
  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:
  v4 since v3 at [1]:
    - Support for factory OTP

  v3 since v2 at [2]:
    - 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 [3]:
    - Make cosmetic changes (Miquel Raynal)

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

Martin Kurbanov (6):
  mtd: spinand: make spinand_{read,write}_page global
  mtd: spinand: add OTP support
  mtd: spinand: make spinand_{wait,otp_page_size} global
  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   |  50 ++++-
 drivers/mtd/nand/spi/esmt.c   |  90 ++++++++-
 drivers/mtd/nand/spi/micron.c | 135 ++++++++++++-
 drivers/mtd/nand/spi/otp.c    | 362 ++++++++++++++++++++++++++++++++++
 include/linux/mtd/spinand.h   | 110 +++++++++++
 6 files changed, 738 insertions(+), 12 deletions(-)
 create mode 100644 drivers/mtd/nand/spi/otp.c

-- 
2.43.0


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

end of thread, other threads:[~2025-02-07 14:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-27 15:38 [PATCH v4 0/6] mtd: spinand: add OTP support Martin Kurbanov
2025-01-27 15:38 ` [PATCH v4 1/6] mtd: spinand: make spinand_{read,write}_page global Martin Kurbanov
2025-01-27 15:38 ` [PATCH v4 2/6] mtd: spinand: add OTP support Martin Kurbanov
2025-01-27 15:38 ` [PATCH v4 3/6] mtd: spinand: make spinand_{wait,otp_page_size} global Martin Kurbanov
2025-01-27 15:38 ` [PATCH v4 4/6] mtd: spinand: otp: add helpers functions Martin Kurbanov
2025-01-27 15:38 ` [PATCH v4 5/6] mtd: spinand: micron: OTP access for MT29F2G01ABAGD Martin Kurbanov
2025-01-27 15:38 ` [PATCH v4 6/6] mtd: spinand: esmt: OTP access for F50{L,D}1G41LB Martin Kurbanov
2025-02-07 14:41 ` [PATCH v4 0/6] mtd: spinand: add OTP support Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox