Skip to content

interconnect: Support Samsung Exynos use-case

Artur Świgoń linux-pm linux-samsung-soc lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 6 repliesIn review
  2. v3 RFC posting 2/27 patches 23 repliesSuperseded
  3. v3 posting 1/24 patches 5 repliesApplied
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v2 RFC11 patches29 repliesSuperseded

Changes in v4 from the cover letter

* Improve commit messages.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3interconnect: Export of_icc_get_from_provider()drivers/interconnect/core.c include/linux/interconnect-provider.h+8 -12 replies
2/3interconnect: Relax requirement in of_icc_get_from_provider()drivers/interconnect/core.c+1 -11 reply
3/3interconnect: Allow inter-provider pairs to be configureddrivers/interconnect/core.c include/linux/interconnect-provider.h+7 -60 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiChanwoo Choi
1/3R-b R-b
2/3A-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] interconnect: Support Samsung Exynos use-case

Previously posted as a part of a larger RFC: [1].

The Exynos SoC family relies on the devfreq driver for frequency scaling. However, a way to programmatically enforce QoS contraints (i.e., minimum frequency) is desired. A solution which uses the interconnect framework to ensure QoS is currently being developed[1].

The exynos-bus hierarchy is composed of multiple buses which are probed separately. Sometimes the DMC is even handled by a different driver. Since the exynos-bus driver is generic and supports multiple differing bus hierarchies, IDs for nodes (i.e. buses) are assigned dynamically. Due to the unspecified relative probing order, every bus registers its own interconnect provider.

Rationale for each patch in this series:
* Patch 01 (exporting of_icc_get_from_provider()) makes it easy to retrieve the parent node from the DT (cf. patch 05 in [1]).
* Patch 02 (allowing #interconnect-cells = <0>) allows to remove dummy node IDs from the DT.
* Patch 03 (allowing inter-provider node pairs) is necessary to make such multi-provider hierarchy work. A new approach implemented in v3 ensures not to break any existing drivers.

---
Changes since v3 (to patches in this series):
* Improve commit messages.

---
Artur Świgoń
Samsung R&D Institute Poland
Samsung Electronics

---
References:
[1] https://patchwork.kernel.org/patch/11305287/

Artur Świgoń (3):
interconnect: Export of_icc_get_from_provider()
interconnect: Relax requirement in of_icc_get_from_provider()
interconnect: Allow inter-provider pairs to be configured

 drivers/interconnect/core.c           | 16 ++++++++--------
 include/linux/interconnect-provider.h |  8 ++++++++
 2 files changed, 16 insertions(+), 8 deletions(-)
Signature · 1 line
2.17.1