[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210709013043.495233-1-dmitry.baryshkov@linaro.org>
Date: Fri, 9 Jul 2021 04:30:36 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Stephen Boyd <sboyd@...nel.org>,
Taniya Das <tdas@...eaurora.org>,
Jonathan Marek <jonathan@...ek.ca>,
Michael Turquette <mturquette@...libre.com>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-clk@...r.kernel.org,
Bryan O'Donoghue <bryan.odonoghue@...aro.org>,
Mark Brown <broonie@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/7] clk: qcom: use power-domain for sm8250's clock controllers
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-pm/20210603093438.138705-1-ulf.hansson@linaro.org/ (merged in 5.14)
- https://lore.kernel.org/linux-arm-msm/20210703005416.2668319-1-bjorn.andersson@linaro.org/
(pending)
Changes since v1:
- Rebase on top of Bjorn's patches, removing the need for setting
performance state directly.
- Move runtime PM calls from GDSC code to generic genpd code.
- Always call pm_runtime_enable in the Qualcomm generic clock
controller code.
- Register GDSC power domains as subdomains of the domain powering the
clock controller if there is one.
----------------------------------------------------------------
Dmitry Baryshkov (7):
dt-bindings: clock: qcom,dispcc-sm8x50: add mmcx power domain
dt-bindings: clock: qcom,videocc: add mmcx power domain
PM: domains: Add support for runtime PM
clk: qcom: gdsc: enable optional power domain support
arm64: dts: qcom: sm8250: remove mmcx regulator
clk: qcom: dispcc-sm8250: stop using mmcx regulator
clk: qcom: videocc-sm8250: stop using mmcx regulator
.../bindings/clock/qcom,dispcc-sm8x50.yaml | 7 ++++
.../devicetree/bindings/clock/qcom,videocc.yaml | 7 ++++
arch/arm64/boot/dts/qcom/sm8250.dtsi | 11 ++-----
drivers/base/power/domain.c | 33 +++++++++++++++++++
drivers/clk/qcom/common.c | 37 ++++++++++++++++++----
drivers/clk/qcom/dispcc-sm8250.c | 1 -
drivers/clk/qcom/gdsc.c | 5 +++
drivers/clk/qcom/videocc-sm8250.c | 4 ---
include/linux/pm_domain.h | 6 ++++
9 files changed, 91 insertions(+), 20 deletions(-)
Powered by blists - more mailing lists