Skip to contentSkip to conversation

mtd: Changes for 7.0

GIT PULL Merged Miquel Raynal 2 participants 2 messages Feb 13 Memory technology devices (MTD)

lore
Share & tools
lore

Miquel Raynal

author maintainer
#0 lore raw

Hello,

This is the MTD PR for 7.0.

Thanks,
Miquèl

The following changes since commit 0f61b1860cc3f52aef9036d7235ed1f017632193:

Linux 6.19-rc5 (2026-01-11 17:03:14 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 7e96d76c74175ef9747f6fc14ee567f89d72153c:

Merge tag 'nand/for-7.0' into mtd/next (2026-02-13 18:10:09 +0100)

----------------------------------------------------------------
* MTD

The ofpart parsing in physmap-core has been prioritized.

There has been a series of conversion to scoped for each OF child loops.

* Bindings

The bulk of the changes consists in binding fixes/updates to restrict the use of undefined properties, which was almost inefficient in the current form because of the nesting of partition nodes and the lack of compatible strings sometimes.

These changes are accompanied by YAML conversions and the addition of a dma-coherent property in the cdns,hp-nfc driver.

* SPI NAND

The major feature this release is the support for octal DTR modes (8D-8D-8D).

Support for Foresee F35SQB002G chips has been added.

Other changes are small misc fixes.

----------------------------------------------------------------
Ahmed Naseef (1):
mtd: spinand: add support for Dosilicon DS35Q1GA/DS35M1GA

Akhila YS (4):
dt-bindings: mtd: microchip,mchp23k256: convert to DT schema
dt-bindings: mtd: st,spi-fsm: convert to DT schema
dt-bindings: mtd: st,spear600-smi: convert to DT schema
dt-bindings: mtd: mxic,multi-itfc-v009-nand-controller: convert to DT schema

Alexander Usyskin (1):
mtd: intel-dg: Fix accessing regions before setting nregions

Alok Tiwari (1):
mtd: rawnand: cadence: Fix return type of CDMA send-and-wait helper

Andrea Scian (2):
mtd: rawnand: pl353: Fix software ECC support
mtd: rawnand: pl353: Add message about ECC mode

Charan Pedumuru (1):
dt-bindings: mtd: nvidia,tegra20-nand: convert to DT schema

Chen Ni (1):
mtd: spinand: winbond: Remove unneeded semicolon

Chenxi Hou (1):
mtd: jedec_probe: fix shift-out-of-bounds UB in JEDEC ID masking

Dan Carpenter (1):
mtd: spi-nor: hisi-sfc: fix refcounting bug in hisi_spi_nor_register_all()

Daniel Palmer (1):
mtd: parsers: ofpart: Remove code/data for disabled custom parsers

David LaPorte (1):
mtd: spinand: Disable continuous read during probe

Geert Uytterhoeven (1):
mtd: rawnand: sunxi: Convert to common field_{get,prep}() helpers

Khairul Anuar Romli (1):
dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property

Krzysztof Kozlowski (7):
mtd: rawnand: brcm: Simplify with scoped for each OF child loop
mtd: rawnand: denali: Simplify with scoped for each OF child loop
mtd: rawnand: ingenic: Simplify with scoped for each OF child loop
mtd: rawnand: qcom: Simplify with scoped for each OF child loop
mtd: rawnand: vf610: Fix Wvoid-pointer-to-enum-cast warning
mtd: rawnand: vf610: Simplify with scoped for each OF child loop
mtd: spi-nor: hisi-sfc: Simplify with scoped for each OF child loop

Linus Walleij (1):
mtd: physmap-core: Prioritize ofparts for OF probe

Md Sadre Alam (1):
mtd: spinand: fix NULL pointer dereference in spinand_support_vendor_ops()

Mikhail Kshevetskiy (1):
mtd: spinand: add Foresee F35SQB002G flash support

Miquel Raynal (30):
spi: spi-mem: Make the DTR command operation macro more suitable
spi: spi-mem: Create a repeated address operation
spi: spi-mem: Limit octal DTR constraints to octal DTR situations Merge tag 'tags/spi-octal-dtr' into nand/next
spi: spi-mem: Create a repeated address operation
mtd: spinand: Fix kernel doc
mtd: spinand: Add missing check
mtd: spinand: Remove stale definitions
mtd: spinand: Use standard return values
mtd: spinand: Decouple write enable and write disable operations
mtd: spinand: Create an array of operation templates
mtd: spinand: Make use of the operation templates through SPINAND_OP()
mtd: spinand: macronix: Convert vendor specific operation to SPINAND_OP()
mtd: spinand: winbond: Convert W25N specific operation to SPINAND_OP()
mtd: spinand: winbond: Convert W35N specific operation to SPINAND_OP()
mtd: spinand: List vendor specific operations and make sure they are supported
mtd: spinand: macronix: Register vendor specific operation
mtd: spinand: winbond: Register W25N vendor specific operation
mtd: spinand: winbond: Register W35N vendor specific operation
mtd: spinand: winbond: Fix style
mtd: spinand: winbond: Rename IO_MODE register macro
mtd: spinand: winbond: Configure the IO mode after the dummy cycles
mtd: spinand: Gather all the bus interface steps in one single function
mtd: spinand: Add support for setting a bus interface
mtd: spinand: Propagate the bus interface across core helpers
mtd: spinand: Give the bus interface to the configuration helper
mtd: spinand: Warn if using SSDR-only vendor commands in a non SSDR mode
mtd: spinand: Add octal DTR support
mtd: spinand: winbond: W35N octal DTR support
Merge tag 'nand/for-7.0' into mtd/next

Rob Herring (Arm) (11):
mtd: rawnand: atmel: Defer probe if SRAM is missing
dt-bindings: mtd: brcm,brcmnand: Drop "brcm,brcmnand" compatible for iProc
dt-bindings: mtd: fixed-partitions: Move "compression" to partition node
dt-bindings: mtd: partitions: Move "sercomm,scpart-id" to partition.yaml
dt-bindings: mtd: partitions: Allow "nvmem-layout" in generic partition nodes
dt-bindings: mtd: partitions: Define "#{address,size}-cells" in specific schemas
dt-bindings: mtd: partitions: Drop partitions.yaml
dt-bindings: mtd: Ensure partition node properties are documented
dt-bindings: mtd: fixed-partitions: Restrict undefined properties
dt-bindings: mtd: partitions: Convert brcm,trx to DT schema
dt-bindings: mtd: partitions: Combine simple partition bindings

Weigang He (1):
mtd: parsers: ofpart: fix OF node refcount leak in parse_fixed_partitions()

Zilin Guan (1):
mtd: parsers: Fix memory leak in mtd_parser_tplink_safeloader_parse()

 .../devicetree/bindings/mmc/mmc-card.yaml          |  20 +-
 .../devicetree/bindings/mtd/brcm,brcmnand.yaml     |   1 -
 .../devicetree/bindings/mtd/cdns,hp-nfc.yaml       |   2 +
 .../bindings/mtd/microchip,mchp23k256.txt          |  18 -
 .../bindings/mtd/microchip,mchp23k256.yaml         |  49 +++
 Documentation/devicetree/bindings/mtd/mtd.yaml     |  10 +-
 .../mtd/mxic,multi-itfc-v009-nand-controller.yaml  |  78 ++++
 .../devicetree/bindings/mtd/mxic-nand.txt          |  36 --
 .../bindings/mtd/nvidia,tegra20-nand.yaml          | 102 ++++++
 .../bindings/mtd/nvidia-tegra20-nand.txt           |  64 ----
 .../mtd/partitions/arm,arm-firmware-suite.yaml     |   2 -
 .../devicetree/bindings/mtd/partitions/binman.yaml |  53 ---
 .../mtd/partitions/brcm,bcm4908-partitions.yaml    |   8 +-
 .../partitions/brcm,bcm947xx-cfe-partitions.yaml   |   2 -
 .../mtd/partitions/brcm,bcm963xx-imagetag.txt      |  45 ---
 .../bindings/mtd/partitions/brcm,trx.txt           |  42 ---
 .../bindings/mtd/partitions/brcm,trx.yaml          |  65 ++++
 .../bindings/mtd/partitions/fixed-partitions.yaml  |  43 +--
 .../mtd/partitions/linksys,ns-partitions.yaml      |  10 +-
 .../bindings/mtd/partitions/partition.yaml         |  44 ++-
 .../bindings/mtd/partitions/partitions.yaml        |  42 ---
 .../bindings/mtd/partitions/redboot-fis.yaml       |   4 -
 .../devicetree/bindings/mtd/partitions/seama.yaml  |  44 ---
 .../bindings/mtd/partitions/simple-partition.yaml  |  61 ++++
 .../partitions/tplink,safeloader-partitions.yaml   |   2 +-
 .../devicetree/bindings/mtd/partitions/u-boot.yaml |   2 +-
 .../devicetree/bindings/mtd/spear_smi.txt          |  29 --
 .../devicetree/bindings/mtd/st,spear600-smi.yaml   |  72 ++++
 .../devicetree/bindings/mtd/st,spi-fsm.yaml        |  68 ++++
 Documentation/devicetree/bindings/mtd/st-fsm.txt   |  25 --
 .../devicetree/bindings/mtd/ti,davinci-nand.yaml   |   4 +-
 .../devicetree/bindings/mtd/ti,gpmc-onenand.yaml   |   2 +-
 MAINTAINERS                                        |   7 +-
 drivers/mtd/chips/jedec_probe.c                    |   4 +-
 drivers/mtd/devices/mtd_intel_dg.c                 |   9 +-
 drivers/mtd/maps/physmap-core.c                    |   2 +-
 drivers/mtd/nand/raw/atmel/nand-controller.c       |   6 +-
 drivers/mtd/nand/raw/brcmnand/brcmnand.c           |  10 +-
 drivers/mtd/nand/raw/cadence-nand-controller.c     |   2 +-
 drivers/mtd/nand/raw/denali_dt.c                   |   7 +-
 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c    |   4 +-
 drivers/mtd/nand/raw/pl35x-nand-controller.c       |   4 +
 drivers/mtd/nand/raw/qcom_nandc.c                  |   8 +-
 drivers/mtd/nand/raw/sunxi_nand.c                  |   6 -
 drivers/mtd/nand/raw/vf610_nfc.c                   |   6 +-
 drivers/mtd/nand/spi/Makefile                      |   4 +-
 drivers/mtd/nand/spi/core.c                        | 398 ++++++++++++++++++---
 drivers/mtd/nand/spi/dosilicon.c                   |  91 +++++
 drivers/mtd/nand/spi/esmt.c                        |   4 +-
 drivers/mtd/nand/spi/foresee.c                     |  34 ++
 drivers/mtd/nand/spi/gigadevice.c                  |   8 +-
 drivers/mtd/nand/spi/macronix.c                    |  49 ++-
 drivers/mtd/nand/spi/micron.c                      |   8 +-
 drivers/mtd/nand/spi/toshiba.c                     |   3 +-
 drivers/mtd/nand/spi/winbond.c                     | 129 +++++--
 drivers/mtd/parsers/ofpart_bcm4908.h               |   6 -
 drivers/mtd/parsers/ofpart_core.c                  |  24 +-
 drivers/mtd/parsers/ofpart_linksys_ns.h            |   7 -
 drivers/mtd/parsers/tplink_safeloader.c            |   1 +
 drivers/mtd/spi-nor/controllers/hisi-sfc.c         |   8 +-
 drivers/spi/spi-mem.c                              |  15 +-
 include/linux/mtd/spinand.h                        | 162 ++++++++-
 include/linux/spi/spi-mem.h                        |  22 +-
 63 files changed, 1419 insertions(+), 678 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/microchip,mchp23k256.yaml
 create mode 100644 Documentation/devicetree/bindings/mtd/mxic,multi-itfc-v009-nand-controller.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/mxic-nand.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/nvidia,tegra20-nand.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt
 delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/binman.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/brcm,bcm963xx-imagetag.txt
 delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/partitions/brcm,trx.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/partitions.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/seama.yaml
 create mode 100644 Documentation/devicetree/bindings/mtd/partitions/simple-partition.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/spear_smi.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml
 create mode 100644 Documentation/devicetree/bindings/mtd/st,spi-fsm.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/st-fsm.txt
 create mode 100644 drivers/mtd/nand/spi/dosilicon.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, 13 Feb 2026 18:30:40 +0100:

The pull request you sent on Fri, 13 Feb 2026 18:30:40 +0100:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1b49e363252632d0493546511a41a65ed1a6fbbb

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/