lkml.org 
[lkml]   [2018]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 05/11] net: ethernet: ti: cpsw: add support for port interface mode selection phy
>  	/* 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

\
 
 \ /
  Last update: 2018-10-09 02:51    [W:0.290 / U:25.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site