Nimrod Andy e8fcfcd568 net: fec: optimize the clock management to save power
Add below clock management to save fec power:
- After probe, disable all clocks incluing ipg, ahb, enet_out, ptp clock.
- Open ethx interface enable necessary clocks.
  Close ethx interface disable all clocks.

The patch also encapsulates the all enet clocks enable/disable to
.fec_enet_clk_enable(), which can reduce the repetitional code in
driver.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Acked-by: Frank Li <Frank.li@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-22 15:03:05 -04:00
..
2014-04-05 15:37:40 -07:00
2014-04-05 15:37:40 -07:00
2014-04-18 16:57:53 -07:00
2014-04-08 13:27:40 +02:00
2014-04-22 09:28:02 -07:00
2014-04-30 09:48:54 +10:00
2014-04-29 19:23:22 +02:00
2014-05-07 15:44:24 -04:00
2014-04-09 08:39:39 -07:00
2014-04-16 12:28:47 -07:00
2014-04-09 08:39:39 -07:00
2014-04-24 12:53:38 -07:00
2014-04-18 16:40:08 -07:00
2014-04-05 15:37:40 -07:00
2014-05-13 17:43:20 -04:00
2014-04-05 15:38:41 -07:00
2014-05-13 17:43:20 -04:00
2014-05-03 18:14:28 -04:00
2014-05-13 17:43:20 -04:00
2014-04-03 14:05:02 -07:00
2014-04-16 14:07:51 -07:00