]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: broadcom: Set proper 1000BaseX/SGMII interface mode for BCM54616S
authorRobert Hancock <robert.hancock@calian.com>
Tue, 16 Feb 2021 22:54:52 +0000 (16:54 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Mar 2021 12:30:27 +0000 (14:30 +0200)
commit741ae9a523e19f2cc2b53dbc06ff536856b98757
tree831622808906c238de2922f117755f81665f516a
parent5de176a4688c86206dadff0fef334112b2dff908
net: phy: broadcom: Set proper 1000BaseX/SGMII interface mode for BCM54616S

[ Upstream commit 3afd0218992a8d1398e9791d6c2edd4c948ae7ee ]

The default configuration for the BCM54616S PHY may not match the desired
mode when using 1000BaseX or SGMII interface modes, such as when it is on
an SFP module. Add code to explicitly set the correct mode using
programming sequences provided by Bel-Fuse:

https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-sfp-1gbt-05-series.pdf
https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-sfp-1gbt-06-series.pdf

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/broadcom.c
include/linux/brcmphy.h