This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM5728:耳机检测 GPIO (GPIO5_1) 不会在 AM5728 SDK 9.03 上生成 evtest 事件

Guru**** 2485235 points
Other Parts Discussed in Thread: AM5728

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1554767/am5728-headset-detect-gpio-gpio5_1-not-generating-evtest-events-on-am5728-sdk-9-03

器件型号:AM5728


工具/软件:

尊敬的 TI 团队:

我遇到耳机检测打开的问题 AM5728 消息流 TI SDK 9.03 。 在相同的硬件中工作 SDK 6.03 、在evtestKEY_DOWNKEY_UP插头/插头上正确显示/事件。

DTS 条目

GPIO 键{
兼容=“GPIO-密钥“;

button-user1{
GPIO =<&GPIO1 14 0>;
标签=“VM_HOOK_INT";“;
linux、代码=<103>;
};

Button-user2{
GPIO =<&GPIO2 6 1>;
标签=“VM_KEYL_INT";“;
linux、代码=<102>;
};

按钮用户 3{
GPIO =<&GPIO5 1 0>;
标签=“VM_HEADHER_INT";“;
linux、代码=<108>;
};

};

其他意见:

  • 根据 GPIO 计算gpio5_1 (DTS、GPIO 129) 应显示在下 gpiochip4就像在 SDK 6.03 中那样。

  • 但在 SDK 9.03 中、展示了在下 gpiochip6(GPIO 193)

 

  • 这种不匹配可能会影响gpio-keys绑定并阻止evtest检测事件。

如果您需要任何其他信息、请告知我。