In stmmac driver, clocks are all enabled after device probed, this leads to more power consumption. This patch set tries to implement clocks management, and takes i.MX platform as a example.
Joakim Zhang (3): net: stmmac: add clocks management for gmac driver net: stmmac: add platform level clocks management net: stmmac: add platform level clocks management for i.MX .../net/ethernet/stmicro/stmmac/dwmac-imx.c | 60 +++++++++------- .../net/ethernet/stmicro/stmmac/stmmac_main.c | 70 ++++++++++++++++--- include/linux/stmmac.h | 1 + 3 files changed, 98 insertions(+), 33 deletions(-) -- 2.17.1