linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: spi-qcom-qspi: Avoid some per-transfer overhead
@ 2020-07-07 20:16 Douglas Anderson
  2020-07-07 20:16 ` [PATCH 1/2] spi: spi-qcom-qspi: Avoid clock setting if not needed Douglas Anderson
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Douglas Anderson @ 2020-07-07 20:16 UTC (permalink / raw)
  To: Mark Brown, Andy Gross, Bjorn Andersson
  Cc: mka, Akash Asthana, Rajendra Nayak, swboyd, linux-arm-msm,
	georgi.djakov, ctheegal, mkshah, Douglas Anderson, linux-kernel,
	linux-spi


Not to be confused with the similar series I posed for the _other_
Qualcomm SPI controller (spi-geni-qcom) [1], this one avoids the
overhead on the Quad SPI controller.

It's based atop the current Qualcomm tree including Rajendra's ("spi:
spi-qcom-qspi: Use OPP API to set clk/perf state").  As discussed in
individual patches, these could ideally land through the Qualcomm tree
with Mark's Ack.

Measuring:
* Before OPP / Interconnect patches reading all flash takes: ~3.4 seconds
* After OPP / Interconnect patches reading all flash takes: ~4.7 seconds
* After this patch reading all flash takes: ~3.3 seconds

[1] https://lore.kernel.org/r/20200702004509.2333554-1-dianders@chromium.org
[2] https://lore.kernel.org/r/1593769293-6354-2-git-send-email-rnayak@codeaurora.org


Douglas Anderson (2):
  spi: spi-qcom-qspi: Avoid clock setting if not needed
  spi: spi-qcom-qspi: Set an autosuspend delay of 250 ms

 drivers/spi/spi-qcom-qspi.c | 45 ++++++++++++++++++++++++++++---------
 1 file changed, 35 insertions(+), 10 deletions(-)

-- 
2.27.0.383.g050319c2ae-goog


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

end of thread, other threads:[~2020-07-09  6:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 20:16 [PATCH 0/2] spi: spi-qcom-qspi: Avoid some per-transfer overhead Douglas Anderson
2020-07-07 20:16 ` [PATCH 1/2] spi: spi-qcom-qspi: Avoid clock setting if not needed Douglas Anderson
2020-07-08 17:04   ` Mark Brown
2020-07-07 20:16 ` [PATCH 2/2] spi: spi-qcom-qspi: Set an autosuspend delay of 250 ms Douglas Anderson
2020-07-08 17:04   ` Mark Brown
2020-07-08  8:39 ` [PATCH 0/2] spi: spi-qcom-qspi: Avoid some per-transfer overhead Rajendra Nayak
2020-07-09  6:50 ` Mukesh, Savaliya

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).