]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: deprecate "snps,en-tx-lpi-clockgating" property
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 12 Mar 2025 09:34:56 +0000 (09:34 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 19 Mar 2025 17:06:33 +0000 (18:06 +0100)
commitcf0a96de397e06e6cf3e0f4c10d6cb60e6166d2d
tree25502b91b80668b8f76b37d35156407aadc79ebd
parenta62b7901d3a917964098c9b9215ff580bbaa85f5
net: stmmac: deprecate "snps,en-tx-lpi-clockgating" property

Whether the MII transmit clock can be stopped is primarily a property
of the PHY (there is a capability bit that should be checked first.)
Whether the MAC is capable of stopping the transmit clock is a separate
issue, but this is already handled by the core DesignWare MAC code.

Therefore, snps,en-tx-lpi-clockgating is technically incorrect, and
this commit adds a warning should a DT be encountered with the property
present.

However, we keep backwards compatibility.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://patch.msgid.link/E1tsIUK-005vGk-H7@rmk-PC.armlinux.org.uk
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c