]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1afac0015b03b977db99f6c56f3680f093563c87
treea23ee8c02d12a52fb108dce0464f2f770b09cbe5
parent581f48713c63baaf81ef40767fe5bbdb4ebaaaed
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