From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 10 Nov 2020 07:55:28 -0500 Subject: [PATCH 01/26] lib: rational: copy the rational fraction lib routines from Linux In-Reply-To: <20201110090602.2255-2-t-kristo@ti.com> References: <20201110090602.2255-1-t-kristo@ti.com> <20201110090602.2255-2-t-kristo@ti.com> Message-ID: <20201110125528.GB5340@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: