• Stefan Mavrodiev's avatar
    mfd: rk808: Prepare rk805 for poweroff · ac195d94
    Stefan Mavrodiev authored
    RK805 has SLEEP signal, which can put the device into SLEEP or OFF
    mode. The default is SLEEP mode.
    
    However, when the kernel performs power-off (actually the ATF) the
    device will not go fully off and this will result in higher power
    consumption and inability to wake the device with RTC alarm.
    
    The solution is to enable pm_power_off_prepare function, which will
    configure SLEEP pin for OFF function.
    Signed-off-by: default avatarStefan Mavrodiev <stefan@olimex.com>
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    ac195d94
rk808.c 19.4 KB