phy: rockchip-typec: add pm runtime support
authorChris Zhong <zyw@rock-chips.com>
Thu, 8 Sep 2016 05:57:33 +0000 (22:57 -0700)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:43:29 +0000 (17:13 +0530)
commit2a4d59625bf0f0ae57d6fecf5970ca03613f5db8
treea10cfdbce844d7496fde2b19b55f96e418020aeb
parentcddbc4b7ef39ac5d84f183a46ee279cb0ae31a9f
phy: rockchip-typec: add pm runtime support

Adds pm_runtime support for rockchip Type-C, so that power domain is
enabled only when there is a transaction going on to help save power.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-rockchip-typec.c