diff options
| author | Nimrod Andy <B38611@freescale.com> | 2014-05-20 13:22:51 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-05-22 15:03:05 -0400 |
| commit | e8fcfcd5684a4165fe3f86dd24baa14f1e3fad7e (patch) | |
| tree | 6118a0cb8f84fbb6571efe8dc99158bf0ff479ba /tools/perf/scripts/python/bin | |
| parent | fddb88723c918a4213e4e0f8ab0a1a55811b61d3 (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
