clk: sc2: Ignore init hifi_pll [1/1]

PD#SWPL-165772

Problem:
hifi_pll has been initially configured in the bootloader and is being
used by audio. If hifi_pll is reconfigured in the kernel, the sound
will be broken.

Solution:
Add flag CLK_MESON_PLL_IGNORE_INIT for hifi_pll

Verify:
sc2_ah212

Change-Id: I9989d6c16e590207f6b03658705b088f8a13c8c5
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
This commit is contained in:
Chuan Liu
2024-04-22 14:21:29 +08:00
committed by Luan Yuan
parent 19bf958cdc
commit 7fd45111cf
+1 -1
View File
@@ -887,7 +887,7 @@ static struct clk_regmap sc2_hifi_pll_dco = {
.range = &sc2_hifi_pll_m,
.init_regs = sc2_hifi_init_regs,
.init_count = ARRAY_SIZE(sc2_hifi_init_regs),
.flags = CLK_MESON_PLL_ROUND_CLOSEST,
.flags = CLK_MESON_PLL_ROUND_CLOSEST | CLK_MESON_PLL_IGNORE_INIT,
},
.hw.init = &(struct clk_init_data){
.name = "hifi_pll_dco",