summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/gcc-msm8916.c
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@codeaurora.org>2016-11-21 07:37:12 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-11-23 20:00:06 +0100
commit5f5001a978fc966974b136c00cfb2134edd3f2bd (patch)
tree18a4fde4fe1abd2391d381871f13a2d221acb2f3 /drivers/clk/qcom/gcc-msm8916.c
parentclk: qcom: Add rcg ops to return floor value closest to the requested rate (diff)
downloadlinux-5f5001a978fc966974b136c00cfb2134edd3f2bd.tar.xz
linux-5f5001a978fc966974b136c00cfb2134edd3f2bd.zip
clk: qcom: Move all sdcc rcgs to use clk_rcg2_floor_ops
The sdcc driver for msm8996/msm8916/msm8974/msm8994 and apq8084 expects a clk_set_rate() on the sdcc rcg clk to set a floor value of supported clk rate closest to the requested rate, by looking up the frequency table. So move all the sdcc rcgs on all these platforms to use the newly introduced clk_rcg2_floor_ops Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org> Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org> Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/gcc-msm8916.c')
-rw-r--r--drivers/clk/qcom/gcc-msm8916.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index 5c4e193164d4..628e6ca276ec 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -1107,7 +1107,7 @@ static struct clk_rcg2 sdcc1_apps_clk_src = {
.name = "sdcc1_apps_clk_src",
.parent_names = gcc_xo_gpll0,
.num_parents = 2,
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_floor_ops,
},
};
@@ -1132,7 +1132,7 @@ static struct clk_rcg2 sdcc2_apps_clk_src = {
.name = "sdcc2_apps_clk_src",
.parent_names = gcc_xo_gpll0,
.num_parents = 2,
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_floor_ops,
},
};