]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: deprecate "snps,en-tx-lpi-clockgating" property
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 12 Mar 2025 09:34:51 +0000 (09:34 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 19 Mar 2025 17:06:33 +0000 (18:06 +0100)
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, so this
commit deprecates the property in the binding.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1tsIUF-005vGd-C5@rmk-PC.armlinux.org.uk
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/devicetree/bindings/net/snps,dwmac.yaml

index 3f0aa46d798ef791eaae2b46b2a2d58abe029573..78b3030dc56d279ea3618200dc8af11d7fbf429c 100644 (file)
@@ -494,6 +494,7 @@ properties:
 
   snps,en-tx-lpi-clockgating:
     $ref: /schemas/types.yaml#/definitions/flag
+    deprecated: true
     description:
       Enable gating of the MAC TX clock during TX low-power mode