]> git.dujemihanovic.xyz Git - u-boot.git/commit
net/ftgmac100: Add NC-SI mode support
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 8 Aug 2022 12:16:05 +0000 (21:46 +0930)
committerTom Rini <trini@konsulko.com>
Fri, 21 Oct 2022 20:04:39 +0000 (16:04 -0400)
commit3b400e84baa2c4f5e90b7291c6658d821199806c
treebd8cce3dad21ce29a345a7d15a0ab72ad0d88535
parent4b290d4a757caaf5efedc74ea3db9974b51f35f2
net/ftgmac100: Add NC-SI mode support

Update the ftgmac100 driver to support NC-SI instead of an mdio phy
where available. This is a common setup for Aspeed AST2x00 platforms.

NC-SI mode is determined from the device-tree if either phy-mode sets it
or the use-ncsi property exists. If set then normal mdio setup is
skipped in favour of the NC-SI phy.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/ftgmac100.c