GPIO output pin HIGH in suspend mode (imx8qm)

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

GPIO output pin HIGH in suspend mode (imx8qm)

499 Views
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.

Tags (2)
0 Kudos
4 Replies

480 Views
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 Kudos

442 Views
oscarabril
Contributor I

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

Best regards.

0 Kudos

381 Views
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 Kudos

433 Views
riteshmpatel
NXP TechSupport
NXP TechSupport

Hi @oscarabril,

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

Thanks & Regards,
Ritesh M Patel

0 Kudos