Skip to content
Commit 6d4cd041 authored by Vinod Koul's avatar Vinod Koul Committed by David S. Miller
Browse files

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>
parent 43f2ebd5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment