Merge "clk: qcom: Update the GPU PLL configuration to 800MHz"

This commit is contained in:
Linux Build Service Account 2016-10-20 03:33:14 -07:00 committed by Gerrit - the friendly Code Review server
commit 6128ed042e
2 changed files with 6 additions and 4 deletions

View file

@ -935,6 +935,8 @@ static int clk_gfx3d_src_set_rate_and_parent(struct clk_hw *hw,
} }
const struct clk_ops clk_gfx3d_src_ops = { const struct clk_ops clk_gfx3d_src_ops = {
.enable = clk_rcg2_enable,
.disable = clk_rcg2_disable,
.is_enabled = clk_rcg2_is_enabled, .is_enabled = clk_rcg2_is_enabled,
.get_parent = clk_rcg2_get_parent, .get_parent = clk_rcg2_get_parent,
.set_parent = clk_rcg2_set_parent, .set_parent = clk_rcg2_set_parent,

View file

@ -84,12 +84,12 @@ static struct pll_vco gpu_vco[] = {
{ 250000000, 500000000, 3 }, { 250000000, 500000000, 3 },
}; };
/* 640MHz configuration */ /* 800MHz configuration */
static const struct pll_config gpu_pll0_config = { static const struct pll_config gpu_pll0_config = {
.l = 0x21, .l = 0x29,
.config_ctl_val = 0x4001055b, .config_ctl_val = 0x4001055b,
.alpha = 0x55555600, .alpha = 0xaaaaab00,
.alpha_u = 0x55, .alpha_u = 0xaa,
.alpha_en_mask = BIT(24), .alpha_en_mask = BIT(24),
.vco_val = 0x2 << 20, .vco_val = 0x2 << 20,
.vco_mask = 0x3 << 20, .vco_mask = 0x3 << 20,