Hi,
We are currently using MX8QXP and PF8100 on a custom board and we are having some problems transitioning to standby mode (KS1). It appears that the SCU does not assert the SCU_PMIC_STANDBY pin, causing the A35s to get stuck in an endless loop waiting for power to be cut.
The power-down sequence is done in two steps. First, we put SW4 in SW_RUN_OFF/SW_STBY_OFF. Secondly, we assert SCU_PMIC_STANDBY. About half of the time none of these two steps happen and we end up in the previously described endless loop. In some rare cases, only the first step is performed (verified with logic analyzer) and the standby pin is never asserted.
Digging through the SCU firmware, it seems that the first step is done through the board_set_power_mode function. But we can't find how and when the second step is performed. Are there any conditions that need to be met for the SCU to assert the standby pin? Is there a good way to debug this further? Attaching an image of the normal behavior when suspending.
SCU firmware version 1.2.7.1
Linux kernel version 4.19.35