Hi ,
We are working on a imx8 mini based custom board with android a11. We are observing an issue where on issuing reboot -p the board is not powering off but resetting. We observed that PMIC_ON_REQ is going low for sometime and becoming high after 5-6ms.
For debugging it further, we want to know as to how can we control PMIC_ON_REQ pin from sysfs entry.
If there are any other ways to control them, it would be very helpful to know.
Thanks and Regards,
Bhavani S
Hi @BHAVANI_S ,
I hope you are doing well.
Thanks & Regards,
Sanket Parekh
Hi @Sanket_Parekh
The patch was not part of our ATF presently. We havent updated the latest ATF. Please can u suggest any other ways to solve this issue.
Thanks and Regards,
Bhavani S
Hi @BHAVANI_S ,
I hope you are doing well.
Please try using the poweroff command.
Alternatively, one can try setting DP_EN and TOP bits in SNVS_LP Control Register(Addr: 3037_0038h)using devmem2 utility.
Please Provide me logs( highest level) when performing power-off for further debugging.
Thanks & Regards,
Sanket Parekh
Hi @Sanket_Parekh ,
We have tried to setting the TOP bits in SNVS_LP Control Register from u-boot using this command.
=>mw.b 0x30370038 0x60
Have also tried the poweroff command from u-boot.
In both the cases the board is rebooting.
Wanted to know if there are any hardware ways to debug the issue further. We are using PF8121 pmic in our board and the android version android - 11.
Hi @BHAVANI_S
Hi @Sanket_Parekh ,
Please find the attached schematics of pmic and imx8mm.
Thanks and Regards,
Bhavani S
Hi @BHAVANI_S ,
I hope you are doing well.
Currently, I am reviewing the schematics sent by you.
I will update you once done
Various AOSP framework repos can be found at nxp-imx-android