]> 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)
commit84fc86e85734552b1690be85ec3980865ffb39f1
tree504923c7b9b315877d980f8a63210674ecef21f7
parent4f3fff62a6ddb7bd652660fc8528dfd19ada8841
parent2c55c5a27d235f410aaaf7f26228dc60af5aaec6
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>