[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200709145145.4055619-1-dianders@chromium.org>
Date: Thu, 9 Jul 2020 07:51:43 -0700
From: Douglas Anderson <dianders@...omium.org>
To: Mark Brown <broonie@...nel.org>, Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: swboyd@...omium.org, linux-arm-msm@...r.kernel.org,
ctheegal@...eaurora.org, mkshah@...eaurora.org, mka@...omium.org,
Rajendra Nayak <rnayak@...eaurora.org>,
akashast@...eaurora.org, georgi.djakov@...aro.org,
Douglas Anderson <dianders@...omium.org>,
linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org
Subject: [PATCH v2 0/2] spi: spi-qcom-qspi: Avoid some per-transfer overhead
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
Changes in v2:
- Return error from runtime resume if dev_pm_opp_set_rate() fails.
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 | 43 ++++++++++++++++++++++++++++---------
1 file changed, 33 insertions(+), 10 deletions(-)
--
2.27.0.383.g050319c2ae-goog
Powered by blists - more mailing lists