]> 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)
commit31d56b3f90779fd8373e2e96647d5e6f63cac67e
tree3b3184f71a7035d7c3a559efa9417eac6e371266
parenta5541e35cee6150bb0c0dd25f198a578b01f223d
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]