summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ni
diff options
context:
space:
mode:
authorSiddharth Vadapalli <s-vadapalli@ti.com>2022-08-22 12:31:25 +0530
committerDavid S. Miller <davem@davemloft.net>2022-08-24 09:52:04 +0100
commit763015a794e1588aac1d3d01640a2d1a50c1900c (patch)
tree93d507ce6db2a15ada7901a75565ba94d0f93872 /drivers/net/ethernet/ni
parent37184fc1120ec594c992292ba9963edb69bf8be8 (diff)
downloadlinux-763015a794e1588aac1d3d01640a2d1a50c1900c.tar.gz
linux-763015a794e1588aac1d3d01640a2d1a50c1900c.tar.bz2
linux-763015a794e1588aac1d3d01640a2d1a50c1900c.zip
net: ethernet: ti: am65-cpsw: Move phy_set_mode_ext() to correct location
In TI's J7200 SoC CPSW5G ports, each of the 4 ports can be configured as a QSGMII main or QSGMII-SUB port. This configuration is performed by phy-gmii-sel driver on invoking the phy_set_mode_ext() function. It is necessary for the QSGMII main port to be configured before any of the QSGMII-SUB interfaces are brought up. Currently, the QSGMII-SUB interfaces come up before the QSGMII main port is configured. Fix this by moving the call to phy_set_mode_ext() from am65_cpsw_nuss_ndo_slave_open() to am65_cpsw_nuss_init_slave_ports(), thereby ensuring that the QSGMII main port is configured before any of the QSGMII-SUB ports are brought up. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ni')
0 files changed, 0 insertions, 0 deletions