diff options
author | Abel Vesa <abel.vesa@linaro.org> | 2022-07-18 14:15:14 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-12-28 16:44:50 +0100 |
commit | 6d967a5a49e8d08d8e4430aadba8d3c903b794a5 (patch) | |
tree | 702aa4f275e2f6c0268245508e6a8b023cfd8b0b /drivers/powercap | |
parent | dt-bindings: remoteproc: qcom,adsp: correct msm8996-slpi-pil clocks (diff) | |
download | linux-6d967a5a49e8d08d8e4430aadba8d3c903b794a5.tar.xz linux-6d967a5a49e8d08d8e4430aadba8d3c903b794a5.zip |
remoteproc: qcom: q6v5: Use _clk_get_optional for aggre2_clk
Only msm8996 and msm8998 SLPIs need the RPM_SMD_AGGR2_NOC_CLK
(as aggre2 clock). None of the other platforms do. Back when the support
for the mentioned platforms was added to the q6v5 pass driver, the
devm_clk_get_optional was not available, so the has_aggre2_clk was
necessary in order to differentiate between plaforms that need this
clock and those which do not. Now that devm_clk_get_optional is available,
we can drop the has_aggre2_clk. This makes the adsp_data more cleaner
and removes the check within adsp_init_clocks.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220718121514.2451590-1-abel.vesa@linaro.org
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions