From: Michael Walle <[email protected]> Date: Wed, 13 May 2020 18:12:52 +0200
> The AR8031/AR8033 and the AR8035 support cable diagnostics. Adding > driver support is straightforward, so lets add it. > > The PHY just do one pair at a time, so we have to start the test four > times. The cable_test_get_status() can block and therefore we can just > busy poll the test completion and continue with the next pair until we > are done. > The time delta counter seems to run at 125MHz which just gives us a > resolution of about 82.4cm per tick. ... > Signed-off-by: Michael Walle <[email protected]> > Reviewed-by: Andrew Lunn <[email protected]> This doesn't apply cleanly to net-next, please respin.

