]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: broadcom: Enable 125 MHz clock on LED4 pin for BCM54612E by default.
authorKun Yi <kunyi@google.com>
Mon, 4 Jun 2018 20:17:04 +0000 (13:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jun 2018 13:43:09 +0000 (09:43 -0400)
commite04a0ff5e989033adfd906321cfba1d148005fb6
tree494898c7ea29bebcf1d424866e015e89c5c5adf3
parentc8d458a65bdda51aee19f850ee3c9b1a638719c9
net: phy: broadcom: Enable 125 MHz clock on LED4 pin for BCM54612E by default.

BCM54612E have 4 multi-functional LED pins that can be configured
through register setting; the LED4 pin can be configured to a 125MHz
reference clock output by setting the spare register. Since the dedicated
CLK125 reference clock pin is not brought out on the 48-Pin MLP, the LED4
pin is the only pin to provide such function in this package, and therefore
it is beneficial to just enable the reference clock by default.

Signed-off-by: Kun Yi <kunyi@google.com>
Reviewed-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