Re: [PATCH 5/9] net: mdio: ipq4019: support MDIO clock frequency divider

From: Jie Luo
Date: Thu Nov 16 2023 - 05:48:07 EST




On 11/15/2023 11:22 PM, Andrew Lunn wrote:
+ /* MDIO default frequency is 6.25MHz */
+ priv->clk_div = 0xf;

802.3 says MDC should be 2.5Mhz. Its O.K. to support faster clocks,
but it should be an optional DT property, clock-frequency as described
in the binding.

Andrew

Ok, Andrew, will add the DT property "clock-frequency" to support this
clock divider in the next patch set, thanks.