linux_dsm_epyc7002/drivers/net/phy
Dmitry Torokhov 40ba6a12a5 net: mdio: switch to using gpiod_get_optional()
The MDIO device reset line is optional and now that gpiod_get_optional()
returns proper value when GPIO support is compiled out, there is no
reason to use fwnode_get_named_gpiod() that I plan to hide away.

Let's switch to using more standard gpiod_get_optional() and
gpiod_set_consumer_name() to keep the nice "PHY reset" label.

Also there is no reason to only try to fetch the reset GPIO when we have
OF node, gpiolib can fetch GPIO data from firmwares as well.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-16 16:25:16 +02:00
..
adin.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
amd.c
aquantia_hwmon.c
aquantia_main.c
aquantia.h
at803x.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-19 11:54:03 -07:00
ax88796b.c
bcm7xxx.c
bcm63xx.c
bcm87xx.c
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
broadcom.c
cicada.c
cortina.c
davicom.c
dp83tc811.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
dp83640_reg.h
dp83640.c
dp83822.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
dp83848.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
dp83867.c net: phy: dp83867: Add SGMII mode type switching 2019-09-11 23:37:35 +01:00
et1011c.c
fixed_phy.c net: phy: fixed_phy: print gpio error only if gpio node is present 2019-07-30 09:54:45 -07:00
icplus.c
intel-xway.c
Kconfig net: phy: adin: add support for Analog Devices PHYs 2019-08-16 11:56:25 -07:00
lxt.c
Makefile net: phy: adin: add support for Analog Devices PHYs 2019-08-16 11:56:25 -07:00
marvell10g.c
marvell.c
mdio_bus.c net: mdio: switch to using gpiod_get_optional() 2019-09-16 16:25:16 +02:00
mdio_device.c
mdio-aspeed.c net: phy: Add mdio-aspeed 2019-08-02 17:56:28 -07:00
mdio-bcm-iproc.c phy: mdio-bcm-iproc: use devm_platform_ioremap_resource() to simplify code 2019-08-28 14:51:00 -07:00
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-boardinfo.c
mdio-boardinfo.h
mdio-cavium.c
mdio-cavium.h net: mdio-octeon: Fix Kconfig warnings and build errors 2019-08-06 14:11:08 -07:00
mdio-gpio.c
mdio-hisi-femac.c phy: mdio-hisi-femac: use devm_platform_ioremap_resource() to simplify code 2019-08-28 14:51:00 -07:00
mdio-i2c.c
mdio-i2c.h
mdio-moxart.c phy: mdio-moxart: use devm_platform_ioremap_resource() to simplify code 2019-08-28 14:51:00 -07:00
mdio-mscc-miim.c
mdio-mux-bcm-iproc.c
mdio-mux-gpio.c
mdio-mux-meson-g12a.c phy: mdio-mux-meson-g12a: use devm_platform_ioremap_resource() to simplify code 2019-08-28 14:51:00 -07:00
mdio-mux-mmioreg.c
mdio-mux-multiplexer.c
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c phy: mdio-sun4i: use devm_platform_ioremap_resource() to simplify code 2019-08-28 14:51:00 -07:00
mdio-thunder.c
mdio-xgene.c net: phy: xgene: use devm_platform_ioremap_resource() to simplify code 2019-08-01 13:10:34 -04:00
mdio-xgene.h
meson-gxl.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
micrel.c
microchip_t1.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
microchip.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
mscc.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
national.c
nxp-tja11xx.c
phy_device.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-19 11:54:03 -07:00
phy_led_triggers.c net: phy: phy_led_triggers: Fix a possible null-pointer dereference in phy_led_trigger_change_speed() 2019-07-31 18:56:11 -04:00
phy-c45.c Add genphy_c45_config_aneg() function to phy-c45.c 2019-08-27 20:21:15 -07:00
phy-core.c net: phy: add phy_speed_down_core and phy_resolve_min_speed 2019-08-13 17:14:06 -07:00
phy.c net: phy: Do not check Link status when loopback is enabled 2019-09-06 15:11:21 +02:00
phylink.c net: phylink: Fix flow control resolution 2019-09-07 17:26:13 +02:00
qsemi.c
realtek.c net: phy: realtek: support NBase-T MMD EEE registers on RTL8125 2019-08-19 13:04:45 -07:00
rockchip.c
sfp-bus.c
sfp.c net: phy: sfp: Add labels to hwmon sensors 2019-08-24 17:01:36 -07:00
sfp.h
smsc.c
spi_ks8995.c
ste10Xp.c
swphy.c net: phy: swphy: emulate register MII_ESTATUS 2019-08-15 11:43:48 -07:00
swphy.h
teranetics.c
uPD60620.c
vitesse.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
xilinx_gmii2rgmii.c net: phy: gmii2rgmii: Dont use priv field in phy device 2019-09-05 12:32:06 +02:00