OSDN Git Service

Merge branch 'net-phy-relax-PHY-and-MDIO-reset-handling'
authorDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2020 20:40:18 +0000 (13:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2020 20:40:18 +0000 (13:40 -0700)
commitab696fa70f9411a9869a17c36b4d03d7f8e0c229
tree8b3d047cc2dffd7f0622dc79031c453211c466ad
parent61b5cc20c877f9703fa46b24c273cbb5affb26e9
parent96e263592bf12476b100a48ebdeb4b637bf48f9f
Merge branch 'net-phy-relax-PHY-and-MDIO-reset-handling'

Bartosz Golaszewski says:

====================
net: phy: relax PHY and MDIO reset handling

Previously these patches were submitted as part of a larger series[1]
but since the approach in it will have to be reworked I'm resending
the ones that were non-controversial and have been reviewed for upstream.

Florian suggested a better solution for managing multiple resets. While
I will definitely try to implement something at the driver model's bus
level (together with regulator support), the 'resets' and 'reset-gpios'
DT property is a stable ABI defined in mdio.yaml so improving its support
is in order as we'll have to stick with it anyway. Current implementation
contains an unnecessary limitation where drivers without probe() can't
define resets.

Changes from the previous version:
- order forward declarations in patch 4 alphabetically
- collect review tags

[1] https://lkml.org/lkml/2020/6/22/253
====================

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