On Mon, Jul 24, 2017 at 03:48:38PM +0200, Antoine Tenart wrote: > SFP ports do not necessarily need to have an Ethernet PHY between the > SoC and the actual physical port. However, the driver currently makes > the "phy" property mandatory, contrary to what is stated in the Device > Tree binding. > > To allow handling the PPv2 controller on those boards, this patch makes > the PHY optional, and aligns the PPv2 driver on its device tree > documentation.
It is an architectural question... but with the boards i have with an SFF port, i actually use a fixed-phy to represent the SFF. Then nothing special is needed. Also, Russell King posted his phylink patches. Once accepted, you are going to want to re-write some of this to make use of that code. Andrew