]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Allow BCM5481x PHYs to setup internal TX/RX clock delay
authorAbhishek Shah <abhishek.shah@broadcom.com>
Sun, 30 Apr 2017 05:34:21 +0000 (11:04 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 02:56:19 +0000 (22:56 -0400)
commit5be5752c6a3178376cc6485cbe942c2bf9e04b78
tree802114a77a8fc3c7a6c369251f2868d75bc87706
parentc89520bf9a535393a93d317ab3c2aaa33988b748
net: phy: Allow BCM5481x PHYs to setup internal TX/RX clock delay

This patch allows users to enable/disable internal TX and/or RX
clock delay for BCM5481x series PHYs so as to satisfy RGMII timing
specifications.

On a particular platform, whether TX and/or RX clock delay is required
depends on how PHY connected to the MAC IP. This requirement can be
specified through "phy-mode" property in the platform device tree.

Signed-off-by: Abhishek Shah <abhishek.shah@broadcom.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/broadcom.c