[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <163021182287.2676726.14377450905895813289@swboyd.mtv.corp.google.com>
Date: Sat, 28 Aug 2021 21:37:02 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Andrew Jeffery <andrew@...id.au>, Joel Stanley <joel@....id.au>,
Michael Turquette <mturquette@...libre.com>,
bmc-sw@...eedtech.com, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, ryan_chen <ryan_chen@...eedtech.com>
Subject: Re: [PATCH 1/1] clk:aspeed:Fix AST2600 hpll calculate formula
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@...eedtech.com>
Any Fixes tag? Joel, can you review?
Powered by blists - more mailing lists