]> git.itanic.dy.fi Git - linux-stable/commit
phy: zynqmp: Allow variation in refclk rate
authorSean Anderson <sean.anderson@seco.com>
Tue, 11 Jul 2023 19:45:39 +0000 (15:45 -0400)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Jul 2023 16:57:44 +0000 (22:27 +0530)
commit76009ee76e05e30e29aade02e788aebe9ce9ffd2
treedd53844fa229dd28d81495159d9af6af36803b95
parent20b5c6ae18ffdbac410f1711c932cf0fd80d2539
phy: zynqmp: Allow variation in refclk rate

Due to limited available frequency ratios, the reference clock rate may
not be exactly the same as the required rate. Allow a small (100 ppm)
deviation.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20230711194542.898230-1-sean.anderson@seco.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/xilinx/phy-zynqmp.c