[GIT PULL] mtd: Changes for 6.19

Miquel Raynal miquel.raynal at bootlin.com
Mon Dec 1 02:25:39 PST 2025


Hello,

This is the MTD PR for 6.19-rc1.

Thanks,
Miquèl

The following changes since commit 3a8660878839faadb4f1a6dd72c3179c1df56787:

  Linux 6.18-rc1 (2025-10-12 13:42:36 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 801b0840b09d93c51d23df9f92c063979058c153:

  Merge tag 'nand/for-6.19' into mtd/next (2025-11-29 14:10:16 +0100)

----------------------------------------------------------------
Core MTD changes:

- We must ignore error -ENOENT from parsers on subpartitions which is a
  legitimate return value.

- PM support is added to the intel-dg driver.

Raw NAND changes:

- The major change in this MR will be the support for the Allwinner H616
  NAND controller, which lead to numerous changes and cleanups in the
  driver.

- Another notable change on this driver is the use of
  field_get()/field_prep(), but since the global support for this
  helpers is going to be merged in the same release as we start using
  these helpers, it implies undefining them in the first place to avoid
  warnings. Depending on the merging order (Yuri's bitmap branch or
  mtd/next), a temporary warning may arise.

- Marvell drivers layout handling changes have also landed, they fix
  previous definitions and abuses that have been made previously, which
  implied to relax the ECC parameters validation in the core a bit.

- The Cadence NAND controller driver gets NV-DDR interface support.

SPI NAND changes:

- Support for FudanMicro FM25S01BI3 and ESMT F50L1G41LC is added.

SPI NOR changes:

- Fix SMPT parsing for S25FS-S flash family. They report variable dummy
  cycles for reads. This results in the default of 0 being used. This
  works for other Infineon chips, but not for the S25FS-S family. They
  need 8 dummy cycles. Add fixup hooks to specify that. Also add fixup
  hooks to fix incorrect map ID data in SFDP.

- Add support for a bunch of Winbond flashes. Their block protection
  information is not discoverable, so they need to have an entry in the
  flash tables to describe that.

- Some cleanups for Micron flash support.

- Add support for Micron mt35xu01gbba.

- Some SPI controllers like the Intel one on the PCI bus do not support
  the read CR opcode (0x35). Do not use the opcode if the controller
  does not support it.

Aside from these main changes, there is the usual load of API updates,
kdoc fixes, potential memory leaks fixes, etc.

----------------------------------------------------------------
Abdun Nihaal (1):
      mtd: maps: pcmciamtd: fix potential memory leak in pcmciamtd_detach()

Alexander Usyskin (1):
      mtd: intel-dg: wake card on operations

Aryan Srivastava (2):
      Revert "mtd: rawnand: marvell: fix layouts"
      mtd: nand: relax ECC parameter validation check

Christian Marangi (1):
      mtd: mtdpart: ignore error -ENOENT from parsers on subpartitions

Daniel Golle (1):
      mtd: spinand: esmt: add support for F50L1G41LC

Geert Uytterhoeven (1):
      mtd: rawnand: sunxi: #undef field_{get,prep}() before local definition

Haibo Chen (5):
      mtd: spi-nor: micron-st: rename the die_late_init functions
      mtd: spi-nor: micron-st: move set_octal_dtr to late_init()
      mtd: spi-nor: micron-st: use SFDP of mt35xu512aba
      mtd: spi-nor: micron-st: add mt35xu01gbba support
      mtd: spi-nor: micron-st: add TODO for fixing mt35xu02gcba

Haotian Zhang (3):
      mtd: rawnand: lpc32xx_slc: fix GPIO descriptor leak on probe error and remove
      mtd: rawnand: lpc32xx_slc: Convert to use devm_gpiod_get_optional()
      mtd: rawnand: renesas: Handle devm_pm_runtime_enable() errors

Ivan Stepchenko (1):
      mtd: lpddr_cmds: fix signed shifts in lpddr_cmds

Jakub Czapiga (1):
      mtd: spi-nor: core: Check read CR support

Mikhail Zhilkin (1):
      mtd: spinand: add support for FudanMicro FM25S01BI3

Miquel Raynal (9):
      mtd: spi-nor: winbond: Add support for W25Q01NWxxIQ chips
      mtd: spi-nor: winbond: Add support for W25Q01NWxxIM chips
      mtd: spi-nor: winbond: Add support for W25Q02NWxxIM chips
      mtd: spi-nor: winbond: Add support for W25H512NWxxAM chips
      mtd: spi-nor: winbond: Add support for W25H01NWxxAM chips
      mtd: spi-nor: winbond: Add support for W25H02NWxxAM chips
      mtd: nand: realtek-ecc: Fix Kconfig dependencies
      Merge tag 'spi-nor/for-6.19' of https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux into mtd/next
      Merge tag 'nand/for-6.19' into mtd/next

Niravkumar L Rabara (1):
      mtd: rawnand: cadence: Add support for NV-DDR interface mode

Pratyush Yadav (1):
      mailmap: update Pratyush Yadav's email address

Randy Dunlap (2):
      mtd: spear_smi: fix kernel-doc warnings <linux/mtd/spear_smi.h>
      mtd: docg3: fix kernel-doc warnings

Richard Genoud (15):
      dt-bindings: mtd: sunxi: Add H616 compatible
      mtd: rawnand: sunxi: Remove superfluous register readings
      mtd: rawnand: sunxi: Replace hard coded value by a define
      mtd: rawnand: sunxi: move ECC strenghts in sunxi_nfc_caps
      mtd: rawnand: sunxi: introduce reg_ecc_err_cnt in sunxi_nfc_caps
      mtd: rawnand: sunxi: introduce reg_user_data in sunxi_nfc_caps
      mtd: rawnand: sunxi: rework pattern found registers
      mtd: rawnand: sunxi: add has_ecc_block_512 capability
      mtd: rawnand: sunxi: introduce ecc_mode_mask in sunxi_nfc_caps
      mtd: rawnand: sunxi: introduce random en/dir in sunxi_nfc_caps
      mtd: rawnand: sunxi: introduce reg_pat_id in sunxi_nfc_caps
      mtd: rawnand: sunxi: introduce reg_spare_area in sunxi_nfc_caps
      mtd: rawnand: sunxi: introduce ecc_err_mask in sunxi_nfc_caps
      mtd: rawnand: sunxi: introduce sram_size in sunxi_nfc_caps
      mtd: rawnand: sunxi: Add support for H616 nand controller

Sakari Ailus (1):
      mtd: rawnand: gpmi: Remove redundant pm_runtime_mark_last_busy() calls

Takahiro Kuwano (3):
      mtd: spi-nor: sfdp: introduce smpt_read_dummy fixup hook
      mtd: spi-nor: sfdp: introduce smpt_map_id fixup hook
      mtd: spi-nor: spansion: SMPT fixups for S25FS-S

Thorsten Blum (2):
      mtd: sm_ftl: Replace deprecated strncpy with sysfs_emit in sm_attr_show
      mtd: sm_ftl: Fix typo in comment in sm_read_lba

Wolfram Sang (1):
      dt-bindings: mtd: physmap: add 'clocks' and 'power-domains'

 .mailmap                                           |   1 +
 .../bindings/mtd/allwinner,sun4i-a10-nand.yaml     |  41 ++-
 .../devicetree/bindings/mtd/mtd-physmap.yaml       |  10 +
 drivers/mtd/devices/docg3.h                        |   2 +-
 drivers/mtd/devices/mtd_intel_dg.c                 |  74 +++-
 drivers/mtd/lpddr/lpddr_cmds.c                     |   8 +-
 drivers/mtd/maps/pcmciamtd.c                       |   1 +
 drivers/mtd/mtdpart.c                              |   7 +-
 drivers/mtd/nand/Kconfig                           |   2 +-
 drivers/mtd/nand/raw/cadence-nand-controller.c     | 275 +++++++++++++-
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c         |   3 -
 drivers/mtd/nand/raw/lpc32xx_slc.c                 |   2 +-
 drivers/mtd/nand/raw/marvell_nand.c                |  13 +-
 drivers/mtd/nand/raw/nand_base.c                   |  13 +-
 drivers/mtd/nand/raw/renesas-nand-controller.c     |   5 +-
 drivers/mtd/nand/raw/sunxi_nand.c                  | 409 +++++++++++++++++----
 drivers/mtd/nand/spi/core.c                        |   1 +
 drivers/mtd/nand/spi/esmt.c                        |  24 ++
 drivers/mtd/nand/spi/fmsh.c                        |  72 ++++
 drivers/mtd/sm_ftl.c                               |   5 +-
 drivers/mtd/spi-nor/core.c                         |  10 +
 drivers/mtd/spi-nor/core.h                         |   6 +
 drivers/mtd/spi-nor/micron-st.c                    | 101 ++---
 drivers/mtd/spi-nor/sfdp.c                         |  30 +-
 drivers/mtd/spi-nor/spansion.c                     |  38 ++
 drivers/mtd/spi-nor/winbond.c                      |  24 ++
 include/linux/mtd/spear_smi.h                      |  19 +-
 include/linux/mtd/spinand.h                        |   1 +
 28 files changed, 1020 insertions(+), 177 deletions(-)



More information about the linux-mtd mailing list