summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@linux.dev>2024-06-28 16:55:36 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-04 13:23:42 +0200
commita46f5faa600fb44b073052d786bf3e138fd89ff3 (patch)
treeae725ea59175e28cf65219e23ccefd9f8fe3feb7 /drivers/net/ethernet/intel/igc
parent16d197fa12a505a8611872629479d9226f39b1da (diff)
phy: zynqmp: Enable reference clock correctly
commit 687d6bccb28238fcfa65f7c1badfdfeac498c428 upstream. Lanes can use other lanes' reference clocks, as determined by refclk. Use refclk to determine the clock to enable/disable instead of always using the lane's own reference clock. This ensures the clock selected in xpsgtr_configure_pll is the one enabled. For the other half of the equation, always program REF_CLK_SEL even when we are selecting the lane's own clock. This ensures that Linux's idea of the reference clock matches the hardware. We use the "local" clock mux for this instead of going through the ref clock network. Fixes: 25d700833513 ("phy: xilinx: phy-zynqmp: dynamic clock support for power-save") Signed-off-by: Sean Anderson <sean.anderson@linux.dev> Link: https://lore.kernel.org/r/20240628205540.3098010-2-sean.anderson@linux.dev Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions