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)
commitbb9b9cde0fe009f8cb3862abaafa96302ab4e486
tree18e72cc60bec3e78a5f173432ca96d0dd46ccb85
parentc1079b4ec186ff642641704a98c3ca86d7aa3722
clk: qcom: mmcc8974: move gfx3d_clk_src from the mmcc to rpm

gfx3d_clk_src for msm8974 was introduced into the MMCC by
commit d8b212014e69 ("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 685dc94b7d8f ("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