summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/clk-rcg.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-07-11 19:55:27 (GMT)
committerStephen Boyd <sboyd@codeaurora.org>2014-07-15 23:38:59 (GMT)
commit404c1ff67d241e8503fd46a09d324343aa321a8a (patch)
treeef9e18a1029de024540d02550d1a99d162d164a1 /drivers/clk/qcom/clk-rcg.h
parent24d8fba44af32163334c1f162e65ba93eb2993fd (diff)
downloadlinux-404c1ff67d241e8503fd46a09d324343aa321a8a.tar.xz
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 b9ec11d..ba0523c 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)