phy: ti: phy-j721e-wiz.c: Add usxgmii support in wiz driver
authorTanmay Patil <t-patil@ti.com>
Tue, 28 Jun 2022 12:22:51 +0000 (15:22 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 30 Aug 2022 05:12:57 +0000 (10:42 +0530)
commitb64a85fb8f531d201cc43088a23d8b32dc729fc2
tree8295a98285d1f9d36319d8019f7a9e35d2c7526e
parent288440de9e5fdb4a3ff73864850f080c1250fc81
phy: ti: phy-j721e-wiz.c: Add usxgmii support in wiz driver

Changes the wiz_p_mac_div_sel() and wiz_mode_select() to
configure serdes for USXGMII.

Adds the support to configure mac_src_sel, refclk_sel and
rxfclk_sel in the LANECTL register and configures the serdes for
usxgmii.

[rogerq] Fix MAC_SRC_SEL to 0x3 for USXGMII as per CSL code.

Signed-off-by: Tanmay Patil <t-patil@ti.com>
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20220628122255.24265-4-rogerq@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-j721e-wiz.c