diff options
author | Frank Oltmanns <frank@oltmanns.dev> | 2023-08-07 14:43:40 +0200 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2023-08-09 23:33:58 +0800 |
commit | 088cefca2418304f457818da0f3c33bf2dac0794 (patch) | |
tree | e9b8b08ed1699d645e6a2fe344ca29074f9930eb /scripts/gdb/linux/utils.py | |
parent | c0380d14745194906c378d2494fc494239e16a85 (diff) |
clk: sunxi-ng: nkm: Support finding closest rate
When finding the best rate for a NKM clock, consider rates that are
higher than the requested rate, if the CCU_FEATURE_CLOSEST_RATE flag is
set by using the helper function ccu_is_better_rate().
Accommodate ccu_mux_helper_determine_rate to this change.
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
Link: https://lore.kernel.org/r/20230807-pll-mipi_set_rate_parent-v6-7-f173239a4b59@oltmanns.dev
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions