imx93 gpio problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx93 gpio problem

跳至解决方案
1,044 次查看
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 项奖励
回复
1 解答
1,002 次查看
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 项奖励
回复
2 回复数
1,015 次查看
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 项奖励
回复
1,003 次查看
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 项奖励
回复