]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: broadcom: Allow BCM54210E to configure APD
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 13 Feb 2021 03:46:32 +0000 (19:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 23:15:25 +0000 (15:15 -0800)
commit5d4358ede8ebe2e4ae03a633082f3ce21ec2df3e
tree99a6d75765609891b599a7877c814192ed0b627d
parent17d3a83afbbff34209d6c3636718fc1abe305ef8
net: phy: broadcom: Allow BCM54210E to configure APD

BCM54210E/BCM50212E has been verified to work correctly with the
auto-power down configuration done by bcm54xx_adjust_rxrefclk(), add it
to the list of PHYs working.

While we are at it, provide an appropriate name for the bit we are
changing which disables the RXC and TXC during auto-power down when
there is no energy on the cable.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/broadcom.c
include/linux/brcmphy.h