aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2020-10-01 11:59:47 +0300
committerStephen Boyd <[email protected]>2020-10-13 19:44:40 -0700
commit86378cf646d323d0ce0ac734d444f4d80fd9e43f (patch)
tree3d5991d03a9e8509a86dfdbd470c16ee405779d2 /lib/test_overflow.c
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
clk: axi-clkgen: Add support for fractional dividers
The axi-clkgen has (optional) fractional dividers on the output clock divider and feedback clock divider path. Utilizing the fractional dividers allows for a better resolution of the output clock, being able to synthesize more frequencies. Rework the driver support to support the fractional register fields, both for setting a new rate as well as reading back the current rate from the hardware. For setting the rate if no perfect divider settings were found in non-fractional mode try again in fractional mode and see if better settings can be found. This appears to be the recommended mode of operation. Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions