]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: icplus: Use the RGMII interface mode to configure clock delays
authorStuart Menefy <stuart.menefy@st.com>
Wed, 23 Jan 2013 00:22:36 +0000 (00:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2013 05:08:22 +0000 (00:08 -0500)
commit0dfc1ec974a218cd55942b3f29d008640a1d0317
tree92c5897525edea4cff24a42f16b4be3f6a00151d
parent893396d2b38fefaf1231ffc733cfc8f0b606118e
net: phy: icplus: Use the RGMII interface mode to configure clock delays

Like several other PHY devices which support RGMII, the IC+1001 allows
additional delays to by added to the RX_CLK and TX_CLK signals to
compensate for skew between the clock and data signals. Previously this
was always enabled, but this change makes use of the different RGMII
interface modes to allow the user to specify whether this should be
enabled.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/icplus.c