Thread (1 message) 1 message, 1 author, 2020-05-28

Re: [PATCH v3 01/13] clk: mmp: frac: Do not lose last 4 digits of precision

From: Stephen Boyd <sboyd@kernel.org>
Date: 2020-05-28 01:01:03
Also in: linux-clk, linux-devicetree, lkml

Quoting Lubomir Rintel (2020-05-19 15:41:39)
While calculating the output rate of a fractional divider clock, the
value is divided and multipled by 10000, discarding the least
significant digits -- presumably to fit the intermediate value within 32
bits.

The precision we're losing is, however, not insignificant for things like
I2S clock. Maybe also elsewhere, now that since commit ea56ad60260e ("clk:
mmp2: Stop pretending PLL outputs are constant") the parent rates are more
precise and no longer rounded to 10000s.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
Applied to clk-next

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help