]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: phy: mscc: enable VSC8501/2 RGMII RX clock
authorDavid Epping <david.epping@missinglinkelectronics.com>
Tue, 23 May 2023 15:31:08 +0000 (17:31 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 25 May 2023 05:14:23 +0000 (22:14 -0700)
commit71460c9ec5c743e9ffffca3c874d66267c36345e
tree4de9cba4c997973f7f159e813bf2f95498e012da
parent7df0b33d7993338a06e4039ec025bb67851ee41d
net: phy: mscc: enable VSC8501/2 RGMII RX clock

By default the VSC8501 and VSC8502 RGMII/GMII/MII RX_CLK output is
disabled. To allow packet forwarding towards the MAC it needs to be
enabled.

For other PHYs supported by this driver the clock output is enabled
by default.

Fixes: d3169863310d ("net: phy: mscc: add support for VSC8502")
Signed-off-by: David Epping <david.epping@missinglinkelectronics.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/mscc/mscc.h
drivers/net/phy/mscc/mscc_main.c