]> 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)
commit3462ef64fa1e7679b7d410de7ea064803ba5651c
tree2b6b8ed0b5677f93c245a7a21ccc30b972c4983b
parent370fc4e3fb6c46838a6072dd459a2ace668ef02c
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