net: ethernet: mediatek: add controlling power domain the ethernet belongs to
authorSean Wang <sean.wang@mediatek.com>
Wed, 14 Sep 2016 15:13:18 +0000 (23:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 06:22:57 +0000 (02:22 -0400)
commit26a2ad8a5418525d21f06083e65b10c932633209
treee480b438f50bded0e43e85f409c53e768ab84d41
parent8a8a9e89f801ce5d3d1d57ac48db678caf072147
net: ethernet: mediatek: add controlling power domain the ethernet belongs to

introduce power domain control which the digital circuit of
the ethernet belongs to inside the flow of hardware initialization
and deinitialization which helps the entire ethernet hardware block
could restart cleanly and completely as being back to the initial
state when the whole machine reboot.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c