RE: [PATCH 1/1] clk:aspeed:Fix AST2600 hpll calculate formula
From: Ryan Chen
Date: Wed Sep 01 2021 - 01:59:46 EST
> -----Original Message-----
> From: Stephen Boyd <sboyd@xxxxxxxxxx>
> Sent: Sunday, August 29, 2021 12:37 PM
> To: Andrew Jeffery <andrew@xxxxxxxx>; Joel Stanley <joel@xxxxxxxxx>; Michael
> Turquette <mturquette@xxxxxxxxxxxx>; BMC-SW
> <BMC-SW@xxxxxxxxxxxxxx>; linux-clk@xxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; Ryan Chen <ryan_chen@xxxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxx>
>
> Any Fixes tag? Joel, can you review?
Hello Joel,
Should I apply to this tag? d3d04f6c330a