Thread (11 messages) flat view 11 messages, 4 authors, 2016-11-16

Re: [PATCH] net/phy/vitesse: Configure RGMII skew on VSC8601, if needed

From: David Miller <davem@davemloft.net>
Date: 2016-11-16 03:12:23
Also in: lkml

From: Alex <redacted>
Date: Mon, 14 Nov 2016 13:54:57 -0800

On 11/14/2016 01:25 PM, Florian Fainelli wrote:
quoted
On 11/14/2016 01:18 PM, David Miller wrote:
quoted
From: Alexandru Gagniuc <redacted>
Date: Sat, 12 Nov 2016 15:32:13 -0800
quoted
+	if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID)
+		ret = vsc8601_add_skew(phydev);
I think you should use phy_interface_is_rgmii() here.
This would include all RGMII modes, here I think the intent is to
check
for PHY_INTERFACE_MODE_RGMII_ID and PHY_INTERFACE_MODE_RGMII_TXID (or
RXID),
That is correct.
quoted
 Alexandru, what direction does the skew settings apply to?
It applies a skew in both TX and RX directions.
Please repost your patch, making the intent clear either in the
commit message or a code comment.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help