07-06-2016, 01:28 PM
Sounds about right. The PMIC's behavior can be set via it's registers. There is a hidden microcontroller (ARISC) in the SoC that gets loaded with a power management firmware during boot. It's job is mainly to control the PMIC during suspend states, but it is also active during normal operation... the driver in the Linux/Android kernel uses a software interface to talk to the ARISC and then the ARISC controls the PMIC via the RSB interface... the firmware running on the ARISC is not open and we don't know exactly what happens when the main CPUs are halted / shutdown....
Come have a chat in the Pine IRC channel >>