Skip to content

Commit d719915

Browse files
chintanv133vinodkoul
authored andcommitted
phy: ti: gmii-sel: Enable SGMII mode for J784S4
TI's J784S4 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: Chintan Vankar <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 2daa955 commit d719915

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
@@ -247,7 +247,7 @@ static const
247247
struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw9g_soc_j784s4 = {
248248
.use_of_data = true,
249249
.regfields = phy_gmii_sel_fields_am654,
250-
.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) |
250+
.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII) |
251251
BIT(PHY_INTERFACE_MODE_USXGMII),
252252
.num_ports = 8,
253253
.num_qsgmii_main_ports = 2,

0 commit comments

Comments
 (0)