• Caesar Wang's avatar
    rockchip: clear the power mode status via M0 · 7ac52006
    Caesar Wang authored
    
    
    Due to the PMU design, the PMU may not clear the WAKEUP bit after
    wakeup, therefore, the state machine at the power mode may enter
    the infinite loop during WFI.
    
    There is a solution that we can use the M0 to monitor the WAKEUP
    bit and clear it during power mode, then the state machine will be
    recovered immediately. Then, the DUT can exit the WFI normally.
    
    Change-Id: I303628553b728c214bf2d436bd3122032b5e669c
    Signed-off-by: default avatarXing Zheng <zhengxing@rock-chips.com>
    Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
    7ac52006
soc.c 11.2 KB