Commit 37da7443 authored by Vinod Koul's avatar Vinod Koul Committed by Khasim Syed Mohammed
Browse files

FROMGIT: net: phy: at803x: disable delay only for RGMII mode



Per "Documentation/devicetree/bindings/net/ethernet.txt" RGMII mode
should not have delay in PHY whereas RGMII_ID and RGMII_RXID/RGMII_TXID
can have delay in PHY.

So disable the delay only for RGMII mode and enable for other modes.
Also treat the default case as disabled delays.

Fixes: cd28d1d6: ("net: phy: at803x: Disable phy delay for RGMII mode")
Reported-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: default avatarNiklas Cassel <niklas.cassel@linaro.org>
Tested-by: default avatarPeter Ujfalusi <peter.ujflausi@ti.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
(cherry picked from commit 6d4cd041
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

)
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarKhasim Syed Mohammed <khasim.mohammed@linaro.org>

Change-Id: I8948133a4703762ec64078af6a898e51c7274574
parent 484e3050
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment