AnsweredAssumed Answered

Dump PMIC configuration for i.MX6Q

Question asked by Ritesh Patel on May 8, 2018
Latest reply on May 16, 2018 by igorpadykov

Hi ,

 

We are using i.MX6Q on our custom board, with pf0100 PMIC.

 

We want to configure above PMIC in dump PMIC mode to shut down the processor by Linux "poweroff" command.

 

I found that there are two bits of the register "SNVS_LPCR" we need to set for the above functions. 

 

We have found that the initialization code if written in the "drivers/input/keyboard/snvs_pwrkey.c - imx_snvs_pwrkey_probe() " file, where dump PMIC mode is being set inside the "Turn off System Power'" function, please let us know how we can set the "Turn off System Power(TOP)" bit of the register?

 

As per our understanding, after above configurations "PMIC_ON_REQ" pin should go low, to turn off the PMIC.

 

I have written the above register in the imx_snvs_pwrkey_probe() function, however still the above pin is high, please support for the changes required for the same/

 

Regards.

Ritesh

Outcomes