Re: [PATCH 1/1] clk:aspeed:Fix AST2600 hpll calculate formula
From: Stephen Boyd <sboyd@kernel.org>
Date: 2021-08-29 04:37:08
Also in:
lkml
From: Stephen Boyd <sboyd@kernel.org>
Date: 2021-08-29 04:37:08
Also in:
lkml
Quoting Ryan Chen (2021-08-18 01:05:18)
AST2600 HPLL calculate formula [SCU200] HPLL Numerator(M): have fixed value depend on SCU strap. M = SCU500[10] ? 0x5F : SCU500[8] ? 0xBF : SCU200[12:0] if SCU500[10] = 1, M=0x5F. else if SCU500[10]=0 & SCU500[8]=1, M=0xBF. others (SCU510[10]=0 and SCU510[8]=0) depend on SCU200[12:0] (default 0x8F) register setting. HPLL Denumerator (N) = SCU200[18:13] (default 0x2) HPLL Divider (P) = SCU200[22:19] (default 0x0) Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
Any Fixes tag? Joel, can you review?