summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/clk-rcg.h
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2016-09-29 13:44:03 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-03 23:05:42 -0700
commitd3d0687504251c0abfc4557c7b530e94a4f6f466 (patch)
tree71571df7a4881554033abdd1f846b49b652419a9 /drivers/clk/qcom/clk-rcg.h
parent057bdafd976ca7609ed223dbd4473d535bcb6459 (diff)
clk: qcom: Add support for gfx clock to ping pong PLLs
GFX3D clock source might require to ping pong between the available PLL sources, so add support to check the current source and switch the next PLL source for different frequency. Change-Id: Iaf98e4d18fc0c3deb75ccce53e1c09cfc9dde550 Signed-off-by: Taniya Das <tdas@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/clk-rcg.h')
-rw-r--r--drivers/clk/qcom/clk-rcg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clk-rcg.h b/drivers/clk/qcom/clk-rcg.h
index e3760969848d..da02ab499bff 100644
--- a/drivers/clk/qcom/clk-rcg.h
+++ b/drivers/clk/qcom/clk-rcg.h
@@ -23,6 +23,7 @@ struct freq_tbl {
u8 pre_div;
u16 m;
u16 n;
+ unsigned long src_freq;
};
/**
@@ -184,5 +185,6 @@ extern const struct clk_ops clk_byte_ops;
extern const struct clk_ops clk_byte2_ops;
extern const struct clk_ops clk_pixel_ops;
extern const struct clk_ops clk_gfx3d_ops;
+extern const struct clk_ops clk_gfx3d_src_ops;
#endif