OSDN Git Service

net: mdio-ipq4019: add Clause 45 support
authorRobert Marko <robert.marko@sartura.hr>
Tue, 22 Sep 2020 10:16:32 +0000 (12:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2020 00:41:15 +0000 (17:41 -0700)
commit06fb560602a42246910e410d24dcb48c91b652ad
tree0db5effec2dbd352b6272f9b85e9523a9b170d28
parentb840ec1efd2495b820025b7d962276662d8ac2c8
net: mdio-ipq4019: add Clause 45 support

While up-streaming the IPQ4019 driver it was thought that the controller had no Clause 45 support,
but it actually does and its activated by writing a bit to the mode register.

So lets add it as newer SoC-s use the same controller and Clause 45 compliant PHY-s.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-ipq4019.c