[GIT PULL] mtd: Changes for v6.10-rc1

From: Miquel Raynal
Date: Thu May 16 2024 - 05:10:29 EST


Hello Linus,

This is the MTD PR for v6.10-rc1.

Thanks,
Miquèl

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 552c9380f98fc47950870ef0935f94cf3acec087:

Merge tag 'nand/for-6.10' into mtd/next (2024-05-16 10:55:36 +0200)

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

Simon Glass wanted to support binman's output properties in order to
check their validity using the binding checks and proposed changes with
the missing properties as well as a binman compatible.

Krzysztof Kozlowski on his side shared a new yaml for describing
Samsung's OneNAND interface.

The interface with NVMEM has also been slightly improved/fixed,
especially now that OTP are also supported in the NAND subsystem.

Along with these changes, small cleanups have also been contributed
around ID tables, structure sizes, arithmetic checks and comments.

* Raw NAND subsystem

Two small fixes, one in the Hynix vendor code for properly returning an
error which might have been ignored and another in the Davinci driver to
properly synchronize the controller with the gpio domain.

* SPI NOR subsystem

SPI NOR now uses div_u64() instead of div64_u64() in places where the
divisor is 32 bits. Many 32 bit architectures can optimize this variant
better than a full 64 bit divide.

----------------------------------------------------------------
Aapo Vienamo (2):
mtd: core: Report error if first mtd_otp_size() call fails in mtd_otp_nvmem_add()
mtd: core: Don't fail mtd_otp_nvmem_add() if OTP is unsupported

Andy Shevchenko (1):
mtd: core: Align comment with an action in mtd_otp_nvmem_add()

Bastien Curutchet (1):
mtd: rawnand: davinci: Add dummy read after sending command

Denis Arefev (1):
mtd: partitions: redboot: Added conversion of operands to a larger type

Erick Archer (1):
mtd: maps: sa1100-flash: Prefer struct_size over open coded arithmetic

Krzysztof Kozlowski (2):
dt-bindings: mtd: Add Samsung S5Pv210 OneNAND
mtd: mchp23k256: drop unneeded MODULE_ALIAS

Maxim Korotkov (1):
mtd: rawnand: hynix: fixed typo

Michael Walle (1):
mtd: spi-nor: replace unnecessary div64_u64() with div_u64()

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

Simon Glass (2):
dt-bindings: mtd: fixed-partitions: Add alignment properties
dt-bindings: mtd: fixed-partition: Add binman compatibles

Documentation/devicetree/bindings/mtd/partitions/binman.yaml | 53 +++++++++++++++++++++
Documentation/devicetree/bindings/mtd/partitions/partition.yaml | 72 +++++++++++++++++++++++++++++
.../devicetree/bindings/mtd/samsung,s5pv210-onenand.yaml | 65 ++++++++++++++++++++++++++
MAINTAINERS | 5 ++
drivers/mtd/devices/mchp23k256.c | 1 -
drivers/mtd/maps/sa1100-flash.c | 6 +--
drivers/mtd/mtdcore.c | 9 +++-
drivers/mtd/nand/raw/davinci_nand.c | 5 +-
drivers/mtd/nand/raw/nand_hynix.c | 2 +-
drivers/mtd/parsers/redboot.c | 2 +-
drivers/mtd/spi-nor/core.c | 4 +-
11 files changed, 212 insertions(+), 12 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mtd/partitions/binmanyaml
create mode 100644 Documentation/devicetree/bindings/mtd/samsung,s5pv210-onenand.yaml