Skip to content

RFC mtd: spi-nor: Tackle stateful modes

Tudor Ambarus linux-mtd lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mtd: spi-nor: Introduce SNOR_F_IO_MODE_EN_VOLATILEdrivers/mtd/spi-nor/core.c drivers/mtd/spi-nor/core.h+12 -01 reply
2/3mtd: spi-nor: Introduce MTD_SPI_NOR_ALLOW_STATEFUL_MODESdrivers/mtd/spi-nor/Kconfig drivers/mtd/spi-nor/core.c+12 -01 reply
3/3mtd: spi-nor: Parse SFDP SCCR Mapdrivers/mtd/spi-nor/sfdp.c+52 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] mtd: spi-nor: Tackle stateful modes

My biggest concern with Pratyush's patches is that the stateful modes case (X-X-X modes that are entered via a non-volatile bit) is not handled. This is an attempt to tackle this problem. Reasons and explanations in the commit messages.

Tudor Ambarus (3):
mtd: spi-nor: Introduce SNOR_F_IO_MODE_EN_VOLATILE
mtd: spi-nor: Introduce MTD_SPI_NOR_ALLOW_STATEFUL_MODES
mtd: spi-nor: Parse SFDP SCCR Map

 drivers/mtd/spi-nor/Kconfig | 10 +++++++
 drivers/mtd/spi-nor/core.c  |  8 ++++++
 drivers/mtd/spi-nor/core.h  |  6 +++++
 drivers/mtd/spi-nor/sfdp.c  | 52 +++++++++++++++++++++++++++++++++++++
 4 files changed, 76 insertions(+)
Signature · 1 line
2.25.1