All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/2] spi: cadence-qspi: Move to spi-mem APIs
@ 2019-11-19 10:13 Vignesh Raghavendra
  2019-11-19 10:13 ` [U-Boot] [PATCH v2 1/2] spi: cadence_qspi: Move to spi-mem framework Vignesh Raghavendra
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Vignesh Raghavendra @ 2019-11-19 10:13 UTC (permalink / raw)
  To: u-boot

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

Note: Depends on [1][2] that adds stubs for dma_memcpy() to be used on
platforms without CONFIG_DMA enabled.

[1]http://patchwork.ozlabs.org/patch/1195557/
[2]http://patchwork.ozlabs.org/patch/1195556/


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 | 185 ++++++++++++++++-----------------
 3 files changed, 164 insertions(+), 193 deletions(-)

-- 
2.24.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-01-27  7:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-19 10:13 [U-Boot] [PATCH v2 0/2] spi: cadence-qspi: Move to spi-mem APIs Vignesh Raghavendra
2019-11-19 10:13 ` [U-Boot] [PATCH v2 1/2] spi: cadence_qspi: Move to spi-mem framework Vignesh Raghavendra
2020-01-17 15:51   ` Simon Goldschmidt
2019-11-19 10:13 ` [U-Boot] [PATCH v2 2/2] spi: cadence-qspi: Add direct mode support Vignesh Raghavendra
2020-01-17 12:51   ` Simon Goldschmidt
2020-01-17 13:02     ` Vignesh Raghavendra
2020-01-17 13:20       ` Simon Goldschmidt
2020-01-17 15:52         ` Simon Goldschmidt
2020-01-26 16:43           ` Jagan Teki
2020-01-27  5:12             ` Vignesh Raghavendra
2020-01-27  7:13               ` Jagan Teki
2019-11-19 20:37 ` [U-Boot] [PATCH v2 0/2] spi: cadence-qspi: Move to spi-mem APIs Simon Goldschmidt
2020-01-14 15:02 ` Vignesh Raghavendra
2020-01-14 16:06   ` Simon Goldschmidt
2020-01-20  4:39 ` Vignesh Raghavendra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.