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

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Thu Jul 28 23:43:50 PDT 2022


Hi,

This is the SPI NOR PR for 5.20. If it's too late in the release cycle
to accept these, I'll queue them for 5.21, just let me know.

Cheers,
ta

The following changes since commit 03c765b0e3b4cb5063276b086c76f7a612856a9a:

  Linux 5.19-rc4 (2022-06-26 14:22:10 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f8cd9f632f4415b1e8838bdca8ab42cfb37a6584:

  mtd: spi-nor: fix spi_nor_spimem_setup_op() call in spi_nor_erase_{sector,chip}() (2022-07-28 05:34:23 +0300)

----------------------------------------------------------------
SPI NOR core changes:
- move SECT_4K_PMC flag out of the core as it's a vendor specific flag
- s/addr_width/addr_nbytes: address width means the number of IO lines
  used for the address, whereas in the code it is used as the number of
  address bytes.
- do not change nor->addr_nbytes at SFDP parsing time. At the SFDP parsing
  time we should not change members of struct spi_nor, but instead fill
  members of struct spi_nor_flash_parameters which could later on be used
  by the callers.
- track flash's internal address mode so that we can use 4B opcodes
  together with opcodes that don't have a 4B opcode correspondent.

SPI NOR manufacturer drivers changes:
- esmt: Rename "f25l32qa" flash name to "f25l32qa-2s".
- micron-st: Skip FSR reading if SPI controller does not support it to
  allow flashes that support FSR to work even when attached to such SPI
  controllers.
- spansion: Add s25hl-t/s25hs-t IDs and fixups.

----------------------------------------------------------------
Michael Walle (1):
      mtd: spi-nor: move SECT_4K_PMC special handling

Mika Westerberg (1):
      mtd: spi-nor: micron-st: Skip FSR reading if SPI controller does not support it

Patrice Chotard (1):
      mtd: spi-nor: fix spi_nor_spimem_setup_op() call in spi_nor_erase_{sector,chip}()

Pratyush Yadav (1):
      MAINTAINERS: Use my kernel.org email

Sungbo Eo (1):
      mtd: spi-nor: esmt: Use correct name of f25l32qa

Takahiro Kuwano (3):
      mtd: spi-nor: core: Return error code from set_4byte_addr_mode()
      mtd: spi-nor: spansion: Add local function to discover page size
      mtd: spi-nor: spansion: Add s25hl-t/s25hs-t IDs and fixups

Tudor Ambarus (4):
      mtd: spi-nor: s/addr_width/addr_nbytes
      mtd: spi-nor: core: Shrink the storage size of the flash_info's addr_nbytes
      mtd: spi-nor: Do not change nor->addr_nbytes at SFDP parsing time
      mtd: spi-nor: core: Track flash's internal address mode

 MAINTAINERS                                 |   2 +-
 drivers/mtd/spi-nor/controllers/hisi-sfc.c  |   2 +-
 drivers/mtd/spi-nor/controllers/nxp-spifi.c |   8 +++----
 drivers/mtd/spi-nor/core.c                  |  70 ++++++++++++++++++++++++++++--------------------------------
 drivers/mtd/spi-nor/core.h                  |  21 +++++++++++-------
 drivers/mtd/spi-nor/debugfs.c               |   2 +-
 drivers/mtd/spi-nor/esmt.c                  |   2 +-
 drivers/mtd/spi-nor/issi.c                  |  31 +++++++++++++++++++++------
 drivers/mtd/spi-nor/micron-st.c             |  12 +++++++++--
 drivers/mtd/spi-nor/otp.c                   |  12 +++++------
 drivers/mtd/spi-nor/sfdp.c                  |  34 ++++++++++++++++--------------
 drivers/mtd/spi-nor/spansion.c              | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------
 drivers/mtd/spi-nor/xilinx.c                |   2 +-
 include/linux/mtd/spi-nor.h                 |   4 ++--
 14 files changed, 278 insertions(+), 109 deletions(-)


More information about the linux-mtd mailing list