Skip to content

Commit 9805e06

Browse files
committed
phy: ti: gmii-sel: Enable SGMII mode for J784S4
JIRA: https://issues.redhat.com/browse/RHEL-44742 commit d719915 Author: Chintan Vankar <c-vankar@ti.com> Date: Thu Dec 21 15:59:55 2023 +0530 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 <c-vankar@ti.com> Reviewed-by: Roger Quadros <rogerq@kernel.org> Link: https://lore.kernel.org/r/20231221102956.754617-1-c-vankar@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
1 parent bf122dd commit 9805e06

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

0 commit comments

Comments
 (0)