RE: [PATCH 1/1] clk:aspeed:Fix AST2600 hpll calculate formula
From: Ryan Chen <ryan_chen@aspeedtech.com>
Date: 2021-09-01 05:59:40
Also in:
lkml
From: Ryan Chen <ryan_chen@aspeedtech.com>
Date: 2021-09-01 05:59:40
Also in:
lkml
-----Original Message----- From: Stephen Boyd <sboyd@kernel.org> Sent: Sunday, August 29, 2021 12:37 PM To: Andrew Jeffery <redacted>; Joel Stanley <joel@jms.id.au>; Michael Turquette [off-list ref]; BMC-SW [off-list ref]; linux-clk@vger.kernel.org; linux-kernel@vger.kernel.org; Ryan Chen [off-list ref] Subject: Re: [PATCH 1/1] clk:aspeed:Fix AST2600 hpll calculate formula Quoting Ryan Chen (2021-08-18 01:05:18)quoted
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?
Hello Joel, Should I apply to this tag? d3d04f6c330a