]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2021 23:23:23 +0000 (15:23 -0800)
commit309f491af5719f3589cb137bf39b7c754c757085
tree5583eee50cabe4500cab4c34ae5df6b0bc4271a5
parent03ed2ee531a52a3c92c1202f842265c93aa62e06
net: phy: broadcom: Set proper 1000BaseX/SGMII interface mode for BCM54616S

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>
drivers/net/phy/broadcom.c
include/linux/brcmphy.h