imx93 gpio problem

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

imx93 gpio problem

Jump to solution
1,037 Views
xiang_1001
Contributor III

Using gpio2-22 as the earphone interrupt pin, hot plug the earphone during u-boot, and the level detection is correct. After entering the system, the hot plug earphone and the detection pin are always at high level.
Excuse me, is there a problem with the detection pin configuration?

 

xiang_1001_0-1729679596392.png

xiang_1001_1-1729679611190.png

 

0 Kudos
Reply
1 Solution
995 Views
xiang_1001
Contributor III

Thank you, this problem has been solved.

After shielding these two sentences, the level detection of plugging and unplugging headphones is correct.

 

xiang_1001_0-1729735880857.png

 

View solution in original post

0 Kudos
Reply
2 Replies
1,008 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @xiang_1001 

 

I hope you are doing very well.

 

Just to clarify, are you using the same Device Tree in U-boot and Kernel, right?

 

Also, could you please check with memtool the register 443C_0068h? that register belongs to the MUX of the GPIO_IO22, I want to see if is selected the GPIO2_IO22 in that PAD.

 

 

Best regards,

Salas.

0 Kudos
Reply
996 Views
xiang_1001
Contributor III

Thank you, this problem has been solved.

After shielding these two sentences, the level detection of plugging and unplugging headphones is correct.

 

xiang_1001_0-1729735880857.png

 

0 Kudos
Reply