+Russell, Andrew, Heiner, On 9/13/2019 9:44 AM, George McCollister wrote: > Every example of phylink SFP support I've seen is using an Ethernet > MAC with native SGMII. > Can phylink facilitate support of Fiber and Copper SFP modules > connected to an RGMII MAC if all of the following are true?
I don't think that use case has been presented before, but phylink sounds like the tool that should help solve it. From your description below, it sounds like all the pieces are there to support it. Is the Ethernet MAC driver upstream? > > 1) The MAC is connected via RGMII to a transceiver/PHY (such as > Marvell 88E1512) which then connects to the SFP via SERDER/SGMII. If > you want to see a block diagram it's the first one here: > https://www.marvell.com/transceivers/assets/Alaska_88E1512-001_product_brief.pdf > > 2) The 1G Ethernet driver has been converted to use phylink. > > 3) An I2C controller on the SoC is connected to the SFP cage. > > 4) TxFault, LOS and MOD-DEF0 are connected to GPIO on the SoC. > > 5) MDIO is connected to the intermediate PHY. > > Any thoughts on what might be missing to support this (if anything) > would be appreciated-- Florian