Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clk: clock-wizard: Use all stages of the MMCM
This patch allows the first divider, clk_wzrd->clkout[0], to first calculate the optimal chain (through clk_wzrd_calc_hints()). And then to use that for itself, its parent clock-generator_mul and its grandparent clock-generator_div. The current method of only setting the CLK_SET_RATE_PARENT flag if there is a single output works well. Most of the time you would not want to set the VCO parent if multiple outputs are used. However, in the case where only a single output is used incorporating the VCO rate provides optimal accuracy. Signed-off-by: Paul Thomas <pthomas8589@gmail.com> Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
- Loading branch information
Showing
1 changed file
with
189 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters