linux/arch/m68k
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
..
68000
amiga
apollo
atari mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
bvme6000
coldfire net: phy: fixed-phy: Drop GPIO from fixed_phy_add() 2019-02-04 18:33:36 -08:00
configs m68k/defconfig: Update defconfigs for v4.20-rc1 2018-12-03 13:12:36 +01:00
emu m68k updates for v4.20 2018-10-29 09:02:15 -07:00
fpsp040
hp300
ifpsp060
include arch: restore generic-y += shmparam.h for some architectures 2019-01-06 18:16:11 -08:00
kernel Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
lib
mac m68k/mac: Switch to use %ptR 2018-12-10 22:40:16 +01:00
math-emu
mm m68k fixes for 4.20 2018-12-20 07:35:16 -08:00
mvme16x
mvme147
q40
sun3 memblock: stop using implicit alignment to SMP_CACHE_BYTES 2018-10-31 08:54:16 -07:00
sun3x mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
tools/amiga
install.sh
Kconfig Kconfig updates for v4.21 2018-12-29 13:03:29 -08:00
Kconfig.bus pcmcia: allow PCMCIA support independent of the architecture 2018-11-23 11:46:00 +09:00
Kconfig.cpu PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
Kconfig.debug
Kconfig.devices
Kconfig.machine m68k: Remove redundant 'default n' from Kconfig 2018-12-03 13:05:42 +01:00
Makefile m68k: Generate uapi header and syscall table header files 2018-12-04 09:47:55 +01:00