[GIT PULL] mtd: Changes for 6.5-rc1

From: Miquel Raynal
Date: Mon Jun 26 2023 - 07:03:33 EST


Hello Linus,

This is the MTD PR for 6.5-rc1.

Thanks,
Miquèl

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

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

for you to fetch changes up to cf431a5998326a0468532a188a188ac2c8e9c55d:

Merge branch 'nand/next' into mtd/next (2023-06-23 19:02:09 +0200)

----------------------------------------------------------------
Core MTD changes:
* otp:
- Put factory OTP/NVRAM into the entropy pool
- Clean up on error in mtd_otp_nvmem_add()

MTD devices changes:
* sm_ftl: Fix typos in comments
* Use SPDX license headers
* pismo: Switch back to use i2c_driver's .probe()
* mtdpart: Drop useless LIST_HEAD
* st_spi_fsm: Use the devm_clk_get_enabled() helper function

DT binding changes:
* partitions:
- Include TP-Link SafeLoader in allowed list
- Add missing type for "linux,rootfs"
* Extend the nand node names filter
* Create a file for raw NAND chip properties
* Mark nand-ecc-placement deprecated
* Describe nand-ecc-mode
* Prevent NAND chip unevaluated properties in all NAND bindings with a NAND chip
reference.
* Qcom: Fix a property position
* Marvell: Convert to YAML DT schema

Raw NAND chip drivers changes:
* Macronix: OTP access for MX30LFxG18AC
* Add basic Sandisk manufacturer ops
* Add support for Sandisk SDTNQGAMA

Raw NAND controller driver changes:
* Meson:
- Replace integer consts with proper defines
- Allow waiting w/o wired ready/busy pin
- Check buffer length validity
- Fix unaligned DMA buffers handling
- dt-bindings: Fix 'nand-rb' property
* Arasan: Revert "mtd: rawnand: arasan: Prevent an unsupported configuration"
as this limitation is no longer true thanks to the recent efforts in improving
the clocks support in this driver

SPI-NAND changes:
* Gigadevice: add support for GD5F2GQ5xExxH
* Macronix: Add support for serial NAND flashes

----------------------------------------------------------------
Amit Kumar Mahapatra (1):
Revert "mtd: rawnand: arasan: Prevent an unsupported configuration"

Arseniy Krasnov (6):
mtd: rawnand: meson: replace integer consts with proper defines
dt-bindings: nand: meson: Fix 'nand-rb' property
mtd: rawnand: meson: waiting w/o wired ready/busy pin
mtd: rawnand: meson: check buffer length
mtd: rawnand: meson: fix unaligned DMA buffers handling
mtd: rawnand: macronix: OTP access for MX30LFxG18AC

Bo Liu (1):
mtd: sm_ftl: Fix typos in comments

Christophe JAILLET (2):
mtd: st_spi_fsm: Use the devm_clk_get_enabled() helper function
mtd: mtdpart: Drop useless LIST_HEAD

Dan Carpenter (1):
mtd: otp: clean up on error in mtd_otp_nvmem_add()

JaimeLiao (1):
mtd: spinand: macronix: Add support for serial NAND flash

Johan Jonker (2):
mtd: rawnand: add basic sandisk manufacturer ops
mtd: rawnand: add support for the Sandisk SDTNQGAMA chip

Linus Walleij (2):
mtd: chips: Use SPDX license headers
mtd: otp: Put factory OTP/NVRAM into the entropy pool

Md Sadre Alam (1):
mtd: spinand: gigadevice: add support for GD5F2GQ5xExxH

Miquel Raynal (18):
dt-bindings: mtd: Accept nand related node names
dt-bindings: mtd: Create a file for raw NAND chip properties
dt-bindings: mtd: Mark nand-ecc-placement deprecated
dt-bindings: mtd: Describe nand-ecc-mode
dt-bindings: mtd: qcom: Fix a property position
dt-bindings: mtd: qcom: Prevent NAND chip unevaluated properties
dt-bindings: mtd: ingenic: Prevent NAND chip unevaluated properties
dt-bindings: mtd: sunxi: Prevent NAND chip unevaluated properties
dt-bindings: mtd: meson: Prevent NAND chip unevaluated properties
dt-bindings: mtd: brcmnand: Prevent NAND chip unevaluated properties
dt-bindings: mtd: denali: Prevent NAND chip unevaluated properties
dt-bindings: mtd: intel: Prevent NAND chip unevaluated properties
dt-bindings: mtd: rockchip: Prevent NAND chip unevaluated properties
dt-bindings: mtd: stm32: Prevent NAND chip unevaluated properties
dt-bindings: mtd: mediatek: Reference raw-nand-chip.yaml
dt-bindings: mtd: mediatek: Prevent NAND chip unevaluated properties
dt-bindings: mtd: ti,am654: Prevent unevaluated properties
Merge branch 'nand/next' into mtd/next

Rafał Miłecki (1):
dt-bindings: mtd: partitions: Include TP-Link SafeLoader in allowed list

Rob Herring (1):
dt-bindings: mtd: partition: Add missing type for "linux,rootfs"

Uwe Kleine-König (1):
mtd: maps: pismo: Switch back to use i2c_driver's .probe()

Vadym Kochan (1):
dt-bindings: mtd: marvell-nand: Convert to YAML DT scheme

Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml | 5 +--
Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml | 10 +++++
Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml | 3 ++
Documentation/devicetree/bindings/mtd/denali,nand.yaml | 9 ++--
Documentation/devicetree/bindings/mtd/ingenic,nand.yaml | 4 ++
Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml | 5 +--
Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml | 226 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Documentation/devicetree/bindings/mtd/marvell-nand.txt | 126 --------------------------------------------------------
Documentation/devicetree/bindings/mtd/mediatek,mtk-nfc.yaml | 3 +-
Documentation/devicetree/bindings/mtd/mtd.yaml | 2 +-
Documentation/devicetree/bindings/mtd/nand-controller.yaml | 85 +-------------------------------------
Documentation/devicetree/bindings/mtd/partitions/partition.yaml | 1 +
Documentation/devicetree/bindings/mtd/partitions/partitions.yaml | 1 +
Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 45 ++++++++++++--------
Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml | 111 +++++++++++++++++++++++++++++++++++++++++++++++++
Documentation/devicetree/bindings/mtd/rockchip,nand-controller.yaml | 3 ++
Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml | 3 ++
Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml | 2 +
MAINTAINERS | 1 -
drivers/mtd/chips/cfi_cmdset_0001.c | 3 +-
drivers/mtd/chips/cfi_cmdset_0002.c | 3 +-
drivers/mtd/chips/cfi_cmdset_0020.c | 3 +-
drivers/mtd/chips/cfi_probe.c | 3 +-
drivers/mtd/chips/cfi_util.c | 3 +-
drivers/mtd/chips/gen_probe.c | 2 +-
drivers/mtd/chips/jedec_probe.c | 3 +-
drivers/mtd/chips/map_ram.c | 3 +-
drivers/mtd/chips/map_rom.c | 3 +-
drivers/mtd/devices/st_spi_fsm.c | 28 +++----------
drivers/mtd/maps/pismo.c | 2 +-
drivers/mtd/mtdcore.c | 21 ++++++++++
drivers/mtd/mtdpart.c | 1 -
drivers/mtd/nand/raw/Makefile | 1 +
drivers/mtd/nand/raw/arasan-nand-controller.c | 15 -------
drivers/mtd/nand/raw/internals.h | 1 +
drivers/mtd/nand/raw/meson_nand.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
drivers/mtd/nand/raw/nand_ids.c | 5 ++-
drivers/mtd/nand/raw/nand_macronix.c | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/mtd/nand/raw/nand_sandisk.c | 26 ++++++++++++
drivers/mtd/nand/spi/gigadevice.c | 10 +++++
drivers/mtd/nand/spi/macronix.c | 20 +++++++++
drivers/mtd/sm_ftl.c | 2 +-
42 files changed, 805 insertions(+), 299 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml
delete mode 100644 Documentation/devicetree/bindings/mtd/marvell-nand.txt
create mode 100644 Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml
create mode 100644 drivers/mtd/nand/raw/nand_sandisk.c