Can't found the pin definition/pin name in imx93-pinfunc.h

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't found the pin definition/pin name in imx93-pinfunc.h

198 Views
sbmd_1234
Contributor I

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.

0 Kudos
Reply
1 Reply

144 Views
Chavira
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply