OSDN Git Service

staging: clocking-wizard: Add support for fractional support
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Wed, 24 Feb 2021 13:10:38 +0000 (18:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:30 +0000 (09:25 +0100)
commit91d695d71841ab4ed7d26e27ee194aed03328095
tree59eff65c5c4bb700f105f4ceab6f734c83934bb7
parent5a853722eb32188647a541802d51d0db423b9baf
staging: clocking-wizard: Add support for fractional support

Currently the set rate granularity is to integral divisors.
Add support for the fractional divisors.
Only the first output0 is fractional in the hardware.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/1614172241-17326-7-git-send-email-shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c