* [net PATCH 1/1] drivers: net: cpsw: fix cpsw clock gating issue across suspend/resume
@ 2013-06-18 9:34 Mugunthan V N
2013-06-20 1:34 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Mugunthan V N @ 2013-06-18 9:34 UTC (permalink / raw)
To: netdev; +Cc: davem, Mugunthan V N
Due to some hardware integration issue, CPSW sliver modules requires a
reset across suspend/resume cycle for a successful clock gating to
CPGMAC (CPSW and Davinci MDIO) in AM335x PG1.0.
This issue is fixed in PG2.x, though to support suspend/resume on PG1.0
this reset is required.
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
---
drivers/net/ethernet/ti/cpsw.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 2fd69db..e66a202 100644
--- a/drivers/net/ethernet/ti/cpsw.c
+++ b/drivers/net/ethernet/ti/cpsw.c
@@ -1976,6 +1976,8 @@ static int cpsw_suspend(struct device *dev)
if (netif_running(ndev))
cpsw_ndo_stop(ndev);
+ soft_reset("sliver 0", &priv->slaves[0].sliver->soft_reset);
+ soft_reset("sliver 1", &priv->slaves[1].sliver->soft_reset);
pm_runtime_put_sync(&pdev->dev);
return 0;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [net PATCH 1/1] drivers: net: cpsw: fix cpsw clock gating issue across suspend/resume
2013-06-18 9:34 [net PATCH 1/1] drivers: net: cpsw: fix cpsw clock gating issue across suspend/resume Mugunthan V N
@ 2013-06-20 1:34 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-06-20 1:34 UTC (permalink / raw)
To: mugunthanvnm; +Cc: netdev
From: Mugunthan V N <mugunthanvnm@ti.com>
Date: Tue, 18 Jun 2013 15:04:35 +0530
> Due to some hardware integration issue, CPSW sliver modules requires a
> reset across suspend/resume cycle for a successful clock gating to
> CPGMAC (CPSW and Davinci MDIO) in AM335x PG1.0.
> This issue is fixed in PG2.x, though to support suspend/resume on PG1.0
> this reset is required.
>
> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-20 1:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-18 9:34 [net PATCH 1/1] drivers: net: cpsw: fix cpsw clock gating issue across suspend/resume Mugunthan V N
2013-06-20 1:34 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).