AnsweredAssumed Answered

iMX6sx configure GPIO2_IO16

Question asked by Antonio Belussi on May 17, 2018
Latest reply on May 29, 2018 by Antonio Belussi

On my Demoboard imx6sx-sabre, I want to use the GPIO2_IO16 as a simply input/output, and control it by my 'C' program under Linux

 

I know that I have to create a patch to the imx6sx-sdb.dtsi file , but is not clear has to put and setting the "MX6SX_PAD_KEY_ROW1__GPIO2_IO_16" in this file.

 

Someone can explain me which setting I have to do in the .dtsi file

Is there an example in 'C' source code to manage it ?

 

 

Thanks in advanced

Outcomes