mtd: spi-nor-core: Allow using Micron mt35xu512aba in Octal DTR mode
authorPratyush Yadav <p.yadav@ti.com>
Fri, 25 Jun 2021 19:17:29 +0000 (00:47 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 Jun 2021 06:36:57 +0000 (12:06 +0530)
commitf6adec1af4b2f5d3012480c6cdce7743b74a6156
tree6a85481238bd6871baecb81ac74d76399c44c4cb
parentea9a22f7e79cbc951a2aca204b3eec6948837827
mtd: spi-nor-core: Allow using Micron mt35xu512aba in Octal DTR mode

Since this flash doesn't have a Profile 1.0 table, the Octal DTR
capabilities are enabled in the post SFDP fixup, along with the 8D-8D-8D
fast read settings.

Enable Octal DTR mode with 20 dummy cycles to allow running at the
maximum supported frequency of 200Mhz.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/Kconfig
drivers/mtd/spi/spi-nor-core.c
drivers/mtd/spi/spi-nor-ids.c
include/linux/mtd/spi-nor.h