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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

245 次查看
sbmd_1234
Contributor II

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 项奖励
回复
1 回复

191 次查看
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 项奖励
回复