[PATCH 0/3] mtd: spi-nor: introduce optional rdid-dummy-ncycles DT property

From: Takahiro Kuwano
Date: Wed Mar 19 2025 - 05:56:11 EST


There are infineon flashes [1] that require 8 dummy cycles for the
1-1-1 Read ID command. Since the command is not covered by JESD216
or any other standard, introduce an optional "rdid-dummy-ncycles"
DT property to allow flashes to be correctly identified.
Add support for CYRS17B512.

Link: https://www.infineon.com/dgdl/Infineon-CYRS17B512_512_MB_64_MB_SERIAL_NOR_FLASH_SPI_QSPI_3-DataSheet-v07_00-EN.pdf?fileId=8ac78c8c8fc2dd9c01900eee733d45f3 [1]

Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@xxxxxxxxxxxx>
---
Takahiro Kuwano (3):
dt-bindings: mtd: jedec,spi-nor: add optional rdid-dummy-ncycles
mtd: spi-nor: use rdid-dummy-ncycles DT property
mtd: spi-nor: spansion: add support for CYRS17B512

.../devicetree/bindings/mtd/jedec,spi-nor.yaml | 6 ++++++
drivers/mtd/spi-nor/core.c | 9 ++++++++-
drivers/mtd/spi-nor/spansion.c | 17 +++++++++++++++++
3 files changed, 31 insertions(+), 1 deletion(-)
---
base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
change-id: 20250214-snor-rdid-dummy-ncycles-73575ecc7b8d

Best regards,
--
Takahiro Kuwano <Takahiro.Kuwano@xxxxxxxxxxxx>