]> 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)
commit9ae61872821e48d6cc42518e260cbaf2eae5d307
tree99a6d75765609891b599a7877c814192ed0b627d
parent7910fda938c3fb8c370778838ee479ced213e3ad
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