Hi NXP Team,
I am not able to find the i.MX93 pin i.e. B18 (PMIC_STBY_REQ) definition/pin name in the imx93-pinfunc.h file or else where to find this pin's definition for the GPIO read purpose.
Thanks.
Hi @sbmd_1234!
Thank you for contacting NXP Support!
For the PMIC_STBY_REQ pin, seems it was not used in the dtb currently, so it is not aviable.
The pin is controller by PMIC directly, which corresponding register is GPC and it has been implmented in ATF code as below(plat/imx/imx93/imx93_psci.c):
mmio_setbits_32(IMX_GPC_BASE + GPC_GLOBAL_OFFSET + PMIC_CTRL, BIT(0));
as we can see, it happened when system enter lpm(echo mem > ...).
After the action "mmio_setbits_32(IMX_GPC_BASE + GPC_GLOBAL_OFFSET + PMIC_CTRL, BIT(0));" done, GPC HW will make PMIC_STBY_REQ high, this HW mechanism
Best Regards!
Chavira