[PATCH 2/3] mtd: spi-nor: use rdid-dummy-ncycles DT property
Rob Herring
robh at kernel.org
Wed Mar 19 16:30:24 PDT 2025
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
More information about the linux-mtd
mailing list