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

2020-05-27 Thread Stephen Boyd
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 1, discarding the least > significant digits -- presumably to fit the intermediate value within 32 > bits. > > The precision we're losing is,

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

2020-05-19 Thread Lubomir Rintel
While calculating the output rate of a fractional divider clock, the value is divided and multipled by 1, 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.