Re: [PATCH 2/3] mtd: spi-nor: use rdid-dummy-ncycles DT property
From: Rob Herring
Date: Wed Mar 19 2025 - 19:30:32 EST
On Wed, Mar 19, 2025 at 06:47:44PM +0900, Takahiro Kuwano wrote:
> 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, get the number of dummy cycles from DT and use
> them to correctly identify the flash.
If Read ID fails, then couldn't you just retry with dummy cycles? Or
would unconditionally adding dummy cycles adversely affect other chips?
Otherwise, add a specific compatible to imply this requirement. Adding
quirk properties doesn't scale.
Rob