Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Russell King (Oracle) and committed by
Jakub Kicinski
7c6cd70f 22cbc1ee

+2 -1
+2 -1
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
··· 252 252 plat_dat->fix_mac_speed = tegra_eqos_fix_speed; 253 253 plat_dat->set_clk_tx_rate = stmmac_set_clk_tx_rate; 254 254 plat_dat->bsp_priv = eqos; 255 - plat_dat->flags |= STMMAC_FLAG_SPH_DISABLE; 255 + plat_dat->flags |= STMMAC_FLAG_SPH_DISABLE | 256 + STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP; 256 257 257 258 return 0; 258 259