mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
pll: set hifi to 491.52M [2/2]
PD#SWPL-153316 Problem: hifi need 491.52M by hdmitx and audio Solution: set hifi to 491.52M in U-boot, do not touch the hifi parameter in Kernel Verify: t7 an400 Change-Id: I0841fa8cda45bb763144b78a1b0ed5d272a5c12b Signed-off-by: Jian Hu <jian.hu@amlogic.com>
This commit is contained in:
+2
-14
@@ -1018,18 +1018,6 @@ static const struct pll_params_table t7_hifi_pll_table[] = {
|
||||
};
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Internal hifi pll emulation configuration parameters
|
||||
*/
|
||||
static const struct reg_sequence t7_hifi_init_regs[] = {
|
||||
{ .reg = ANACTRL_HIFIPLL_CTRL1, .def = 0x00014820 }, /*frac = 20.16M */
|
||||
{ .reg = ANACTRL_HIFIPLL_CTRL2, .def = 0x00000000 },
|
||||
{ .reg = ANACTRL_HIFIPLL_CTRL3, .def = 0x6a285c00 },
|
||||
{ .reg = ANACTRL_HIFIPLL_CTRL4, .def = 0x65771290 },
|
||||
{ .reg = ANACTRL_HIFIPLL_CTRL5, .def = 0x3927200a },
|
||||
{ .reg = ANACTRL_HIFIPLL_CTRL6, .def = 0x56540000 }
|
||||
};
|
||||
|
||||
static struct clk_regmap t7_hifi_pll_dco = {
|
||||
.data = &(struct meson_clk_pll_data){
|
||||
.en = {
|
||||
@@ -1063,8 +1051,6 @@ static struct clk_regmap t7_hifi_pll_dco = {
|
||||
.width = 1,
|
||||
},
|
||||
.table = t7_hifi_pll_table,
|
||||
.init_regs = t7_hifi_init_regs,
|
||||
.init_count = ARRAY_SIZE(t7_hifi_init_regs),
|
||||
.flags = CLK_MESON_PLL_ROUND_CLOSEST
|
||||
| CLK_MESON_PLL_FIXED_FRAC_WEIGHT_PRECISION,
|
||||
},
|
||||
@@ -1075,6 +1061,8 @@ static struct clk_regmap t7_hifi_pll_dco = {
|
||||
.fw_name = "xtal",
|
||||
},
|
||||
.num_parents = 1,
|
||||
/* HIFI PLL is 491.52M in U-boot, do not gate it in CCF */
|
||||
.flags = CLK_IGNORE_UNUSED,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user