]> git.baikalelectronics.ru Git - kernel.git/commit
net/phy/vitesse: Configure RGMII skew on VSC8601, if needed
authorAlex <alex.g@adaptrum.com>
Wed, 16 Nov 2016 09:02:33 +0000 (01:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 22:53:56 +0000 (17:53 -0500)
commit31e7945ae47b7a205b6dde7f6f39a2ccfdf4e028
treeb78d7f353e0323d970b39e05d20777b5cc0aecca
parent57e4ba0f68568cde91a6a84d2b63f65b26bc7003
net/phy/vitesse: Configure RGMII skew on VSC8601, if needed

With RGMII, we need a 1.5 to 2ns skew between clock and data lines. The
VSC8601 can handle this internally. While the VSC8601 can set more
fine-grained delays, the standard skew settings work out of the box.
The same heuristic is used to determine when this skew should be enabled
as in vsc824x_config_init().

Tested on custom board with AM3352 SOC and VSC801 PHY.

Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/vitesse.c