Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19c6b562 authored by Taniya Das's avatar Taniya Das Committed by Gerrit - the friendly Code Review server
Browse files

clk: qcom: npucc: Add pll config for NPU Q6 PLL



The NPU Q6 PLL configuration is lost after the NPU restart, thus add the
configuration to the PLL which could be used to re-configure the PLL again.

Change-Id: I9bc60686dd06f193ad4be779c19be43b8232358d
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent a8667785
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -231,7 +231,7 @@ static struct clk_alpha_pll_postdiv npu_cc_pll1_out_even = {
	},
};

static const struct alpha_pll_config npu_q6ss_pll_config = {
static struct alpha_pll_config npu_q6ss_pll_config = {
	.l = 0xD,
	.cal_l = 0x44,
	.alpha = 0x555,
@@ -248,6 +248,7 @@ static struct clk_alpha_pll npu_q6ss_pll = {
	.vco_table = lucid_vco,
	.num_vco = ARRAY_SIZE(lucid_vco),
	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID],
	.config = &npu_q6ss_pll_config,
	.clkr = {
		.hw.init = &(struct clk_init_data){
			.name = "npu_q6ss_pll",