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. 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> --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 335f8204aa1ebce3d2b4686b2a06d0ea3791667c..25abbe4f5d17f66215fa1af097d14de4a6ef776f 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -63,6 +63,12 @@ properties: it can not be detected at runtime. Refer to your chips' datasheet to check if this is supported by your chip. + rdid-dummy-ncycles: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Number of dummy cycles for the 1-1-1 Read ID command, if not zero. + The Read ID command is not covered by JESD216 or any other standard. + broken-flash-reset: type: boolean description: -- 2.34.1