net: phy: mscc: make clock-output configurable on vsc85xx
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Tue, 9 Jun 2020 13:37:39 +0000 (15:37 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 20:48:18 +0000 (16:48 -0400)
commit9a499b2bfa684abe77033c76740a597da8f09f11
treeaf1cb01c838be5172cf0feff7a19f6a64561d296
parent01114adfc1e0bf3cf5e2f3da858bb2c8e9810c1c
net: phy: mscc: make clock-output configurable on vsc85xx

The vsc8530/8531/8540/8541 phys have a configurable clock output that
can emit 25, 50 and 125 MHz rates, which in turn may be needed for
stable network connections.

This follows a similar change introduced into the Linux kernel at
  https://lore.kernel.org/netdev/20200609133140.1421109-2-heiko@sntech.de

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/net/phy/mscc.c