devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/5] interconnect: qcom: icc-rpm: Support voting bucket
@ 2022-04-16 15:40 Leo Yan
  2022-04-16 15:40 ` [PATCH v1 1/5] dt-bindings: interconnect: Update property for icc-rpm path tag Leo Yan
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Leo Yan @ 2022-04-16 15:40 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Georgi Djakov, Rob Herring,
	Krzysztof Kozlowski, Bryan O'Donoghue, Dmitry Baryshkov,
	linux-arm-msm, linux-pm, devicetree, linux-kernel
  Cc: Leo Yan

This patch set is to support bucket in icc-rpm driver, so it implements
the similar mechanism in the icc-rpmh driver.

We can use interconnect path tag to indicate the bandwidth voting is for
which buckets, and there have three kinds of buckets: AWC, wake and
sleep, finally the wake and sleep bucket values are used to set the
corresponding clock (active and sleep clocks).  So far, we keep the AWC
bucket but doesn't really use it.

Patches 01, 02, 03 enable interconnect path tag and update the DT
binding document; patches 04 and 05 support bucket and use bucket values
to set the bandwidth and clock rates.

This patch set is dependent on another patch set "interconnect: qcom:
icc-rpm: Fix setting clock rate" [1], and it has been tested on QCOM
msm8939 platform.

[1] https://lore.kernel.org/lkml/20220416031029.693211-1-leo.yan@linaro.org/


Leo Yan (5):
  dt-bindings: interconnect: Update property for icc-rpm path tag
  interconnect: qcom: Move qcom_icc_xlate_extended() to a common file
  interconnect: qcom: icc-rpm: Change to use qcom_icc_xlate_extended()
  interconnect: qcom: icc-rpm: Support multiple buckets
  interconnect: qcom: icc-rpm: Set bandwidth and clock for bucket values

 .../bindings/interconnect/qcom,rpm.yaml       |   2 +-
 drivers/interconnect/qcom/Makefile            |   3 +
 drivers/interconnect/qcom/icc-common.c        |  34 +++++
 drivers/interconnect/qcom/icc-common.h        |  13 ++
 drivers/interconnect/qcom/icc-rpm.c           | 134 ++++++++++++++++--
 drivers/interconnect/qcom/icc-rpm.h           |   6 +
 drivers/interconnect/qcom/icc-rpmh.c          |  26 +---
 drivers/interconnect/qcom/icc-rpmh.h          |   1 -
 drivers/interconnect/qcom/sm8450.c            |   1 +
 9 files changed, 178 insertions(+), 42 deletions(-)
 create mode 100644 drivers/interconnect/qcom/icc-common.c
 create mode 100644 drivers/interconnect/qcom/icc-common.h

-- 
2.25.1


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

end of thread, other threads:[~2022-04-27 14:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-16 15:40 [PATCH v1 0/5] interconnect: qcom: icc-rpm: Support voting bucket Leo Yan
2022-04-16 15:40 ` [PATCH v1 1/5] dt-bindings: interconnect: Update property for icc-rpm path tag Leo Yan
2022-04-26 18:59   ` Rob Herring
2022-04-27 14:05     ` Leo Yan
2022-04-16 15:40 ` [PATCH v1 2/5] interconnect: qcom: Move qcom_icc_xlate_extended() to a common file Leo Yan
2022-04-26 21:00   ` Dmitry Baryshkov
2022-04-27 14:13     ` Leo Yan
2022-04-16 15:40 ` [PATCH v1 3/5] interconnect: qcom: icc-rpm: Change to use qcom_icc_xlate_extended() Leo Yan
2022-04-26 21:00   ` Dmitry Baryshkov
2022-04-16 15:40 ` [PATCH v1 4/5] interconnect: qcom: icc-rpm: Support multiple buckets Leo Yan
2022-04-16 15:40 ` [PATCH v1 5/5] interconnect: qcom: icc-rpm: Set bandwidth and clock for bucket values Leo Yan

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