summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/clk-rcg.h
diff options
context:
space:
mode:
authorStephen Boyd2014-07-11 21:55:27 +0200
committerStephen Boyd2014-07-16 01:38:59 +0200
commit404c1ff67d241e8503fd46a09d324343aa321a8a (patch)
treeef9e18a1029de024540d02550d1a99d162d164a1 /drivers/clk/qcom/clk-rcg.h
parentclk: qcom: Add support for IPQ8064's global clock controller (GCC) (diff)
downloadkernel-qcow2-linux-404c1ff67d241e8503fd46a09d324343aa321a8a.tar.gz
kernel-qcow2-linux-404c1ff67d241e8503fd46a09d324343aa321a8a.tar.xz
kernel-qcow2-linux-404c1ff67d241e8503fd46a09d324343aa321a8a.zip
clk: qcom: Support bypass RCG configuration
In the case of HDMI clocks, we want to bypass the RCG's ability to divide the output clock and pass through the parent HDMI PLL rate. Add a simple set of clk_ops to configure the RCG to do this. This removes the need to keep adding more frequency entries to the tv_src clock whenever we want to support a new rate. Tested-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/clk-rcg.h')
-rw-r--r--drivers/clk/qcom/clk-rcg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clk-rcg.h b/drivers/clk/qcom/clk-rcg.h
index b9ec11dfd1b4..ba0523cefd2e 100644
--- a/drivers/clk/qcom/clk-rcg.h
+++ b/drivers/clk/qcom/clk-rcg.h
@@ -95,6 +95,7 @@ struct clk_rcg {
};
extern const struct clk_ops clk_rcg_ops;
+extern const struct clk_ops clk_rcg_bypass_ops;
#define to_clk_rcg(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg, clkr)