]> 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)
commit6d47b9e8fa5f4ffbe60584b0f02e42d55271ea20
tree80f0754e61f0d903df997a873778968112514e90
parent6895a65ccd30f74aa64aa4770d0926a320e98329
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