net: stmmac: dwc-qos: use PHY clock-stop capability
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 16 Apr 2025 10:09:33 +0000 (11:09 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Apr 2025 01:56:06 +0000 (18:56 -0700)
commit7c6cd70ffd0ffe4ec95b6eca375a4e5dd5003819
tree232030a472315491624e81ccf0976a29b807e4c9
parent22cbc1ee268b7ec0000848708944daa61c6e4909
net: stmmac: dwc-qos: use PHY clock-stop capability

Use the PHY clock-stop capability when programming the MAC LPI mode,
which allows the transmit clock to the PHY to be gated. Tested on the
Jetson Xavier NX platform.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1u4zi1-000xHh-57@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c