linux/drivers/net/ethernet/broadcom
Linus Walleij 5468e82f70 net: phy: fixed-phy: Drop GPIO from fixed_phy_add()
All users of the fixed_phy_add() pass -1 as GPIO number
to the fixed phy driver, and all users of fixed_phy_register()
pass -1 as GPIO number as well, except for the device
tree MDIO bus.

Any new users should create a proper device and pass the
GPIO as a descriptor associated with the device so delete
the GPIO argument from the calls and drop the code looking
requesting a GPIO in fixed_phy_add().

In fixed phy_register(), investigate the "fixed-link"
node and pick the GPIO descriptor from "link-gpios" if
this property exists. Move the corresponding code out
of of_mdio.c as the fixed phy code anyways requires
OF to be in use.

Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-04 18:33:36 -08:00
..
bnx2x broadcom: Mark expected switch fall-throughs 2019-01-23 09:06:36 -08:00
bnxt bnxt_en: Add bnxt_en initial port params table and register it 2019-01-29 22:13:09 -08:00
genet net: phy: fixed-phy: Drop GPIO from fixed_phy_add() 2019-02-04 18:33:36 -08:00
b44.c net: b44: replace dev_kfree_skb_xxx by dev_consume_skb_xxx for drop profiles 2019-01-29 10:11:42 -08:00
b44.h
bcm63xx_enet.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bcm63xx_enet.h
bcmsysport.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bcmsysport.h net: systemport: Simplify queue mapping logic 2018-11-06 15:39:48 -08:00
bgmac-bcma-mdio.c
bgmac-bcma.c
bgmac-platform.c
bgmac.c net: phy: fixed-phy: Drop GPIO from fixed_phy_add() 2019-02-04 18:33:36 -08:00
bgmac.h net: bgmac: Correctly annotate register space 2018-04-01 22:20:48 -04:00
bnx2.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bnx2.h
bnx2_fw.h
cnic.c cnic: remove use of VLAN_TAG_PRESENT 2018-11-08 19:49:31 -08:00
cnic.h
cnic_defs.h
cnic_if.h
Kconfig bnxt_en: Add hwmon sysfs support to read temperature 2018-08-05 17:08:26 -07:00
Makefile
sb1250-mac.c net: broadcom: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
tg3.c broadcom: Mark expected switch fall-throughs 2019-01-23 09:06:36 -08:00
tg3.h tg3: Update copyright 2018-07-16 14:42:10 -07:00