[GIT PULL] mtd: spi-nor: Changes for 6.4

Tudor Ambarus tudor.ambarus at linaro.org
Fri Apr 14 07:56:59 PDT 2023


Hello,

This is the SPI NOR PR for 6.4.

Cheers,
ta

The following changes since commit eeac8ede17557680855031c6f305ece2378af326:

  Linux 6.3-rc2 (2023-03-12 16:36:44 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
tags/spi-nor/for-6.4

for you to fetch changes up to df6def86b9dcbc3e8ed4964c7b79b70c9b0c3040:

  mtd: spi-nor: spansion: Add support for s25hl02gt and s25hs02gt
(2023-04-08 09:41:13 +0300)

----------------------------------------------------------------
SPI NOR core changes:
* introduce Read While Write support for flashes featuring several banks
* set the 4-Byte Address Mode method based on SFDP data
* allow post_sfdp hook to return errors
* parse SCCR MC table and introduce support for multi-chip devices

SPI NOR manufacturer drivers changes:
* macronix: add support for mx25uw51245g with RWW
* spansion:
  - determine current address mode at runtime as it can be changed in a
    non-volatile way and differ from factory defaults or from what SFDP
    advertises.
  - enable JFFS2 write buffer mode for few ECC'd NOR flashes: S25FS256T,
    s25hx and s28hx
  - add support for s25hl02gt and s25hs02gt

----------------------------------------------------------------
Miquel Raynal (10):
      mtd: spi-nor: Introduce the concept of bank
      mtd: spi-nor: Add a macro to define more banks
      mtd: spi-nor: Reorder the preparation vs. locking steps
      mtd: spi-nor: Separate preparation and locking
      mtd: spi-nor: Prepare the introduction of a new locking mechanism
      mtd: spi-nor: Add a RWW flag
      mtd: spi-nor: Enhance locking to support reads while writes
      mtd: spi-nor: Fix a trivial typo
      mtd: spi-nor: Delay the initialization of bank_size
      mtd: spi-nor: macronix: Add support for mx25uw51245g with RWW

Takahiro Kuwano (12):
      mtd: spi-nor: spansion: Make RD_ANY_REG_OP macro take number of
dummy bytes
      mtd: spi-nor: spansion: Add support for Infineon S25FS256T
      mtd: spi-nor: spansion: Determine current address mode
      mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon
s28hx SEMPER flash
      mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon
s25hx SEMPER flash
      mtd: spi-nor: spansion: Enable JFFS2 write buffer for S25FS256T
      mtd: spi-nor: Extract volatile register offset from SCCR map
      mtd: spi-nor: sfdp: Add support for SCCR map for multi-chip device
      mtd: spi-nor: spansion: Rework cypress_nor_get_page_size() for
multi-chip device support
      mtd: spi-nor: spansion: Rework cypress_nor_quad_enable_volatile()
for multi-chip device support
      mtd: spi-nor: spansion: Add a new ->ready() hook for multi-chip device
      mtd: spi-nor: spansion: Add support for s25hl02gt and s25hs02gt

Tudor Ambarus (11):
      mtd: spi-nor: core: Move generic method to core -
micron_st_nor_set_4byte_addr_mode
      mtd: spi-nor: core: Update name and description of
micron_st_nor_set_4byte_addr_mode
      mtd: spi-nor: core: Update name and description of
spansion_set_4byte_addr_mode
      mtd: spi-nor: core: Update name and description of
spi_nor_set_4byte_addr_mode
      mtd: spi-nor: core: Make spi_nor_set_4byte_addr_mode_brwr public
      mtd: spi-nor: Set the 4-Byte Address Mode method based on SFDP data
      mtd: spi-nor: Stop exporting spi_nor_restore()
      mtd: spi-nor: core: Update flash's current address mode when
changing address mode
      mtd: spi-nor: core: Introduce spi_nor_set_4byte_addr_mode()
      mtd: spi-nor: spansion: Rename method to cypress_nor_get_page_size
      mtd: spi-nor: Allow post_sfdp hook to return errors

 Documentation/driver-api/mtd/spi-nor.rst |   3 -
 drivers/mtd/spi-nor/core.c               | 502
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 drivers/mtd/spi-nor/core.h               |  36 ++++--
 drivers/mtd/spi-nor/debugfs.c            |   2 +
 drivers/mtd/spi-nor/macronix.c           |  11 +-
 drivers/mtd/spi-nor/micron-st.c          |  36 ++----
 drivers/mtd/spi-nor/otp.c                |   8 +-
 drivers/mtd/spi-nor/sfdp.c               | 107 +++++++++++++++-
 drivers/mtd/spi-nor/sfdp.h               |  27 ++++
 drivers/mtd/spi-nor/spansion.c           | 460
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 drivers/mtd/spi-nor/sst.c                |   2 +-
 drivers/mtd/spi-nor/swp.c                |   6 +-
 drivers/mtd/spi-nor/winbond.c            |  24 ++--
 drivers/mtd/spi-nor/xilinx.c             |   1 +
 include/linux/mtd/spi-nor.h              |  19 ++-
 15 files changed, 1081 insertions(+), 163 deletions(-)



More information about the linux-mtd mailing list