[PATCH v7 1/7] mtd: spi-nor: add Octal DTR support for Macronix flash
Michael Walle
mwalle at kernel.org
Fri Jan 5 05:12:48 PST 2024
> Create Macronix specify method for enable Octal DTR mode and
> set 20 dummy cycles to allow running at the maximum supported
> frequency for Macronix Octal flash.
>
> Use number of dummy cycles which is parse by SFDP then convert
> it to bit pattern and set in CR2 register.
> Set CR2 register for enable octal DTR mode.
>
> Use Read ID to confirm that enabling/diabling octal DTR mode
> was successful.
>
> Macronix ID format is A-A-B-B-C-C in octal DTR mode.
> To ensure the successful enablement of octal DTR mode, confirm
> that the 6-byte data is entirely correct.
>
> Signed-off-by: JaimeLiao <jaimeliao at mxic.com.tw>
> Co-developed-by: Tudor Ambarus <tudor.ambarus at linaro.org>
Acked-by: Michael Walle <mwalle at kernel.org>
More information about the linux-mtd
mailing list