linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] spi: qup: Allow scaling power domains and interconnect
@ 2023-09-19 11:59 Stephan Gerhold
  2023-09-19 11:59 ` [PATCH v2 1/4] spi: dt-bindings: qup: Document power-domains and OPP Stephan Gerhold
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Stephan Gerhold @ 2023-09-19 11:59 UTC (permalink / raw)
  To: Mark Brown
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-spi,
	devicetree, linux-kernel, Stephan Gerhold, Krzysztof Kozlowski

Make it possible to scale performance states of the power domain and
interconnect of the SPI QUP controller in relation to the selected SPI
speed / core clock. This is done separately by:

  - Parsing the OPP table from the device tree for performance state
    votes of the power domain
  - Voting for the necessary bandwidth on the interconnect path to DRAM

Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
---
Changes in v2:
- Vote for bandwidth only when DMA is used and not with PIO
- Add review tags from Krzysztof and Konrad
- Link to v1: https://lore.kernel.org/r/20230912-spi-qup-dvfs-v1-0-3e38aa09c2bd@kernkonzept.com

---
Stephan Gerhold (4):
      spi: dt-bindings: qup: Document power-domains and OPP
      spi: qup: Parse OPP table for DVFS support
      spi: dt-bindings: qup: Document interconnects
      spi: qup: Vote for interconnect bandwidth to DRAM

 .../devicetree/bindings/spi/qcom,spi-qup.yaml      | 13 ++++++
 drivers/spi/spi-qup.c                              | 50 +++++++++++++++++++++-
 2 files changed, 62 insertions(+), 1 deletion(-)
---
base-commit: baaa2957b0c6feb4ff7806b5d8e0039bd80acbdf
change-id: 20230912-spi-qup-dvfs-71fc8a5e0cb1

Best regards,
-- 
Stephan Gerhold <stephan.gerhold@kernkonzept.com>
Kernkonzept GmbH at Dresden, Germany, HRB 31129, CEO Dr.-Ing. Michael Hohmuth


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

end of thread, other threads:[~2023-09-26  9:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 11:59 [PATCH v2 0/4] spi: qup: Allow scaling power domains and interconnect Stephan Gerhold
2023-09-19 11:59 ` [PATCH v2 1/4] spi: dt-bindings: qup: Document power-domains and OPP Stephan Gerhold
2023-09-19 11:59 ` [PATCH v2 2/4] spi: qup: Parse OPP table for DVFS support Stephan Gerhold
2023-09-19 11:59 ` [PATCH v2 3/4] spi: dt-bindings: qup: Document interconnects Stephan Gerhold
2023-09-19 11:59 ` [PATCH v2 4/4] spi: qup: Vote for interconnect bandwidth to DRAM Stephan Gerhold
2023-09-26  9:22 ` [PATCH v2 0/4] spi: qup: Allow scaling power domains and interconnect 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).