[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211109022558.14529-1-shawn.guo@linaro.org>
Date: Tue, 9 Nov 2021 10:25:55 +0800
From: Shawn Guo <shawn.guo@...aro.org>
To: Stephen Boyd <sboyd@...nel.org>
Cc: Bjorn Andersson <bjorn.andersson@...aro.org>,
Loic Poulain <loic.poulain@...aro.org>,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, Shawn Guo <shawn.guo@...aro.org>
Subject: [PATCH 0/3] clk: qcom: smd-rpm: Report enable state to framework
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
Powered by blists - more mailing lists