]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: broadcom: Implement suspend/resume for AC131 and BCM5241
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 15 Aug 2022 19:07:47 +0000 (12:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Aug 2022 10:49:23 +0000 (11:49 +0100)
commitf240aab419b034ffe6377801d9cc81e4a67cc38d
treeded03f9554c57c70729b1e6cd4abb34ce3ce9913
parent5e7e5a0be118e6d07896aa40299cb103131cb1d5
net: phy: broadcom: Implement suspend/resume for AC131 and BCM5241

Implement the suspend/resume procedure for the Broadcom AC131 and BCM5241 type
of PHYs (10/100 only) by entering the standard power down followed by the
proprietary standby mode in the auxiliary mode 4 shadow register. On resume,
the PHY software reset is enough to make it come out of standby mode so we can
utilize brcm_fet_config_init() as the resume hook.

Signed-off-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