Thread (29 messages) flat view 29 messages, 5 authors, 2018-10-25

Re: [RFC PATCH 05/11] net: ethernet: ti: cpsw: add support for port interface mode selection phy

From: Andrew Lunn <andrew@lunn.ch>
Date: 2018-10-09 00:50:58
Also in: linux-devicetree, linux-omap, lkml

 	/* Configure GMII_SEL register */
-	cpsw_phy_sel(cpsw->dev, slave->phy->interface, slave->slave_num);
+	if (!IS_ERR(slave->data->ifphy))
+		phy_set_netif_mode(slave->data->ifphy, slave->data->phy_if);
Is slave->data->phy_if also passed to phy_connect()? So you are going
to end up with both the MAC and the PHY inserting RGMII delays, and it
not working.

You need to somehow decide if the MAC is going to do the delay, or the
PHY. But not both.

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