]> git.baikalelectronics.ru Git - kernel.git/commit
net/fsl: xgmac_mdio: Support setting the MDC frequency
authorTobias Waldekranz <tobias@waldekranz.com>
Wed, 26 Jan 2022 16:05:42 +0000 (17:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jan 2022 13:41:29 +0000 (13:41 +0000)
commit522a1b8f66a34bd3a9f90f009962a80b1a552693
tree1886bf8f239e1ba1eb93179c6cc4dbb37647d3ba
parent00feec95292b8d86021411730be6541827a983a0
net/fsl: xgmac_mdio: Support setting the MDC frequency

Support the standard "clock-frequency" attribute to set the generated
MDC frequency. If not specified, the driver will leave the divisor
bits untouched.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/xgmac_mdio.c