mtd: spi-nor: micron-st: allow using MT35XU512ABA in Octal DTR mode
authorPratyush Yadav <p.yadav@ti.com>
Mon, 5 Oct 2020 15:31:38 +0000 (21:01 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 9 Nov 2020 13:30:14 +0000 (19:00 +0530)
commitad624dfd7bb69a20ff06804ece25bc27200f2ea2
tree6c290ae6371fcd55937b53453df3929fcce3714a
parentc3266af101f28e87505c976fad8db96c68f8afe4
mtd: spi-nor: micron-st: allow using 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.

The flash supports the soft reset sequence. So, add the flag in the
flash's info.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20201005153138.6437-16-p.yadav@ti.com
drivers/mtd/spi-nor/micron-st.c