]> 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)
commitdd8f467eda72cdaff50e4636c382709124956da3
tree1886bf8f239e1ba1eb93179c6cc4dbb37647d3ba
parent909bea73485fab5e99e222e727e82b259d667880
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