soc: mediatek: add scpsys support active_wakeup
authorEddie Huang <eddie.huang@mediatek.com>
Wed, 26 Aug 2015 07:14:41 +0000 (15:14 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Sun, 27 Sep 2015 13:18:33 +0000 (15:18 +0200)
commit47e90154fafd1a1310e3c5baed77d8f4c33ab271
tree7398d40fc8f4527b159ad47295b2e7eeb9966e6d
parentbbe379fc7ca5cae09b1bc44fe5ee4173ad883fbf
soc: mediatek: add scpsys support active_wakeup

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.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-scpsys.c