Skip to content

Commit 2de2e49

Browse files
phy: ti: gmii-sel: Enable SGMII mode for J721E
TI's J721E SoC supports SGMII mode with the CPSW9G instance of the CPSW Ethernet Switch. Thus, enable it by adding SGMII mode to the list of the corresponding extra_modes member. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> Reviewed-by: Roger Quadros <rogerq@kernel.org> Link: https://lore.kernel.org/r/20230309063514.398705-4-s-vadapalli@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 178b651 commit 2de2e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/phy/ti/phy-gmii-sel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ static const
230230
struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw9g_soc_j721e = {
231231
.use_of_data = true,
232232
.regfields = phy_gmii_sel_fields_am654,
233-
.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII),
233+
.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII),
234234
.num_ports = 8,
235235
.num_qsgmii_main_ports = 2,
236236
};

0 commit comments

Comments
 (0)