phy: fixed_phy: Add gpio to determine link up/down.
An SFP module may have a link up/down status pin which can be connection to a GPIO line of the host. Add support for reading such an GPIO in the fixed_phy driver. Signed-off-by:Andrew Lunn <andrew@lunn.ch> Reviewed-by:
Florian Fainelli <f.fainelli@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- Documentation/devicetree/bindings/net/fixed-link.txt 13 additions, 1 deletionDocumentation/devicetree/bindings/net/fixed-link.txt
- Documentation/networking/stmmac.txt 1 addition, 1 deletionDocumentation/networking/stmmac.txt
- arch/m68k/coldfire/m5272.c 1 addition, 1 deletionarch/m68k/coldfire/m5272.c
- arch/mips/ar7/platform.c 3 additions, 2 deletionsarch/mips/ar7/platform.c
- arch/mips/bcm47xx/setup.c 1 addition, 1 deletionarch/mips/bcm47xx/setup.c
- drivers/net/ethernet/broadcom/genet/bcmmii.c 1 addition, 1 deletiondrivers/net/ethernet/broadcom/genet/bcmmii.c
- drivers/net/phy/fixed_phy.c 23 additions, 3 deletionsdrivers/net/phy/fixed_phy.c
- drivers/of/of_mdio.c 10 additions, 3 deletionsdrivers/of/of_mdio.c
- include/linux/phy_fixed.h 6 additions, 2 deletionsinclude/linux/phy_fixed.h
Loading
Please register or sign in to comment