mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
Issue: mdio bus is registered in probe and before exiting probe ethernet clocks are disabled to save power. When SC7 is initiated then PHY framework invokes a PHY suspend which triggers the PHY register write. Since clocks are not enabled PHY register write is ignored and returned failure which inturn prevented the entire system to enter into SC7 Fix: Move mdio bus registration to open so that PHY reads/writes will not be invoked before bringing up the ethernet interface. Bug 3368603 Change-Id: Idc74be76f47ca1cb607502a4572cb2001d42903a Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2607300 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>