[GIT PULL] mtd: Changes for 6.13

Miquel Raynal miquel.raynal at bootlin.com
Thu Nov 21 08:29:33 PST 2024


Hi Linus,

This is the MTD PR for 6.13. Subtlety this time: the inclusion of a
small branch from the spi tree to avoid conflicts.

Thanks,
Miquèl

The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

  Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 944477516bda30bc11e2c30e355da8dd6df48aaf:

  Merge tag 'nand/for-6.13' into mtd/next (2024-11-21 17:04:19 +0100)

----------------------------------------------------------------
MTD device changes: Aside from the platform_driver::remove() switch, two
misc issues got fixed.

SPI-NAND changes:
A load of fixes to Winbond manufacturer driver have been done, plus a
structure constification.

Raw NAND changes:
The GPMI driver has been improved on the power management side.
The Davinci driver has been cleaned up.
A leak in the Atmel driver plus some typos in the core have been fixed.

SPI NOR changes:
Introduce byte swap support for 8D-8D-8D mode and a user for it:
macronix. SPI NOR flashes may swap the bytes on a 16-bit boundary when
configured in Octal DTR mode. For such cases the byte order is
propagated through SPI MEM to the SPI controllers so that the
controllers swap the bytes back at runtime. This avoids breaking the
boot sequence because of the endianness problems that appear when the
bootloaders use 1-1-1 and the kernel uses 8D-8D-8D with byte swap
support. Along with the SPI MEM byte swap support we queue a patch for
the SPI MXIC controller that swaps the bytes back at runtime.

----------------------------------------------------------------
AlvinZhou (3):
      spi: mxic: Add support for swapping byte
      mtd: spi-nor: add Octal DTR support for Macronix flash
      mtd: spi-nor: add support for Macronix Octal flash

Bartosz Golaszewski (3):
      mtd: rawnand: davinci: order headers alphabetically
      mtd: rawnand: davinci: break the line correctly
      mtd: rawnand: davinci: use generic device property helpers

Biju Das (1):
      mtd: hyperbus: rpc-if: Add missing MODULE_DEVICE_TABLE

Cheng Ming Lin (1):
      mtd: spi-nor: core: replace dummy buswidth from addr to data

Christophe JAILLET (1):
      mtd: spinand: Constify struct nand_ecc_engine_ops

Colin Ian King (1):
      mtd: cfi_cmdset_0002: remove redundant assignment to variable ret

Han Xu (3):
      mtd: nand: raw: gpmi: switch to SYSTEM_SLEEP_PM_OPS
      mtd: nand: raw: gpmi: improve power management handling
      MAINTAINERS: add mailing list for GPMI NAND driver

Miquel Raynal (7):
      mtd: rawnand: atmel: Fix possible memory leak
      mtd: spinand: winbond: Fix 512GW and 02JW OOB layout
      mtd: spinand: winbond: Fix 512GW, 01GW, 01JW and 02JW ECC information
      mtd: spinand: winbond: Ignore the last ID characters
      mtd: spinand: winbond: Sort the devices
      Merge tag 'spi-nor/for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux into mtd/next
      Merge tag 'nand/for-6.13' into mtd/next

Shen Lichuan (1):
      mtd: rawnand: Correct multiple typos in comments

Takahiro Kuwano (1):
      mtd: spi-nor: spansion: Use nor->addr_nbytes in octal DTR mode in RD_ANY_REG_OP

Tudor Ambarus (4):
      spi: spi-mem: Allow specifying the byte order in Octal DTR mode
      mtd: spi-nor: core: Allow specifying the byte order in Octal DTR mode
      mtd: spi-nor: sfdp: Get the 8D-8D-8D byte order from BFPT
      mtd: spi-nor: winbond: add "w/ and w/o SFDP" comment

Uwe Kleine-König (1):
      mtd: Switch back to struct platform_driver::remove()

 MAINTAINERS                                        |   1 +
 drivers/mtd/chips/cfi_cmdset_0002.c                |   4 +-
 drivers/mtd/devices/bcm47xxsflash.c                |   2 +-
 drivers/mtd/devices/docg3.c                        |   2 +-
 drivers/mtd/devices/phram.c                        |   2 +-
 drivers/mtd/devices/powernv_flash.c                |   2 +-
 drivers/mtd/devices/spear_smi.c                    |   2 +-
 drivers/mtd/devices/st_spi_fsm.c                   |   2 +-
 drivers/mtd/hyperbus/hbmc-am654.c                  |   2 +-
 drivers/mtd/hyperbus/rpc-if.c                      |   9 +-
 drivers/mtd/lpddr/lpddr2_nvm.c                     |   2 +-
 drivers/mtd/maps/lantiq-flash.c                    |   2 +-
 drivers/mtd/maps/physmap-core.c                    |   2 +-
 drivers/mtd/maps/plat-ram.c                        |   2 +-
 drivers/mtd/maps/pxa2xx-flash.c                    |   2 +-
 drivers/mtd/maps/sa1100-flash.c                    |   2 +-
 drivers/mtd/maps/sun_uflash.c                      |   2 +-
 drivers/mtd/nand/ecc-mxic.c                        |   8 +-
 drivers/mtd/nand/ecc-sw-bch.c                      |   2 +-
 drivers/mtd/nand/ecc-sw-hamming.c                  |   2 +-
 drivers/mtd/nand/onenand/generic.c                 |   2 +-
 drivers/mtd/nand/onenand/onenand_omap2.c           |   2 +-
 drivers/mtd/nand/onenand/onenand_samsung.c         |   2 +-
 drivers/mtd/nand/raw/ams-delta.c                   |   2 +-
 drivers/mtd/nand/raw/arasan-nand-controller.c      |   2 +-
 drivers/mtd/nand/raw/atmel/nand-controller.c       |   2 +-
 drivers/mtd/nand/raw/atmel/pmecc.c                 |   8 +-
 drivers/mtd/nand/raw/atmel/pmecc.h                 |   2 -
 drivers/mtd/nand/raw/au1550nd.c                    |   2 +-
 drivers/mtd/nand/raw/bcm47xxnflash/main.c          |   2 +-
 drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c       |   2 +-
 drivers/mtd/nand/raw/brcmnand/bcma_nand.c          |   2 +-
 drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c        |   2 +-
 drivers/mtd/nand/raw/brcmnand/brcmnand.c           |   2 +-
 drivers/mtd/nand/raw/brcmnand/brcmstb_nand.c       |   2 +-
 drivers/mtd/nand/raw/brcmnand/iproc_nand.c         |   2 +-
 drivers/mtd/nand/raw/cadence-nand-controller.c     |   4 +-
 drivers/mtd/nand/raw/cs553x_nand.c                 |   2 +-
 drivers/mtd/nand/raw/davinci_nand.c                |  60 +++++------
 drivers/mtd/nand/raw/denali_dt.c                   |   2 +-
 drivers/mtd/nand/raw/fsl_elbc_nand.c               |   2 +-
 drivers/mtd/nand/raw/fsl_ifc_nand.c                |   2 +-
 drivers/mtd/nand/raw/fsl_upm.c                     |   2 +-
 drivers/mtd/nand/raw/fsmc_nand.c                   |   2 +-
 drivers/mtd/nand/raw/gpio.c                        |   2 +-
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c         |  69 +++++++------
 drivers/mtd/nand/raw/hisi504_nand.c                |   2 +-
 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c    |   2 +-
 drivers/mtd/nand/raw/intel-nand-controller.c       |   2 +-
 drivers/mtd/nand/raw/lpc32xx_mlc.c                 |   2 +-
 drivers/mtd/nand/raw/lpc32xx_slc.c                 |   2 +-
 drivers/mtd/nand/raw/marvell_nand.c                |   2 +-
 drivers/mtd/nand/raw/meson_nand.c                  |   2 +-
 drivers/mtd/nand/raw/mpc5121_nfc.c                 |   2 +-
 drivers/mtd/nand/raw/mtk_nand.c                    |   2 +-
 drivers/mtd/nand/raw/mxc_nand.c                    |   2 +-
 drivers/mtd/nand/raw/mxic_nand.c                   |   2 +-
 drivers/mtd/nand/raw/nand_macronix.c               |   2 +-
 drivers/mtd/nand/raw/ndfc.c                        |   2 +-
 drivers/mtd/nand/raw/omap2.c                       |   2 +-
 drivers/mtd/nand/raw/omap_elm.c                    |   2 +-
 drivers/mtd/nand/raw/orion_nand.c                  |   2 +-
 drivers/mtd/nand/raw/pasemi_nand.c                 |   2 +-
 drivers/mtd/nand/raw/pl35x-nand-controller.c       |   4 +-
 drivers/mtd/nand/raw/plat_nand.c                   |   2 +-
 drivers/mtd/nand/raw/qcom_nandc.c                  |   4 +-
 drivers/mtd/nand/raw/r852.c                        |   4 +-
 drivers/mtd/nand/raw/renesas-nand-controller.c     |   2 +-
 drivers/mtd/nand/raw/rockchip-nand-controller.c    |   2 +-
 drivers/mtd/nand/raw/s3c2410.c                     |   2 +-
 drivers/mtd/nand/raw/sh_flctl.c                    |   2 +-
 drivers/mtd/nand/raw/sharpsl.c                     |   2 +-
 drivers/mtd/nand/raw/sm_common.c                   |   4 +-
 drivers/mtd/nand/raw/socrates_nand.c               |   2 +-
 drivers/mtd/nand/raw/stm32_fmc2_nand.c             |   2 +-
 drivers/mtd/nand/raw/sunxi_nand.c                  |   2 +-
 drivers/mtd/nand/raw/technologic-nand-controller.c |   2 +-
 drivers/mtd/nand/raw/tegra_nand.c                  |   2 +-
 drivers/mtd/nand/raw/txx9ndfmc.c                   |   2 +-
 drivers/mtd/nand/raw/vf610_nfc.c                   |   2 +-
 drivers/mtd/nand/raw/xway_nand.c                   |   2 +-
 drivers/mtd/nand/spi/core.c                        |   2 +-
 drivers/mtd/nand/spi/winbond.c                     | 113 ++++++++++++---------
 drivers/mtd/spi-nor/controllers/hisi-sfc.c         |   2 +-
 drivers/mtd/spi-nor/controllers/nxp-spifi.c        |   2 +-
 drivers/mtd/spi-nor/core.c                         |   5 +-
 drivers/mtd/spi-nor/core.h                         |   1 +
 drivers/mtd/spi-nor/macronix.c                     |  99 +++++++++++++++++-
 drivers/mtd/spi-nor/sfdp.c                         |   4 +
 drivers/mtd/spi-nor/sfdp.h                         |   1 +
 drivers/mtd/spi-nor/spansion.c                     |   1 +
 drivers/mtd/spi-nor/winbond.c                      |   1 +
 drivers/spi/spi-mem.c                              |   3 +
 drivers/spi/spi-mtk-snfi.c                         |   2 +-
 drivers/spi/spi-mxic.c                             |  27 +++--
 include/linux/mtd/nand-ecc-mxic.h                  |   4 +-
 include/linux/mtd/nand.h                           |   2 +-
 include/linux/spi/spi-mem.h                        |   8 +-
 98 files changed, 368 insertions(+), 226 deletions(-)



More information about the linux-mtd mailing list