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

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Wed Dec 29 01:19:22 PST 2021


Hello,

This is the SPI NOR PR for 5.17.

Cheers,
ta

The following changes since commit fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:

  Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 5f340402bbfc1ee75e7b62b98f6ad85e14ce587c:

  mtd: spi-nor: Remove debugfs entries that duplicate sysfs entries (2021-12-29 10:22:14 +0200)

----------------------------------------------------------------
SPI NOR core changes:
- Add Pratyush as SPI NOR co-maintainer.
- Flash parameters initialization was done in a spaghetti way. Clean
  flash parameters initialization.
- Rework the flash_info flags and clarify where one should be used.
- Initialize all flash parameters based on JESD216 SFDP where possible.
  Flash parameters and settings that are SFDP discoverable should not be
  duplicated via flash_info flags at flash declaration.
- Remove debugfs entries that duplicate sysfs entries.

SPI NOR manufacturer drivers changes:
- Use late_init() hook in various drivers to make it clear that those
  flash parameters are either not declared in the JESD216 SFDP standard,
  or the SFDP tables which define those flash parameters are not defined
  by the flash.
- Fix mtd size for s3an flashes.
- Write 2 bytes when disabling Octal DTR mode: 1 byte long transactions are
  not allowed in 8D-8D-8D mode.

----------------------------------------------------------------
Flavio Suligoi (1):
      mtd: spi-nor: core: Remove reference to spi-nor.c

Pratyush Yadav (4):
      MAINTAINERS: Add myself as SPI NOR co-maintainer
      mtd: spi-nor: core: use 2 data bytes for template ops
      mtd: spi-nor: spansion: write 2 bytes when disabling Octal DTR mode
      mtd: spi-nor: micron-st: write 2 bytes when disabling Octal DTR mode

Tudor Ambarus (26):
      mtd: spi-nor: core: Fix spi_nor_flash_parameter otp description
      mtd: spi-nor: core: Use container_of to get the pointer to struct spi_nor
      mtd: spi-nor: Get rid of nor->page_size
      mtd: spi-nor: core: Introduce the late_init() hook
      mtd: spi-nor: atmel: Use flash late_init() for locking
      mtd: spi-nor: sst: Use flash late_init() for locking
      mtd: spi-nor: winbond: Use manufacturer late_init() for OTP ops
      mtd: spi-nor: xilinx: Use manufacturer late_init() to set setup method
      mtd: spi-nor: sst: Use manufacturer late_init() to set _write()
      mtd: spi-nor: spansion: Use manufacturer late_init()
      mtd: spi-nor: Fix mtd size for s3an flashes
      mtd: spi-nor: core: Don't use mtd_info in the NOR's probe sequence of calls
      mtd: spi-nor: Introduce spi_nor_set_mtd_info()
      mtd: spi-nor: core: Call spi_nor_post_sfdp_fixups() only when SFDP is defined
      mtd: spi-nor: core: Introduce flash_info mfr_flags
      mtd: spi-nor: Rework the flash_info flags
      mtd: spi-nor: Introduce spi_nor_init_flags()
      mtd: spi-nor: Introduce spi_nor_init_fixup_flags()
      mtd: spi-nor: core: Init all flash parameters based on SFDP where possible
      mtd: spi-nor: core: Move spi_nor_set_addr_width() in spi_nor_setup()
      mtd: spi-nor: winbond: w25q256jvm: Init flash based on SFDP
      mtd: spi-nor: spansion: s25fl256s0: Skip SFDP parsing
      mtd: spi-nor: gigadevice: gd25q256: Init flash based on SFDP
      mtd: spi-nor: issi: is25lp256: Init flash based on SFDP
      mtd: spi-nor: Constify part specific fixup hooks
      mtd: spi-nor: Remove debugfs entries that duplicate sysfs entries

 MAINTAINERS                      |   2 +-
 drivers/mtd/spi-nor/atmel.c      |  79 +++++----
 drivers/mtd/spi-nor/catalyst.c   |  15 +-
 drivers/mtd/spi-nor/core.c       | 556 ++++++++++++++++++++++++++++++++++-----------------------------
 drivers/mtd/spi-nor/core.h       | 217 +++++++++++++++----------
 drivers/mtd/spi-nor/eon.c        |  33 ++--
 drivers/mtd/spi-nor/esmt.c       |  15 +-
 drivers/mtd/spi-nor/everspin.c   |  12 +-
 drivers/mtd/spi-nor/fujitsu.c    |   3 +-
 drivers/mtd/spi-nor/gigadevice.c |  59 ++++---
 drivers/mtd/spi-nor/intel.c      |  12 +-
 drivers/mtd/spi-nor/issi.c       |  62 +++----
 drivers/mtd/spi-nor/macronix.c   | 107 ++++++------
 drivers/mtd/spi-nor/micron-st.c  | 234 +++++++++++++++------------
 drivers/mtd/spi-nor/otp.c        |   2 +-
 drivers/mtd/spi-nor/sfdp.c       |  20 +++
 drivers/mtd/spi-nor/spansion.c   | 184 +++++++++++----------
 drivers/mtd/spi-nor/sst.c        |  96 +++++++----
 drivers/mtd/spi-nor/swp.c        |   2 +-
 drivers/mtd/spi-nor/winbond.c    | 168 +++++++++++--------
 drivers/mtd/spi-nor/xilinx.c     |  21 +--
 drivers/mtd/spi-nor/xmc.c        |  10 +-
 include/linux/mtd/spi-nor.h      |   2 -
 23 files changed, 1081 insertions(+), 830 deletions(-)


More information about the linux-mtd mailing list