linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: spi-ti-qspi: Support large NOR SPI flash
@ 2020-01-14 12:41 Jean Pihet
       [not found] ` <20200114124125.361429-1-jean.pihet-OTs2U3NB0ngRmelmmXo44Q@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Pihet @ 2020-01-14 12:41 UTC (permalink / raw)
  To: Mark Brown, Tony Lindgren, Vignesh Raghavendra
  Cc: linux-omap, linux-spi, Ryan Barnett, Conrad Ratschan,
	Arnout Vandecappelle, Jean Pihet

v3 release: fix compilation warnings.

Large devices are bigger than >64MB in size.
- Since the TI QSPI IP block only maps 64MB of MMIO, use MMIO
  below the 64MB boundary and software generated transfers above.
- Optimize the software generated byte-transfers for dual and quad
  I/O read operations. The speed-up is 4.9x for quad I/O reads.

Note: depends on Tony's patches for hwmod cleanup, in order to get the
desired QSPI clk rate:
- [PATCH 1/2] ARM: dts: Configure interconnect target module for am4 qspi
- [PATCH 2/2] ARM: OMAP2+: Drop legacy platform data for am4 qspi

Tested using raw accesses (mtd_debug) and JFFS2 FS read/write/erase;
in single, dual and quad modes.
All accesses have been checked on the logic analyzer.

Jean Pihet (2):
  spi: spi-ti-qspi: support large flash devices
  spi: spi-ti-qspi: optimize byte-transfers

 drivers/spi/spi-ti-qspi.c | 84 +++++++++++++++++++++++++++++++++++++--
 1 file changed, 81 insertions(+), 3 deletions(-)

-- 
2.24.1

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

end of thread, other threads:[~2020-01-14 16:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-14 12:41 [PATCH 0/2] spi: spi-ti-qspi: Support large NOR SPI flash Jean Pihet
     [not found] ` <20200114124125.361429-1-jean.pihet-OTs2U3NB0ngRmelmmXo44Q@public.gmane.org>
2020-01-14 12:41   ` [PATCH 1/2] spi: spi-ti-qspi: support large flash devices Jean Pihet
2020-01-14 16:09     ` Applied "spi: spi-ti-qspi: support large flash devices" to the spi tree Mark Brown
2020-01-14 12:41   ` [PATCH 2/2] spi: spi-ti-qspi: optimize byte-transfers Jean Pihet
2020-01-14 16:09     ` Applied "spi: spi-ti-qspi: optimize byte-transfers" to the spi tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).