]> git.karo-electronics.de Git - linux-beck.git/commit
clk: qcom: Move all sdcc rcgs to use clk_rcg2_floor_ops
authorRajendra Nayak <rnayak@codeaurora.org>
Mon, 21 Nov 2016 06:37:12 +0000 (12:07 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 23 Nov 2016 19:00:06 +0000 (11:00 -0800)
commit5f5001a978fc966974b136c00cfb2134edd3f2bd
tree18a4fde4fe1abd2391d381871f13a2d221acb2f3
parent081ba80206d6b53d45ee31bc6c90871e8cfbc117
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>
drivers/clk/qcom/gcc-apq8084.c
drivers/clk/qcom/gcc-msm8916.c
drivers/clk/qcom/gcc-msm8974.c
drivers/clk/qcom/gcc-msm8994.c
drivers/clk/qcom/gcc-msm8996.c