net: phy: mscc-miim: add support to set MDIO bus frequency
authorMichael Walle <michael@walle.cc>
Tue, 5 Apr 2022 12:09:51 +0000 (14:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2022 13:04:16 +0000 (14:04 +0100)
commitbb2a1934ca01d32ab7d8d109e574682199725afd
treea23ee8c02d12a52fb108dce0464f2f770b09cbe5
parentb0385d4c1fffe0152eabf4f20ff5f937524e9398
net: phy: mscc-miim: add support to set MDIO bus frequency

Until now, the MDIO bus will have the hardware default bus frequency.
Read the desired frequency of the bus from the device tree and configure
it.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-mscc-miim.c