[PATCH v2 4/4] clk: k210: Try harder to get the best config

Simon Glass sjg at chromium.org
Thu Sep 30 06:08:50 CEST 2021


On Sat, 11 Sept 2021 at 11:20, Sean Anderson <seanga2 at gmail.com> wrote:
>
> In some cases, the best config cannot be used because the VCO would be
> out-of-spec. In these cases, we may need to try a worse combination of r/od
> in order to find the best representable config. This also adds a few test
> cases to catch this and other (possible) unlikely errors.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
> (no changes since v1)
>
>  drivers/clk/clk_kendryte.c | 24 ++++++++++++++++++++++++
>  test/dm/k210_pll.c         |  4 ++++
>  2 files changed, 28 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list