summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/clk-rcg.h
diff options
context:
space:
mode:
authorStephen Boyd2015-12-01 02:31:41 +0100
committerStephen Boyd2015-12-01 03:24:29 +0100
commit55213e1acec9218580c90d36034aa0370a51daab (patch)
tree6666269d67fb2984891deecb65193508a513d920 /drivers/clk/qcom/clk-rcg.h
parentclk: qcom: Add MSM8996 Global Clock Control (GCC) driver (diff)
downloadkernel-qcow2-linux-55213e1acec9218580c90d36034aa0370a51daab.tar.gz
kernel-qcow2-linux-55213e1acec9218580c90d36034aa0370a51daab.tar.xz
kernel-qcow2-linux-55213e1acec9218580c90d36034aa0370a51daab.zip
clk: qcom: Add gfx3d ping-pong PLL frequency switching
The GPU clocks on msm8996 have three dedicated PLLs, MMPLL2, MMPLL8, and MMPLL9. We leave MMPLL9 at the maximum speed (624 MHz), and we use MMPLL2 and MMPLL8 for the other frequencies. To make switching frequencies faster, we ping-pong between MMPLL2 and MMPLL8 when we're switching between frequencies that aren't the maximum. Implement custom rcg clk ops for this type of frequency switching. 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 4b1e94bdf29e..b904c335cda4 100644
--- a/drivers/clk/qcom/clk-rcg.h
+++ b/drivers/clk/qcom/clk-rcg.h
@@ -178,5 +178,6 @@ extern const struct clk_ops clk_edp_pixel_ops;
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;
#endif