]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Add mdio-aspeed
authorAndrew Jeffery <andrew@aj.id.au>
Wed, 31 Jul 2019 05:39:57 +0000 (15:09 +0930)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Aug 2019 00:56:28 +0000 (17:56 -0700)
commita313562a0fe4c67180ae933a8db02cc10a914cc6
tree3b3184f71a7035d7c3a559efa9417eac6e371266
parentd6e01cccb612969caba665d47ced084a7032215e
net: phy: Add mdio-aspeed

The AST2600 design separates the MDIO controllers from the MAC, which is
where they were placed in the AST2400 and AST2500. Further, the register
interface is reworked again, so now we have three possible different
interface implementations, however this driver only supports the
interface provided by the AST2600. The AST2400 and AST2500 will continue
to be supported by the MDIO support embedded in the FTGMAC100 driver.

The hardware supports both C22 and C45 mode, but for the moment only C22
support is implemented.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/mdio-aspeed.c [new file with mode: 0644]