public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add pm_runtime support to SM6350 camcc
@ 2023-02-13 13:08 Luca Weiss
  2023-02-13 13:08 ` [PATCH v2 1/2] clk: qcom: camcc-sm6350: add pm_runtime support Luca Weiss
  2023-02-13 13:08 ` [PATCH v2 2/2] arm64: dts: qcom: sm6350: add power domain to camcc Luca Weiss
  0 siblings, 2 replies; 4+ messages in thread
From: Luca Weiss @ 2023-02-13 13:08 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Michael Turquette,
	Stephen Boyd, Rob Herring, Krzysztof Kozlowski
  Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, linux-clk,
	linux-kernel, devicetree, Luca Weiss

As pointed out during patch review, we should make sure that we turn on
the CX power domain when camcc is in use, and also disable it (or remove
our vote on it) when camcc is not in use.

For this add pm_runtime support to the driver and stick the power-domain
in the devicetree.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Changes in v2:
- no change resend since I messed up To/CC in the initial submission
- Link to v1: https://lore.kernel.org/r/20230213-sm6350-camcc-runtime_pm-v1-0-761fc69f7a80@z3ntu.xyz

---
Luca Weiss (2):
      clk: qcom: camcc-sm6350: add pm_runtime support
      arm64: dts: qcom: sm6350: add power domain to camcc

 arch/arm64/boot/dts/qcom/sm6350.dtsi |  2 ++
 drivers/clk/qcom/camcc-sm6350.c      | 29 ++++++++++++++++++++++++++++-
 2 files changed, 30 insertions(+), 1 deletion(-)
---
base-commit: 09e41676e35ab06e4bce8870ea3bf1f191c3cb90
change-id: 20230213-sm6350-camcc-runtime_pm-639b75c3d4b1

Best regards,
-- 
Luca Weiss <luca@z3ntu.xyz>


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

end of thread, other threads:[~2023-02-13 22:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13 13:08 [PATCH v2 0/2] Add pm_runtime support to SM6350 camcc Luca Weiss
2023-02-13 13:08 ` [PATCH v2 1/2] clk: qcom: camcc-sm6350: add pm_runtime support Luca Weiss
2023-02-13 22:30   ` Luca Weiss
2023-02-13 13:08 ` [PATCH v2 2/2] arm64: dts: qcom: sm6350: add power domain to camcc Luca Weiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox