]> git.baikalelectronics.ru Git - kernel.git/commit
net: usb: asix: suspend embedded PHY if external is used
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 11 Mar 2022 08:50:14 +0000 (09:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Mar 2022 11:50:56 +0000 (11:50 +0000)
commit676958dab3538683bbf4446407e9633fbc1fbf87
tree2b6b8ed0b5677f93c245a7a21ccc30b972c4983b
parentecc2213b927718eebb9087ee245dfb0b040d3058
net: usb: asix: suspend embedded PHY if external is used

In case external PHY is used, we need to take care of embedded PHY.
Since there are no methods to disable this PHY from the MAC side and
keeping RMII reference clock, we need to suspend it.

This patch will reduce electrical noise (PHY is continuing to send FLPs)
and power consumption by 0,22W.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix.h
drivers/net/usb/asix_devices.c