Based on discussion [0] I prepared a patch set for improving few aspects of swphy and fixed_phy handling. So far it's compile-tested only. I'd appreciate testing on different devices.
[0] https://marc.info/?t=156553610700001&r=1&w=2 Heiner Kallweit (4): net: phy: swphy: emulate register MII_ESTATUS net: phy: allow to bind genphy driver at probe time net: phy: swphy: bind swphy to genphy driver at probe time net: phy: fixed_phy: let genphy driver set supported and advertised modes drivers/net/phy/fixed_phy.c | 23 ----------------------- drivers/net/phy/phy_device.c | 3 +-- drivers/net/phy/swphy.c | 11 ++++++++++- include/linux/phy.h | 4 ++++ 4 files changed, 15 insertions(+), 26 deletions(-) -- 2.22.0