Skip to content

RK8XX shutdown issue

rk8xx PMIC code uses SYS_OFF_MODE_POWER_OFF_PREPARE instead of SYS_OFF_MODE_POWER_OFF. The later one should be used, but invokes the shutdown handler with interrupts already being turned off. This does not cope well with SPI.