commit | 2c60b5fb9b3653221891e15294f7cc1b860e47b8 | [log] [tgz] |
---|---|---|
author | Lin Huang <hl@rock-chips.com> | Thu May 18 18:04:25 2017 +0800 |
committer | Caesar Wang <wxt@rock-chips.com> | Tue Aug 29 15:00:40 2017 +0800 |
tree | ff9f4b9b3a1a48ff470c2ba4533ea805afc3562a | |
parent | 1f8fdeb799b06a8dcfbb63bd7e60cb913b847088 [diff] |
rockchip/rk3399: save and restore pd_alive register pd_alive control cru, grf, timer, gpio and wdt, when turn off logic power rail, these register value will back to reset value, we need to save them value in suspend and restore them when resuem, since timer will reinitial in kernel, so it not need to save/restore. Change-Id: I0fc2a011d3cdc04b66ffbf728e769eb28b51ee38 Signed-off-by: Lin Huang <hl@rock-chips.com>