]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: mmcc8974: move gfx3d_clk_src from the mmcc to rpm
authorBrian Masney <masneyb@onstation.org>
Fri, 15 Nov 2019 12:39:31 +0000 (07:39 -0500)
committerStephen Boyd <sboyd@kernel.org>
Thu, 19 Dec 2019 05:27:44 +0000 (21:27 -0800)
commit5e848137f0ec4706d25a67d6cd7142404906588a
tree18e72cc60bec3e78a5f173432ca96d0dd46ccb85
parentbd6dbe5ce49faf793eca6c02052930357a9742c3
clk: qcom: mmcc8974: move gfx3d_clk_src from the mmcc to rpm

gfx3d_clk_src for msm8974 was introduced into the MMCC by
commit 1e0eaeef5ca5 ("clk: qcom: Add support for MSM8974's multimedia
clock controller (MMCC)") to ensure that all of the clocks for
this platform are documented upstream. This clock actually belongs
on the RPM. Since then, commit ee087f53d83b ("clk: qcom: smd-rpmcc:
Add msm8974 clocks") was introduced, which contains the proper
definition for gfx3d_clk_src. Let's drop the definition from the
mmcc and register the clock with the rpm instead.

This change was tested on a Nexus 5 (hammerhead) phone.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Link: https://lkml.kernel.org/r/20191115123931.18919-1-masneyb@onstation.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-smd-rpm.c
drivers/clk/qcom/mmcc-msm8974.c