]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-add-reset-controller-driven-PHY-reset'
authorDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2019 00:43:11 +0000 (17:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2019 00:43:11 +0000 (17:43 -0700)
commiteab977bf00750083a67d550305e30cdbc8c90353
tree504923c7b9b315877d980f8a63210674ecef21f7
parent3f334b0053b1a84c0091bea84d478e868f041541
parentaaf8bd7abf3eb57e1e2d76bf28078119b753c573
Merge branch 'net-add-reset-controller-driven-PHY-reset'

David Bauer says:

====================
net: add reset-controller driven PHY reset

This patchset adds support for a PHY reset driven by a reset-controller.
Currently, only GPIO driven resets are supported by the PHY subsystem.
It also renames the reset-gpio from 'reset' to 'reset_gpio' to
better differentiate between resets wired to a GPIO and resets wired to
a reset-controller driven pin.

Some systems have the PHY reset-line wired to a pin controlled by a
reset-controller (eg. some Atheros AR9132 based boards). In case the
bootloader asserts reset before loading the kernel, we currently do not
have a clean way of deasserting reset to probe the PHY.

v3:
 - add missing newline in mdio_bus.c

v2:
 - fixed missed rename of "reset" in at803x.c
 - move initial reset to mdio_device_reset
====================

Signed-off-by: David S. Miller <davem@davemloft.net>