pd: rockchip: support active_wakeup for rockchip pd
authorElaine Zhang <zhangqing@rock-chips.com>
Thu, 11 Aug 2016 05:23:15 +0000 (13:23 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 15 Aug 2016 02:02:03 +0000 (10:02 +0800)
commita1073cbf7350818ca8392d68d8df4167c024544a
tree1a66b85f355e4baa8367e9704cb8162b90c250cf
parent9733fe32442ba6877dc502d89e90c6e9a08028d0
pd: rockchip: support active_wakeup for rockchip pd

Register gpd_dev_ops.active_wakeup function to support keep power
during suspend state. And add flag to each power domain to
decide whether keep power during suspend or not.

Change-Id: I00b5111c4703be871180d859993dbea00ec82953
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
drivers/soc/rockchip/pm_domains.c