]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00279948 net: fec: add clock control to save power
authorFugang Duan <B38611@freescale.com>
Sun, 29 Sep 2013 06:56:16 +0000 (14:56 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:55:51 +0000 (09:55 +0800)
commit238c59eab19a8aff7233643eb1df07abb7c1a5af
treec7a6ab0fa0da87fbd2f9064cd79c6f6c22eaab77
parentf7e4a8cc78b98807ef66a3dc96e6d0488082af8d
ENGR00279948 net: fec: add clock control to save 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.
- Correct the MDIO clock source.

Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/net/ethernet/freescale/fec_main.c