Re: [PATCH v6 0/6] clk: qcom: use power-domain for sm8250's clock controllers

From: Dmitry Baryshkov
Date: Thu Aug 26 2021 - 17:56:33 EST


On 26/08/2021 21:31, Stephen Boyd wrote:
Quoting Dmitry Baryshkov (2021-07-27 13:19:56)
On SM8250 both the display and video clock controllers are powered up by
the MMCX power domain. Handle this by linking clock controllers to the
proper power domain, and using runtime power management to enable and
disable the MMCX power domain.

Dependencies:
- https://lore.kernel.org/linux-arm-msm/20210703005416.2668319-1-bjorn.andersson@xxxxxxxxxx/
(pending)

Does this patch series need to go through the qcom tree? Presumably the
dependency is going through qcom -> arm-soc

It looks like Bjorn did not apply his patches in the for-5.15 series, so we'd have to wait anyway. Probably I should rebase these patches instead on Rajendra's required-opps patch (which is going in this window).



Changes since v5:
- Dropped devm_pm_runtime_enable callback to remove extra dependency

Changes since v4:
- Dropped pm_runtime handling from drivers/clk/qcom/common.c Moved the
code into dispcc-sm8250.c and videocc-sm8250.c

Changes since v3:
- Wrap gdsc_enable/gdsc_disable into pm_runtime_get/put calls rather
than calling pm_runtime_get in gdsc_enabled and _put in gdsc_disable
- Squash gdsc patches together to remove possible dependencies between
two patches.



--
With best wishes
Dmitry