]> 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)
commit098fade7efec6019fa863509e918c23ab294038c
tree505d284c86d64dac6b363e5b1d1283c7726bc501
parent7aa6f827bf855b5b2afc3c2060db597a226ef9e4
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