Re: [RESEND PATCH v2 05/11] net: dwc_eth_qos: Split eqos_start() to get link speed

2020-05-13 Thread Patrice CHOTARD
one typo below On 5/12/20 11:57 AM, David Wu wrote: > For Rockchip, need to obtain the current link speed to > configure the tx clocks, (for example, in rgmii mode, > 1000M link: 125M, 100M link: 25M, 10M link is 2.5M rate) > and then enable gmac. So after the adjust_link(), before > the start

[RESEND PATCH v2 05/11] net: dwc_eth_qos: Split eqos_start() to get link speed

2020-05-12 Thread David Wu
For Rockchip, need to obtain the current link speed to configure the tx clocks, (for example, in rgmii mode, 1000M link: 125M, 100M link: 25M, 10M link is 2.5M rate) and then enable gmac. So after the adjust_link(), before the start gamc, this intermediate stage needs to configure the clock