Skip to content

Commit dae1e20

Browse files
committed
phy: ti: gmii-sel: Enable SGMII mode for J7200
JIRA: https://issues.redhat.com/browse/RHEL-44742 commit 178b651 Author: Siddharth Vadapalli <s-vadapalli@ti.com> Date: Thu Mar 9 12:05:13 2023 +0530 phy: ti: gmii-sel: Enable SGMII mode for J7200 TI's J7200 SoC supports SGMII mode with the CPSW5G 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-3-s-vadapalli@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
1 parent 5ccc254 commit dae1e20

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
@@ -221,7 +221,7 @@ static const
221221
struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw5g_soc_j7200 = {
222222
.use_of_data = true,
223223
.regfields = phy_gmii_sel_fields_am654,
224-
.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII),
224+
.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII),
225225
.num_ports = 4,
226226
.num_qsgmii_main_ports = 1,
227227
};

0 commit comments

Comments
 (0)