mtd: spi-nor: core: enable octal DTR mode when possible
authorPratyush Yadav <p.yadav@ti.com>
Mon, 5 Oct 2020 15:31:33 +0000 (21:01 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 9 Nov 2020 06:26:17 +0000 (11:56 +0530)
commita33c89db4c3ba8e5c3df7726491329cd35d4bb59
treefb6732b81c04f9c9001828bbb9c86d66b4d6b953
parent981a8d60e01f7e76d6bccb621598d087c9dd4a5d
mtd: spi-nor: core: enable octal DTR mode when possible

Allow flashes to specify a hook to enable octal DTR mode. Use this hook
whenever possible to get optimal transfer speeds.

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-11-p.yadav@ti.com
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/core.h