]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: vitesse: Add support for VSC73xx
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 30 Jun 2018 11:17:30 +0000 (13:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 02:30:02 +0000 (11:30 +0900)
commit3d2d94ee208e9872a139186e6d0220dd938d32ca
tree80f0754e61f0d903df997a873778968112514e90
parent2a7fc11712e8e3633b587ecac03436b3de2d16f0
net: phy: vitesse: Add support for VSC73xx

The VSC7385, VSC7388, VSC7395 and VSC7398 are integrated
switch/router chips for 5+1 or 8-port switches/routers. When
managed directly by Linux using DSA we need to do a special
set-up "dance" on the PHY. Unfortunately these sequences
switches the PHY to undocumented pages named 2a30 and 52b6
and does undocumented things. It is described by these opaque
sequences also in the reference manual. This is a best
effort to integrate it anyways.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/vitesse.c