linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] clk: qcom: smd-rpm: Report enable state to framework
@ 2021-11-09  2:25 Shawn Guo
  2021-11-09  2:25 ` [PATCH 1/3] clk: qcom: smd-rpm: Mark clock enabled in clk_smd_rpm_handoff() Shawn Guo
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Shawn Guo @ 2021-11-09  2:25 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Bjorn Andersson, Loic Poulain, linux-arm-msm, linux-clk,
	linux-kernel, Shawn Guo

Currently the enable state of smd-rpm clocks are not properly reported
back to framework due to missing .is_enabled and .is_prepared hooks.
This causes a couple of issues.

- All those unused clocks are not voted for off, because framework has
  no knowledge that they are unused.  It becomes a problem for vlow
  power mode support, as we do not have every single RPM clock claimed
  and voted for off by client devices, and rely on clock framework to
  disable those unused RPM clocks.

- The clk_summary in debugfs doesn't show a correct enable state for
  RPM clocks.


Shawn Guo (3):
  clk: qcom: smd-rpm: Mark clock enabled in clk_smd_rpm_handoff()
  clk: qcom: smd-rpm: Add .is_enabled hook
  clk: qcom: smd-rpm: Add .is_prepared hook

 drivers/clk/qcom/clk-smd-rpm.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

-- 
2.17.1


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

end of thread, other threads:[~2021-12-09  9:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09  2:25 [PATCH 0/3] clk: qcom: smd-rpm: Report enable state to framework Shawn Guo
2021-11-09  2:25 ` [PATCH 1/3] clk: qcom: smd-rpm: Mark clock enabled in clk_smd_rpm_handoff() Shawn Guo
2021-11-09  2:25 ` [PATCH 2/3] clk: qcom: smd-rpm: Add .is_enabled hook Shawn Guo
2021-11-09  2:25 ` [PATCH 3/3] clk: qcom: smd-rpm: Add .is_prepared hook Shawn Guo
2021-11-09 10:26 ` [PATCH 0/3] clk: qcom: smd-rpm: Report enable state to framework Stephan Gerhold
2021-11-09 15:56   ` Bjorn Andersson
2021-11-10 13:15   ` Shawn Guo
2021-11-10 13:48     ` Bjorn Andersson
2021-11-11  9:39       ` Shawn Guo
2021-12-06 15:42         ` Bjorn Andersson
2021-11-10 14:09     ` Stephan Gerhold
2021-11-10 14:58       ` Bjorn Andersson
2021-12-09  9:10   ` Stephen Boyd

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