GPIO output pin HIGH in suspend mode (imx8qm)

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

GPIO output pin HIGH in suspend mode (imx8qm)

1,550 次查看
oscarabril
Contributor I

Hi, 

I have an enable pin connected to a peripheral that I want to maintain HIGH during normal mode and suspend mode ($systemctl suspend). 

In the DTS:

IMX8QM_LVDS0_GPIO01_LSIO_GPIO1_IO05 0x00000061

Do you know how can I configure this pin to maintain its value when is in suspended mode?

Best regards.

标记 (2)
0 项奖励
回复
4 回复数

1,531 次查看
riteshmpatel
NXP TechSupport
NXP TechSupport

Hi @oscarabril,

I hope you are doing well.

Since the value of the register remains the same in the normal mode and suspend mode, no configurations are needed to be done.

Thanks & Regards,
Ritesh M Patel

0 项奖励
回复

1,493 次查看
oscarabril
Contributor I

Thanks, and if the register is different in suspend mode? How can I handle this?

Best regards.

0 项奖励
回复

1,432 次查看
jackie2
Contributor III

Found one example in linux-imx\arch\arm64\boot\dts\freescale\imx8qm-mek.dts

And it matches the description in RM and scfw documents. 

And LATCH should work, you can try it. 

i.MX8QM has several settings in low power mode.

 

Untitled.png

0 项奖励
回复

1,484 次查看
riteshmpatel
NXP TechSupport
NXP TechSupport

Hi @oscarabril,

The register value remains the same in normal and suspend modes.

Thanks & Regards,
Ritesh M Patel

0 项奖励
回复