]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: Add support for amplitude graph
authorAndrew Lunn <andrew@lunn.ch>
Tue, 26 May 2020 22:21:40 +0000 (00:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 06:22:20 +0000 (23:22 -0700)
commit390dee07e184901464328f3c49a06ee9ccf22ef3
tree505d284c86d64dac6b363e5b1d1283c7726bc501
parent0078fc063a5a018084ea02e2957a5df8a83123a2
net: phy: marvell: Add support for amplitude graph

The Marvell PHYs can measure the amplitude of the returned signal for
a given distance. Implement this option of the cable test
infrastructure. When reporting the step, convert the distance into cm.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
v2:
Step based on the measurement resolution, and convert this to cm.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c