mbox series

[net-next,0/3] net: ethernet: renesas: rswitch: Modify initialization for SERDES and PHY

Message ID 20221226071425.3895915-1-yoshihiro.shimoda.uh@renesas.com (mailing list archive)
Headers show
Series net: ethernet: renesas: rswitch: Modify initialization for SERDES and PHY | expand

Message

Yoshihiro Shimoda Dec. 26, 2022, 7:14 a.m. UTC
The patch [1/3] sets phydev->host_interfaces by phylink for Marvell PHY
driver (marvell10g) to initialize the MACTYPE.

The patch [2/3] siplifies the rswitch driver, and [3/3] adds
phy_power_on() calling to initialize the Ethernet SERDES PHY driver
(r8a779f0-eth-serdes) for each channel.

Yoshihiro Shimoda (3):
  net: phylink: Set host_interfaces for a non-sfp PHY
  net: ethernet: renesas: rswitch: Simplify struct phy * handling
  net: ethernet: renesas: rswitch: Add phy_power_{on,off}() calling

 drivers/net/ethernet/renesas/rswitch.c | 48 ++++++++++++++------------
 drivers/net/ethernet/renesas/rswitch.h |  1 +
 drivers/net/phy/phylink.c              |  1 +
 3 files changed, 28 insertions(+), 22 deletions(-)