[GIT PULL] mtd: Changes for 6.11

Miquel Raynal miquel.raynal at bootlin.com
Sat Jul 20 05:38:26 PDT 2024


Hello Linus,

This is the MTD PR for 6.11.

Thanks,
Miquèl

The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

  Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 78a0b13f5744bd270d0c2391973605d9960a402a:

  Merge tag 'nand/for-6.11' into mtd/next (2024-07-20 14:24:38 +0200)

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

- Nothing stands out for this merge window, mostly minor fixes, such as
  module descriptions, the use of debug macros and Makefile improvements.

Raw NAND changes;

- The Freescale MXC driver has been converted to the newer ->exec_op()
  interface. The meson driver now supports handling the boot ROM area
  with very specific ECC needs. Support for the iMX8QXP has been added
  to the GPMI driver. The lpx32xx driver now can get the DMA channels
  using DT entries. The Qcom binding has been improved to be more future
  proof by Rob. And then there is the usual load of misc and minor
  changes.

SPI-NAND changes:

- The Macronix vendor driver has been improved to support an extended ID
  to avoid conflicting with older devices after an ID reuse issue.

SPI NOR changes:

- Drop support for Xilinx S3AN flashes. These flashes are for the very
  old Xilinx Spartan 3 FPGAs and they need some awkward code in the core
  to support. Drop support for these flashes, along with the special
  handling we needed for them in the core like non-power-of-2 page size
  handling and the .setup() callback.

- Fix regression for old w25q128 flashes without SFDP tables. Commit
  83e824a4a595 ("mtd: spi-nor: Correct flags for Winbond w25q128")
  dropped support for such devices under the assumption that they aren't
  being used anymore. Users have now surfaced [0] so fix the regression
  by supporting both kind of devices.

- Core cleanups including removal of SPI_NOR_NO_FR flag and
  simplification of spi_nor_get_flash_info().

[0] https://lore.kernel.org/r/CALxbwRo_-9CaJmt7r7ELgu+vOcgk=xZcGHobnKf=oT2=u4d4aA@mail.gmail.com/

----------------------------------------------------------------
Andy Shevchenko (2):
      mtd: cfi: Get rid of redundant 'else'
      mtd: physmap: Use *-y instead of *-objs in Makefile

Arnd Bergmann (1):
      mtd: make mtd_test.c a separate module

Arseniy Krasnov (3):
      dt-bindings: mtd: amlogic,meson-nand: support fields for boot ROM code
      mtd: rawnand: meson: refactor use of 'meson_nfc_cmd_access()'
      mtd: rawnand: meson: read/write access for boot ROM pages

Cheng Ming Lin (2):
      mtd: spinand: macronix: Add support for reading Device ID 2
      mtd: spinand: macronix: Add support for serial NAND flash

Csókás, Bence (1):
      mtd: cmdlinepart: Replace `dbg()` macro with `pr_debug()`

Dr. David Alan Gilbert (1):
      mtd: rawnand: cadence: remove unused struct 'ecc_info'

Frank Li (2):
      dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string
      mtd: rawnand: gpmi: add 'support_edo_timing' in gpmi_devdata

Han Xu (1):
      mtd: rawnand: gpmi: add iMX8QXP support.

Jeff Johnson (1):
      mtd: add missing MODULE_DESCRIPTION() macros

Michael Walle (6):
      mtd: spi-nor: Remove support for Xilinx S3AN flashes
      mtd: spi-nor: get rid of non-power-of-2 page size handling
      mtd: spi-nor: remove .setup() callback
      mtd: spi-nor: get rid of SPI_NOR_NO_FR
      mtd: spi-nor: simplify spi_nor_get_flash_info()
      mtd: spi-nor: winbond: fix w25q128 regression

Miquel Raynal (2):
      Merge tag 'spi-nor/for-6.11' into mtd/next
      Merge tag 'nand/for-6.11' into mtd/next

Piotr Wojtaszczyk (2):
      mtd: rawnand: lpx32xx: Request DMA channels using DT entries
      mtd: rawnand: lpx32xx: Fix dma_request_chan() error checks

Rob Herring (Arm) (1):
      dt-bindings: mtd: qcom,nandc: Define properties at top-level

Sascha Hauer (3):
      mtd: rawnand: mxc: separate page read from ecc calc
      mtd: rawnand: mxc: implement exec_op
      mtd: rawnand: mxc: support software ECC

Wolfram Sang (2):
      mtd: rawnand: mxc: use 'time_left' variable with wait_for_completion_timeout()
      mtd: rawnand: intel: use 'time_left' variable with wait_for_completion_timeout()

 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml |  18 +++
 Documentation/devicetree/bindings/mtd/gpmi-nand.yaml          |  22 +++
 Documentation/devicetree/bindings/mtd/qcom,nandc.yaml         |  38 ++---
 drivers/mtd/chips/cfi_cmdset_0020.c                           |   1 +
 drivers/mtd/chips/cfi_util.c                                  |   1 +
 drivers/mtd/maps/Makefile                                     |  11 +-
 drivers/mtd/maps/map_funcs.c                                  |   1 +
 drivers/mtd/nand/raw/cadence-nand-controller.c                |   5 -
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c                    |  20 ++-
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h                    |   6 +-
 drivers/mtd/nand/raw/intel-nand-controller.c                  |   6 +-
 drivers/mtd/nand/raw/lpc32xx_mlc.c                            |  26 ++--
 drivers/mtd/nand/raw/lpc32xx_slc.c                            |  26 ++--
 drivers/mtd/nand/raw/meson_nand.c                             |  86 +++++++----
 drivers/mtd/nand/raw/mxc_nand.c                               | 708 +++++++++++++++++++++++++++++++++++++++++++---------------------------------------------
 drivers/mtd/nand/spi/macronix.c                               |  64 ++++++--
 drivers/mtd/parsers/brcm_u-boot.c                             |   1 +
 drivers/mtd/parsers/cmdlinepart.c                             |  18 +--
 drivers/mtd/parsers/tplink_safeloader.c                       |   1 +
 drivers/mtd/spi-nor/Makefile                                  |   1 -
 drivers/mtd/spi-nor/core.c                                    | 206 ++++++++++----------------
 drivers/mtd/spi-nor/core.h                                    |  12 --
 drivers/mtd/spi-nor/everspin.c                                |  19 ++-
 drivers/mtd/spi-nor/winbond.c                                 |   2 +
 drivers/mtd/spi-nor/xilinx.c                                  | 169 ---------------------
 drivers/mtd/tests/Makefile                                    |  34 ++---
 drivers/mtd/tests/mtd_test.c                                  |   9 ++
 include/linux/mtd/cfi.h                                       |  32 ++--
 28 files changed, 724 insertions(+), 819 deletions(-)
 delete mode 100644 drivers/mtd/spi-nor/xilinx.c



More information about the linux-mtd mailing list