• Lin Huang's avatar
    rockchip/rk3399: save and restore pd_alive register · 2adcad64
    Lin Huang authored
    
    
    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: default avatarLin Huang <hl@rock-chips.com>
    2adcad64
pmu.c 45.1 KB