Skip to contentSkip to conversation

mtd: Changes for 7.1

GIT PULL Merged Miquel Raynal 2 participants 2 messages Apr 17 – Apr 18 Memory technology devices (MTD)

lore
Share & tools
lore

Miquel Raynal

author maintainer
#0 lore raw

Hello,

This is the MTD PR for 7.1.

Thanks,
Miquèl

The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

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

for you to fetch changes up to b2a4fe0960aee9a2c8045cfd26fbeacf30b26efe:

Merge tag 'nand/for-7.1' into mtd/next (2026-04-17 21:51:05 +0200)

----------------------------------------------------------------
* MTD changes

mtdconcat finally makes it in, after several years of being merged and reverted.

Baikal SoC support is being removed, so MTD bits are being removed as well.

All the other changes are misc cleanups.

* NAND changes

The main changes happened in the SunXi driver in order to support new versions of the Allwinner NAND controller.

There are also some DT-binding improvements and cleanups.

Finally a couple of actual fixes (Realtek ECC and Winbond SPI NAND), aside with the usual load of misc changes.

* SPI NOR changes

There is only a collection of bugfixes this time around, with no notable changes to the core. Some of the more noteworthy bugfixes listed below.

- Enable die erase on MT35XU02GCBA. We knew this flash needed this fixup since 7f77c561e227 ("mtd: spi-nor: micron-st: add TODO for fixing mt35xu02gcba") but did not add it due to lack of hardware to test on.

- Fix locking on some Winbond w25q series flashes.

- Fix Auto Address Increment (AAI) writes on SST that flashes that start on odd address. The write enable latch needs to be set again after the single byte program.

----------------------------------------------------------------
Ahmed Naseef (1):
mtd: nand: realtek-ecc: relax OOB size check to minimum

Amit Kumar Mahapatra (3):
dt-bindings: mtd: Describe MTD partitions concatenation
mtd: Move struct mtd_concat definition to header file
mtd: Add driver for concatenating devices

Andy Shevchenko (2):
mtd: physmap: physmap-bt1-rom: Remove not-going-to-be-supported code for Baikal SoC
mtd: physmap: Drop leftovers of removed code for Baikal SoC

Chen Ni (1):
mtd: physmap_of_gemini: Fix disabled pinctrl state check

Cosmin Tanislav (2):
mtd: parsers: ofpart: call of_node_put() only in ofpart_fail path
mtd: parsers: ofpart: call of_node_get() for dedicated subpartitions

Eliav Farber (3):
mtd: spi-nor: winbond: Fix locking support for w25q256jwm
mtd: spi-nor: winbond: Fix locking support for w25q64jvm
mtd: spi-nor: winbond: Fix locking support for w25q256jw

Frank Li (7):
dt-bindings: mtd: mxc-nand: add i.MX25 and i.MX27 nand support
mtd: rawnand: gpmi: set chip->of_node to nand@0 child node if present
mtd: rawnand: mxc: set chip->of_node to nand@0 child node if present
mtd: rawnand: ifc: set chip->of_node to nand@0 child node if present
dt-bindings: mtd: refactor NAND bindings and add nand-controller-legacy.yaml
dt-bindings: mtd: gpmi-nand: ref to nand-controller-legacy.yaml
dt-bindings: mtd: mxc-nand: add missing compatible string and ref to nand-controller-legacy.yaml

Haibo Chen (2):
mtd: spi-nor: core: correct the op.dummy.nbytes when check read operations
mtd: spi-nor: micron-st: add SNOR_CMD_PP_8_8_8_DTR sfdp fixup for mt35xu512aba

Haoyu Lu (1):
mtd: spi-nor: micron-st: Enable die erase support for MT35XU02GCBA

James Kim (1):
mtd: docg3: fix use-after-free in docg3_release()

Jonas Gorski (1):
mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation

Luca Ceresoli (1):
mtd: virt_concat: fix kdoc text

Miquel Raynal (5):
mtd: spinand: Clean the flags section
mtd: spinand: winbond: Clarify when to enable the HS bit
mtd: spinand: winbond: Declare the QE bit on W25NxxJW Merge tag 'spi-nor/for-7.1' into mtd/next Merge tag 'nand/for-7.1' into mtd/next

Richard Genoud (9):
mtd: rawnand: sunxi: sunxi_nand_ooblayout_free code clarification
mtd: rawnand: sunxi: fix sunxi_nfc_hw_ecc_read_extra_oob
mtd: rawnand: sunxi: do not count BBM bytes twice
mtd: rawnand: sunxi: replace hard coded value by a define - take2
mtd: rawnand: sunxi: make the code more self-explanatory
mtd: rawnand: sunxi: remove dead code
mtd: rawnand: sunxi: change error prone variable name
mtd: rawnand: sunxi: fix typos in comments
mtd: rawnand: sunxi: introduce maximize variable user data length

Richard Lyu (1):
mtd: nand: Use scoped_guard for mutex in nand_resume

Rosen Penev (3):
mtd: virt_concat: use single allocation for node
mtd: concat: replace alloc + calloc with 1 alloc
mtd: cmdlinepart: use a flexible array member

Sanjaikumar V S (1):
mtd: spi-nor: sst: Fix write enable before AAI sequence

Shiji Yang (1):
mtd: spi-nor: swp: check SR_TB flag when getting tb_mask

Vaibhav Gupta (1):
mtd: rawnand: cafe: Use generic power management

 .../devicetree/bindings/mtd/gpmi-nand.yaml         |   2 +-
 .../devicetree/bindings/mtd/mxc-nand.yaml          |  27 +-
 .../devicetree/bindings/mtd/nand-chip.yaml         |  46 +--
 .../bindings/mtd/nand-controller-legacy.yaml       |  65 ++++
 .../devicetree/bindings/mtd/nand-controller.yaml   |   2 +
 .../devicetree/bindings/mtd/nand-property.yaml     |  64 ++++
 .../bindings/mtd/partitions/partition.yaml         |  20 ++
 .../devicetree/bindings/mtd/raw-nand-chip.yaml     |  74 +---
 .../devicetree/bindings/mtd/raw-nand-property.yaml |  98 ++++++
 drivers/mtd/Kconfig                                |   9 +
 drivers/mtd/Makefile                               |   1 +
 drivers/mtd/devices/docg3.c                        |   3 +-
 drivers/mtd/maps/Kconfig                           |  11 -
 drivers/mtd/maps/Makefile                          |   1 -
 drivers/mtd/maps/physmap-bt1-rom.c                 | 125 -------
 drivers/mtd/maps/physmap-bt1-rom.h                 |  17 -
 drivers/mtd/maps/physmap-core.c                    |   5 -
 drivers/mtd/maps/physmap-gemini.c                  |   2 +-
 drivers/mtd/mtd_virt_concat.c                      | 350 +++++++++++++++++++
 drivers/mtd/mtdconcat.c                            |  17 +-
 drivers/mtd/mtdcore.c                              |  21 ++
 drivers/mtd/mtdpart.c                              |   6 +
 drivers/mtd/nand/ecc-realtek.c                     |  18 +-
 drivers/mtd/nand/raw/cafe_nand.c                   |   7 +-
 drivers/mtd/nand/raw/fsl_ifc_nand.c                |  10 +-
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c         |  11 +-
 drivers/mtd/nand/raw/mxc_nand.c                    |  10 +-
 drivers/mtd/nand/raw/nand_base.c                   |  19 +-
 drivers/mtd/nand/raw/sunxi_nand.c                  | 381 ++++++++++++++++-----
 drivers/mtd/nand/spi/winbond.c                     |  17 +-
 drivers/mtd/parsers/cmdlinepart.c                  |   3 +-
 drivers/mtd/parsers/ofpart_core.c                  |   4 +-
 drivers/mtd/spi-nor/core.c                         |   2 +-
 drivers/mtd/spi-nor/core.h                         |   2 +-
 drivers/mtd/spi-nor/micron-st.c                    |  27 +-
 drivers/mtd/spi-nor/sst.c                          |  13 +
 drivers/mtd/spi-nor/swp.c                          |   4 +-
 drivers/mtd/spi-nor/winbond.c                      |   4 +-
 include/linux/mtd/concat.h                         |  63 +++-
 include/linux/mtd/spinand.h                        |   5 +-
 40 files changed, 1126 insertions(+), 440 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mtd/nand-controller-legacy.yaml
 create mode 100644 Documentation/devicetree/bindings/mtd/nand-property.yaml
 create mode 100644 Documentation/devicetree/bindings/mtd/raw-nand-property.yaml
 delete mode 100644 drivers/mtd/maps/physmap-bt1-rom.c
 delete mode 100644 drivers/mtd/maps/physmap-bt1-rom.h
 create mode 100644 drivers/mtd/mtd_virt_concat.c

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

merge bot Merged
#1 lore raw
The pull request you sent on Fri, 17 Apr 2026 22:04:15 +0200:

The pull request you sent on Fri, 17 Apr 2026 22:04:15 +0200:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8541d8f725c673db3bd741947f27974358b2e163

Thank you!

Signature · 6 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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