]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: lxt: Add suspend/resume support to LXT971 and LXT973.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 23 May 2019 08:55:32 +0000 (08:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2019 16:19:21 +0000 (09:19 -0700)
commitb9679c80d8a6035f323f1c553ea7e7a0c9c0526c
tree6a170771b0e373f83d574e6fb2abd95cfdf3ec3e
parenta0a4be2cd40b62063e80cc86e91e48a69ff9fce5
net: phy: lxt: Add suspend/resume support to LXT971 and LXT973.

All LXT PHYs implement the standard "power down" bit 11 of
BMCR, so this patch adds support using the generic
genphy_{suspend,resume} functions added by
commit 6370fe8e2204 ("phy: power management support").

LXT970 is left aside because all registers get cleared upon
"power down" exit.

Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/lxt.c