commit | e72139e59db83da089b02b722e99e2446fc19709 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Sat Sep 11 13:20:03 2021 -0400 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Thu Oct 07 16:08:23 2021 +0800 |
tree | c00a4d17c8b2458c20126929ee8e7f82f1d4c8e2 | |
parent | e850b4cbe8f0b86a02cd9609992ea0b952c7735f [diff] |
clk: k210: Try harder to get the best config 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@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>