AnsweredAssumed Answered

How ON_TIME, BTN_PRESS_TIME, PWR_GLITCH_EN bit of LPCR register handle from user space in Linux??

Question asked by Ghanshyam Dudhat on Sep 24, 2018
Latest reply on Sep 24, 2018 by igorpadykov

Dear Friends,

 

     I want to use ONOFF pin of iMX6UL processor in our Linux base product. I read many thread on the community and reference manual of iMX6UL and understand that SNVS_LP Control (LPCR) register need to handle.

    So my question is that, how will I set or reset ON_TIME, BTN_PRESS_TIME, PWR_GLITCH_EN bit of LPCR register from user space in Linux ?? any example code will be much helpful.

    And if these bits should be handle from driver level, then please tell me which driver file I need to modify??

 

Regards,

Ghanshyam

Outcomes