From 38cd360781ca67b686829d8dd3d8023d0d7c13dc Mon Sep 17 00:00:00 2001 From: Sushil Singh Date: Wed, 18 Nov 2020 15:45:53 +0530 Subject: eqos: use phy reset low power mode from DT Issue: Some ethernet PHY consume low power only when they are put in reset mode otherwise power consumption is high. Fix: Add DT flag which can be set for the PHYs which consume low power when they are in reset. Driver puts those phy chip to reset mode for low power consumption state if the corresponding dt flag is set, else use supported low power mode operation for the selected phy. Default operation is to use phy reset mode for low power consumption. Bug 200627703 Change-Id: If86c37b43c8f737c332c46188ab2e91ae9c72343 Signed-off-by: Sushil Singh Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2447746 Reviewed-by: svcacv Reviewed-by: svc-mobile-coverity Reviewed-by: Bhadram Varka Reviewed-by: Nagaraj Annaiah Reviewed-by: Srinivas Ramachandran Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: Aaron Tian Tested-by: mobile promotions --- Documentation/devicetree/bindings/platform/tegra/tegra-eqos.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Documentation/devicetree/bindings') diff --git a/Documentation/devicetree/bindings/platform/tegra/tegra-eqos.txt b/Documentation/devicetree/bindings/platform/tegra/tegra-eqos.txt index c3d710ad3..cf30d6adf 100644 --- a/Documentation/devicetree/bindings/platform/tegra/tegra-eqos.txt +++ b/Documentation/devicetree/bindings/platform/tegra/tegra-eqos.txt @@ -133,6 +133,8 @@ Optional properties: - nvidia,rx_riwt: Specifies the RX wathcdog interrupt timeout in usec for an Rx descriptor for which IOC bit is not set. The RIWT field is programmed as ( * 256) / 62.5 +- phy_rst_lp_mode Specifies that the phy should be put in reset for low + power mode when it is set. Example: -- cgit v1.2.2