diff options
author | Martin Blumenstingl <[email protected]> | 2021-06-28 00:39:57 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2021-06-30 11:37:02 -0700 |
commit | bbd7a6cc382f4317b08ba71151b23abf76fc4c34 (patch) | |
tree | 47e1e1bc6f33e00d5051be569896a8b818610115 /scripts/gdb/linux/cpus.py | |
parent | faa0e307948594b4379a86fff7fb2409067aed6f (diff) |
clk: divider: Add re-usable determine_rate implementations
These are useful when running on 32-bit systems to increase the upper
supported frequency limit. clk_ops.round_rate returns a signed long
which limits the maximum rate on 32-bit systems to 2^31 (or approx.
2.14GHz). clk_ops.determine_rate internally uses an unsigned long so
the maximum rate on 32-bit systems is 2^32 or approx. 4.29GHz.
To avoid code-duplication switch over divider_{ro_,}round_rate_parent
to use the new divider_{ro_,}determine_rate functions.
Reviewed-by: Jerome Brunet <[email protected]>
Signed-off-by: Martin Blumenstingl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions