OSDN Git Service

phy: ti: gmii-sel: Add support for SGMII mode
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Thu, 9 Mar 2023 06:35:12 +0000 (12:05 +0530)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 May 2023 14:30:51 +0000 (20:00 +0530)
commit6a301188420ae53d8606ef4c5584fc015574e1f9
tree1a799cfb35165148eb4b7e99238431d2a0383e3f
parent1541fbaca0d9c68e46d2593112a578f1c13fd312
phy: ti: gmii-sel: Add support for SGMII mode

Add support to configure the CPSW MAC's PHY in SGMII mode if the SoC
supports it. The extra_modes member of the phy_gmii_sel_soc_data struct
corresponding to the SoC is used to determine whether or not the SoC
supports SGMII mode.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20230309063514.398705-2-s-vadapalli@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-gmii-sel.c