linux_dsm_epyc7002/drivers/net/ethernet/stmicro/stmmac
Martin Blumenstingl 7c86f20d15 net: stmmac: use GPIO descriptors in stmmac_mdio_reset
Switch stmmac_mdio_reset to use GPIO descriptors. GPIO core handles the
"snps,reset-gpio" for GPIO descriptors so we don't need to take care of
it inside the driver anymore.

The advantage of this is that we now preserve the GPIO flags which are
passed via devicetree. This is required on some newer Amlogic boards
which use an Open Drain pin for the reset GPIO. This pin can only output
a LOW signal or switch to input mode but it cannot output a HIGH signal.
There are already devicetree bindings for these special cases and GPIO
core already takes care of them but only if we use GPIO descriptors
instead of GPIO numbers.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-14 19:08:40 -07:00
..
altr_tse_pcs.c
altr_tse_pcs.h
chain_mode.c
common.h net: stmmac: modify default value of tx-frames 2019-06-05 17:03:14 -07:00
descs_com.h net: stmmac: use correct DMA buffer size in the RX descriptor 2019-03-31 14:00:58 -07:00
descs.h
dwmac4_core.c net: stmmac: dwmac4: fix flow control issue 2019-06-05 17:03:14 -07:00
dwmac4_descs.c net: stmmac: use correct DMA buffer size in the RX descriptor 2019-03-31 14:00:58 -07:00
dwmac4_descs.h
dwmac4_dma.c
dwmac4_dma.h
dwmac4_lib.c net: stmmac: dwmac4/5: Do not disable whole RX in dma_stop_rx() 2019-05-24 13:45:56 -07:00
dwmac4.h net: stmmac: dwmac4/5: Fix Hash Filter 2019-05-24 13:45:56 -07:00
dwmac5.c
dwmac5.h
dwmac100_core.c net: stmmac: dwmac100: Add MAC loopback support 2019-05-24 13:45:56 -07:00
dwmac100_dma.c
dwmac100.h
dwmac1000_core.c net: stmmac: dwmac1000: Clear unused address entries 2019-05-24 13:45:56 -07:00
dwmac1000_dma.c
dwmac1000.h net: stmmac: dwmac1000: Also pass control frames while in promisc mode 2019-05-24 13:45:56 -07:00
dwmac_dma.h
dwmac_lib.c
dwmac-anarion.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 121 2019-05-24 17:39:02 +02:00
dwmac-dwc-qos-eth.c net: stmmac: Do not output error on deferred probe 2019-05-28 11:00:09 -07:00
dwmac-generic.c
dwmac-ipq806x.c
dwmac-lpc18xx.c
dwmac-mediatek.c net: stmmac: dwmac-mediatek: disable rx watchdog 2019-06-05 17:03:14 -07:00
dwmac-meson8b.c net: stmmac: dwmac-meson8b: update with SPDX Licence identifier 2019-05-28 17:09:15 -07:00
dwmac-meson.c net: stmmac: dwmac-meson: update with SPDX Licence identifier 2019-05-28 17:09:15 -07:00
dwmac-oxnas.c
dwmac-qcom-ethqos.c net: stmmac: Fix return value check in qcom_ethqos_probe() 2019-01-24 22:13:03 -08:00
dwmac-rk.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dwmac-socfpga.c net: stmmac: socfpga: fix phy and ptp_ref setup for Arria10/Stratix10 2019-06-06 14:21:06 -07:00
dwmac-sti.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
dwmac-stm32.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00
dwmac-sun8i.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-07 11:00:14 -07:00
dwmac-sunxi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dwxgmac2_core.c net: stmmac: dwxgmac2: Also pass control frames while in promisc mode 2019-05-24 13:45:56 -07:00
dwxgmac2_descs.c net: stmmac: use correct DMA buffer size in the RX descriptor 2019-03-31 14:00:58 -07:00
dwxgmac2_dma.c net: stmmac: dwxgmac2: Do not disable whole RX in dma_stop_rx() 2019-05-24 13:45:56 -07:00
dwxgmac2.h net: stmmac: dwxgmac2: Also pass control frames while in promisc mode 2019-05-24 13:45:56 -07:00
enh_desc.c net: stmmac: fix dropping of multi-descriptor RX frames 2019-03-31 14:00:59 -07:00
hwif.c net: stmmac: Switch MMC functions to HWIF callbacks 2019-05-24 13:45:56 -07:00
hwif.h net: stmmac: Switch MMC functions to HWIF callbacks 2019-05-24 13:45:56 -07:00
Kconfig net: stmmac: Convert to phylink and remove phylib logic 2019-06-13 14:02:09 -07:00
Makefile net: stmmac: Introduce selftests support 2019-05-24 13:45:56 -07:00
mmc_core.c net: stmmac: Switch MMC functions to HWIF callbacks 2019-05-24 13:45:56 -07:00
mmc.h net: stmmac: Switch MMC functions to HWIF callbacks 2019-05-24 13:45:56 -07:00
norm_desc.c net: stmmac: Use bfsize1 in ndesc_init_rx_desc 2019-04-17 23:20:25 -07:00
ring_mode.c net: stmmac: fix memory corruption with large MTUs 2019-03-19 13:30:30 -07:00
stmmac_ethtool.c net: stmmac: Convert to phylink and remove phylib logic 2019-06-13 14:02:09 -07:00
stmmac_hwtstamp.c
stmmac_main.c net: stmmac: Convert to phylink and remove phylib logic 2019-06-13 14:02:09 -07:00
stmmac_mdio.c net: stmmac: use GPIO descriptors in stmmac_mdio_reset 2019-06-14 19:08:40 -07:00
stmmac_pci.c pci-v5.2-changes 2019-05-14 10:30:10 -07:00
stmmac_pcs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
stmmac_platform.c net: stmmac: Convert to phylink and remove phylib logic 2019-06-13 14:02:09 -07:00
stmmac_platform.h
stmmac_ptp.c net: stmmac: Avoid one more sometimes uninitialized Clang warning 2019-03-08 23:20:22 -08:00
stmmac_ptp.h net: stmmac: fix ptp timestamping on Rx on gmac4 2019-02-06 17:28:15 -08:00
stmmac_selftests.c net: stmmac: selftests: Use kfree_skb() instead of kfree() 2019-05-30 12:58:54 -07:00
stmmac_tc.c net: stmmac: Check if CBS is supported before configuring 2019-01-11 15:35:06 -08:00
stmmac.h net: stmmac: Convert to phylink and remove phylib logic 2019-06-13 14:02:09 -07:00