mbox series

[U-Boot,0/2] spi: cadence-qspi: Move to spi-mem APIs

Message ID 20191014132752.18534-1-vigneshr@ti.com
Headers show
Series spi: cadence-qspi: Move to spi-mem APIs | expand

Message

Raghavendra, Vignesh Oct. 14, 2019, 1:27 p.m. UTC
First patch moves driver over to spi-mem framework and implement
spi_mem_ops. This is require to support more SPI Flash opcodes like SFDP
parsing etc. Series is in prepartion to add Octal mode for support for
the same driver to support OSPI version of the controller.

Second patch adds DAC mode that provide memory mapped access to flash.
This greatly increases the read throughput.

Tested with mt25qu512 flash and s25fl512 flash

Simon,

Would greatly appreciate if you could test this series on platforms that
you have access to?

Vignesh Raghavendra (2):
  spi: cadence_qspi: Move to spi-mem framework
  spi: cadence-qspi: Add direct mode support

 drivers/spi/cadence_qspi.c     | 148 ++++++++++++---------------
 drivers/spi/cadence_qspi.h     |  24 +++--
 drivers/spi/cadence_qspi_apb.c | 181 +++++++++++++++------------------
 3 files changed, 160 insertions(+), 193 deletions(-)