diff options
author | Vinod Koul <vkoul@kernel.org> | 2019-02-21 15:53:15 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-22 15:30:03 -0800 |
commit | 6d4cd041f0af5b4c8fc742b4a68eac22e420e28c (patch) | |
tree | 65cea3fcbc0e15e87ae9d17873567ae3560c2982 /drivers/pinctrl/pinctrl-rza2.c | |
parent | 43f2ebd5571653f5a02c178d6d73ab642e8a0cad (diff) | |
download | linux-6d4cd041f0af5b4c8fc742b4a68eac22e420e28c.tar.bz2 |
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: cd28d1d6e52e: ("net: phy: at803x: Disable phy delay for RGMII mode")
Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Niklas Cassel <niklas.cassel@linaro.org>
Tested-by: Peter Ujfalusi <peter.ujflausi@ti.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pinctrl/pinctrl-rza2.c')
0 files changed, 0 insertions, 0 deletions