All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] mtd: Changes for 7.2
@ 2026-06-21 15:16 Miquel Raynal
  2026-06-21 21:09 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Miquel Raynal @ 2026-06-21 15:16 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Richard Weinberger, Tudor Ambarus, Vignesh Raghavendra,
	Frieder Schrempf, Michael Walle, Pratyush Yadav, linux-mtd,
	Miquel Raynal

Hello,

This is the MTD PR for 7.2. It is a bit late since I was away for the
past 10 days.

Thanks,
Miquèl

The following changes since commit 7fd2df204f342fc17d1a0bfcd474b24232fb0f32:

  Linux 7.1-rc2 (2026-05-03 14:21:25 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-7.2

for you to fetch changes up to 49420dfdedd676befaa999b165a76d8d7eec4fab:

  Merge tag 'nand/for-7.2' into mtd/next (2026-06-21 17:05:45 +0200)

----------------------------------------------------------------
NAND changes:

- Extend SPI NAND continuous read to Winbond devices, which requires
  numerous changes in the spi-{mem,nand} layers such as the need for a
  secondary read operation template.

- Continuous reads in general have also been enhanced/fixed for avoiding
  potential issues at probe time and at block boundaries.

SPI NOR changes:

- Big set of cleanups and improvements to the locking support. This
  series contains some cleanups and bug fixes for code and documentation
  around write protection. Then support is added for complement locking,
  which allows finer grained configuration of what is considered locked
  and unlocked. Then complement locking is enabled on a bunch of Winbond
  W25 flashes.

- Fix die erase support on Spansion flashes. Die erase is only supported
  on multi-die flashes, but the die erase opcode was set for all. When
  the opcode is set, it overrides the default chip erase opcode which
  should be used for single-die flashes. Only set the opcode on
  multi-die flashes. Also, the opcode was not set on multi-die s28hx-t
  flashes. Set it so they can use die-erase correctly.

General changes:

- A few drivers and mappings have been removed following SoCs support
  removal.

- And again, there is the usual load of misc improvements and fixes.

----------------------------------------------------------------
Arnd Bergmann (3):
      mtd: maps: remove AMD Élan specific drivers
      mtd: maps: remove uclinux map driver
      mtd: maps: remove obsolete impa7 map driver

Arseniy Krasnov (1):
      mtd: rawnand: fix condition in 'nand_select_target()'

Bastien Curutchet (1):
      mtd: rawnand: pl353: fix probe resource allocation

Cheng Ming Lin (3):
      dt-bindings: mtd: nand: Add nand-randomizer property
      mtd: spinand: Add support for randomizer
      mtd: spinand: macronix: Enable randomizer support

Florian Fuchs (2):
      mtd: maps: vmu-flash: fix fault in unaligned fixup
      mtd: maps: vmu-flash: fix NULL pointer dereference in initialization

Haoyu Lu (2):
      mtd: mtdoops: replace simple_strtoul with kstrtouint
      mtd: mtdsuper: replace simple_strtoul with kstrtouint

Krzysztof Kozlowski (1):
      mtd: qcom: Unify user-visible "Qualcomm" name

Li Xinyu (1):
      mtd: inftlmount: convert printk(KERN_WARNING) to pr_warn

Markus Elfring (1):
      mtd: cfi: Use common error handling code in two functions

Miquel Raynal (46):
      mtd: spinand: Drop a too strong limitation
      mtd: spinand: Expose spinand_op_is_odtr()
      mtd: spinand: Drop ECC dirmaps
      spi: spi-mem: Transform the read operation template
      spi: spi-mem: Create a secondary read operation
      spi: spi-mem: Add a no_cs_assertion capability
      Merge tag 'mtd/spi-mem-cont-read-for-7.2' into nand/next
      mtd: spinand: Use secondary ops for continuous reads
      mtd: spinand: winbond: Add support for continuous reads on W25NxxJW
      mtd: spinand: winbond: Add support for continuous reads on W35NxxJW
      mtd: spinand: winbond: Create a helper to write the HS bit
      mtd: spinand: winbond: Create a helper to detect the need for the HS bit
      mtd: spinand: winbond: Add support for continuous reads on W25NxxJW
      mtd: spinand: Make sure continuous read is always disabled during probe
      mtd: spinand: Prevent continuous reads on some controllers
      mtd: spi-nor: debugfs: Fix the flags list
      mtd: spi-nor: swp: Improve locking user experience
      mtd: spi-nor: Drop duplicate Kconfig dependency
      mtd: spi-nor: Make sure the QE bit is kept enabled if useful
      mtd: spi-nor: Improve opcodes documentation
      mtd: spi-nor: debugfs: Align variable access with the rest of the file
      mtd: spi-nor: debugfs: Enhance output
      mtd: spi-nor: swp: Explain the MEMLOCK ioctl implementation behaviour
      mtd: spi-nor: swp: Clarify a comment
      mtd: spi-nor: swp: Use a pointer for SR instead of a single byte
      mtd: spi-nor: swp: Create a helper that writes SR, CR and checks
      mtd: spi-nor: swp: Rename a mask
      mtd: spi-nor: swp: Create a TB intermediate variable
      mtd: spi-nor: swp: Create helpers for building the SR register
      mtd: spi-nor: swp: Simplify checking the locked/unlocked range
      mtd: spi-nor: swp: Cosmetic changes
      mtd: spi-nor: Create a local SR cache
      mtd: spi-nor: debugfs: Add locking support
      mtd: spi-nor: debugfs: Add a locked sectors map
      mtd: rawnand: Pause continuous reads at block boundaries
      mtd: spi-nor: Add steps for testing locking support
      mtd: spi-nor: swp: Add support for the complement feature
      mtd: spi-nor: Add steps for testing locking with CMP
      mtd: spi-nor: winbond: Add W25H512NWxxAM CMP locking support
      mtd: spi-nor: winbond: Add W25H01NWxxAM CMP locking support
      mtd: spi-nor: winbond: Add W25H02NWxxAM CMP locking support
      mtd: spi-nor: winbond: Add W25Q01NWxxIQ CMP locking support
      mtd: spi-nor: winbond: Add W25Q01NWxxIM CMP locking support
      mtd: spi-nor: winbond: Add W25Q02NWxxIM CMP locking support
      Merge tag 'spi-nor/for-7.2' into mtd/next
      Merge tag 'nand/for-7.2' into mtd/next

Rosen Penev (3):
      mtd: sm_ftl: allocate cis_buffer with main struct
      mtd: rawnand: qcom: embed nand_controller into qcom_nand_controller
      mtd: rawnand: ndfc: use ioread32be/iowrite32be and allow COMPILE_TEST

Ruoyu Wang (2):
      mtd: slram: remove failed entries from the device list
      mtd: slram: simplify register_device() cleanup

Sean Young (3):
      mtd: ts5500_flash: Remove mapping since board is no longer supported
      mtd: netsc520: Remove mapping since board is no longer supported
      mtd: sc520cdp: Remove mapping since board is no longer supported

Takahiro Kuwano (2):
      mtd: spi-nor: spansion: use die erase for multi-die devices only
      mtd: spi-nor: spansion: add die erase support in s28hx-t

Uwe Kleine-König (The Capable Hub) (1):
      mtd: Consistently define pci_device_ids

 .../devicetree/bindings/mtd/nand-chip.yaml         |   9 +
 Documentation/driver-api/mtd/spi-nor.rst           | 170 ++++++++
 drivers/mtd/chips/cfi_cmdset_0002.c                |  13 +-
 drivers/mtd/chips/cfi_cmdset_0020.c                |  24 +-
 drivers/mtd/devices/slram.c                        |  96 +++--
 drivers/mtd/inftlmount.c                           |  44 +-
 drivers/mtd/maps/Kconfig                           |  53 ---
 drivers/mtd/maps/Makefile                          |   6 -
 drivers/mtd/maps/amd76xrom.c                       |  10 +-
 drivers/mtd/maps/ck804xrom.c                       |   2 +-
 drivers/mtd/maps/esb2rom.c                         |  20 +-
 drivers/mtd/maps/ichxrom.c                         |  17 +-
 drivers/mtd/maps/impa7.c                           | 115 -----
 drivers/mtd/maps/netsc520.c                        | 127 ------
 drivers/mtd/maps/nettel.c                          | 462 ---------------------
 drivers/mtd/maps/pci.c                             |  16 +-
 drivers/mtd/maps/sc520cdp.c                        | 294 -------------
 drivers/mtd/maps/scb2_flash.c                      |   9 +-
 drivers/mtd/maps/ts5500_flash.c                    | 108 -----
 drivers/mtd/maps/uclinux.c                         | 118 ------
 drivers/mtd/maps/vmu-flash.c                       |   7 +-
 drivers/mtd/mtdoops.c                              |   7 +-
 drivers/mtd/mtdsuper.c                             |   8 +-
 drivers/mtd/nand/raw/Kconfig                       |   4 +-
 drivers/mtd/nand/raw/cafe_nand.c                   |   3 +-
 drivers/mtd/nand/raw/denali_pci.c                  |   4 +-
 drivers/mtd/nand/raw/nand_base.c                   |  24 +-
 drivers/mtd/nand/raw/ndfc.c                        |  20 +-
 drivers/mtd/nand/raw/pl35x-nand-controller.c       |   2 +-
 drivers/mtd/nand/raw/qcom_nandc.c                  |  16 +-
 drivers/mtd/nand/raw/r852.c                        |   4 +-
 drivers/mtd/nand/spi/core.c                        | 167 +++++---
 drivers/mtd/nand/spi/macronix.c                    |  38 +-
 drivers/mtd/nand/spi/winbond.c                     | 317 +++++++++++---
 drivers/mtd/sm_ftl.c                               |  30 +-
 drivers/mtd/sm_ftl.h                               |   2 +-
 drivers/mtd/spi-nor/Kconfig                        |   1 -
 drivers/mtd/spi-nor/core.c                         |  98 ++++-
 drivers/mtd/spi-nor/core.h                         |  25 +-
 drivers/mtd/spi-nor/debugfs.c                      |  72 +++-
 drivers/mtd/spi-nor/spansion.c                     |   7 +-
 drivers/mtd/spi-nor/swp.c                          | 363 ++++++++++++----
 drivers/mtd/spi-nor/winbond.c                      |  41 +-
 drivers/spi/spi-airoha-snfi.c                      |   6 +-
 drivers/spi/spi-aspeed-smc.c                       |   4 +-
 drivers/spi/spi-intel.c                            |   6 +-
 drivers/spi/spi-mem.c                              |  32 +-
 drivers/spi/spi-mxic.c                             |  18 +-
 drivers/spi/spi-npcm-fiu.c                         |  16 +-
 drivers/spi/spi-rpc-if.c                           |   8 +-
 drivers/spi/spi-stm32-ospi.c                       |   6 +-
 drivers/spi/spi-stm32-qspi.c                       |   6 +-
 drivers/spi/spi-wpcm-fiu.c                         |   2 +-
 include/linux/mtd/nand-qpic-common.h               |   4 +-
 include/linux/mtd/spi-nor.h                        |   7 +-
 include/linux/mtd/spinand.h                        |  25 +-
 include/linux/spi/spi-mem.h                        |  12 +-
 57 files changed, 1362 insertions(+), 1763 deletions(-)
 delete mode 100644 drivers/mtd/maps/impa7.c
 delete mode 100644 drivers/mtd/maps/netsc520.c
 delete mode 100644 drivers/mtd/maps/nettel.c
 delete mode 100644 drivers/mtd/maps/sc520cdp.c
 delete mode 100644 drivers/mtd/maps/ts5500_flash.c
 delete mode 100644 drivers/mtd/maps/uclinux.c

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2026-06-21 21:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-21 15:16 [GIT PULL] mtd: Changes for 7.2 Miquel Raynal
2026-06-21 21:09 ` pr-tracker-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.