[PATCH 01/26] lib: rational: copy the rational fraction lib routines from Linux

Tom Rini trini at konsulko.com
Tue Nov 10 13:55:28 CET 2020


On Tue, Nov 10, 2020 at 11:05:37AM +0200, Tero Kristo wrote:

> Copy the best rational approximation calculation routines from Linux.
> Typical usecase for these routines is to calculate the M/N divider
> values for PLLs to reach a specific clock rate.
> 
> Signed-off-by: Tero Kristo <t-kristo at ti.com>

Please say what version of the Linux kernel this is from, for easier
later re-syncing.  Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201110/87490707/attachment.sig>


More information about the U-Boot mailing list