Re: [PATCH 2/2] net: stmmac: Add Ingenic SoCs MAC support.

From: Zhou Yanjie
Date: Tue Jun 08 2021 - 09:48:47 EST


Hello Andrew,

On 2021/6/8 下午8:21, Andrew Lunn wrote:
Please wrap your text to around 75 characters per line.


Sure.



I suspect you don't understand RGMII delays. As i said, normally, the
MAC does not add delays, the PHY does. Please take a closer look at
this.


According to the description of ethernet-controller.yaml, "rgmii" seems

to allow MAC to add TX delay (the description in ethernet-controller.yaml

is "RX and TX delays are added by the MAC when required"), while rgmii-id

and rgmii-txid do not allow MAC to add delay (the description in

ethernet-controller.yaml is"RGMII with internal RX and TX delays provided

by the PHY, the MAC should not add the RX or TX delays in this case" and

"RGMII with internal TX delay provided by the PHY, the MAC should not add

an TX delay in this case"), I will add support for the other three RGMII modes

in the next version (I forgot to reply to this in the previous email).


Thanks and best regards!