};
static struct cpufreq_frequency_table dvfs_gpu_table[] = {
{.frequency = 266 * 1000, .index = 1000 * 1000},
- {.frequency = 400 * 1000, .index = 1350 * 1000},
+ {.frequency = 400 * 1000, .index = 1300 * 1000},
{.frequency = CPUFREQ_TABLE_END},
};
.pll= &gpll_data
};
/********************************clocks***********************************/
+static int ddr_clk_set_rate(struct clk *c, unsigned long rate)
+{
+ return 0;
+}
static struct clk *clk_ddr_parents[2] = {&ddr_pll_clk, &general_pll_clk};
static struct clk clk_ddr = {
.name = "ddr",
.parent = &ddr_pll_clk,
.recalc = clksel_recalc_shift,
+ .set_rate = ddr_clk_set_rate,
.clksel_con = CRU_CLKSELS_CON(26),
//CRU_DIV_SET(0x3,0,4),
//CRU_SRC_SET(1,8),
.name = "gpu",
.mode = gate_mode,
.recalc = clksel_recalc_div,
+ .round_rate = clk_freediv_round_autosel_parents_rate,
.set_rate = clkset_rate_freediv_autosel_parents,
.clksel_con = CRU_CLKSELS_CON(33),
.gate_idx = CLK_GATE_GPU_SRC,