]> 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)
commitbf71bc0d2e0faab95bbfe6815e4713c0ea3f5f6c
treea23ee8c02d12a52fb108dce0464f2f770b09cbe5
parent47da9833093822728a361cdb346496dbac539501
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