[Linux-stm32] [PATCH net-next v2] net: stmmac: dwmac-qcom-ethqos: Update link clock rate only for RGMII
Andrew Lunn
andrew at lunn.ch
Mon Feb 26 23:39:19 UTC 2024
On Mon, Feb 26, 2024 at 03:12:26PM +0530, Sarosh Hasan wrote:
> Updating link clock rate for different speeds is only needed when
> using RGMII, as that mode requires changing clock speed when the link
> speed changes. Let's restrict updating the link clock speed in
> ethqos_update_link_clk() to just RGMII. Other modes such as SGMII
> only need to enable the link clock (which is already done in probe).
>
> Signed-off-by: Sarosh Hasan <quic_sarohasa at quicinc.com>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the Linux-stm32
mailing list