Tool/software:
Hi TI team,
I am facing an issue with headphone detection on AM5728 using TI SDK 9.03. The same hardware worked in SDK 6.03, where evtest
correctly showed KEY_DOWN
/ KEY_UP
events on plug/unplug.
DTS Entry
gpio-keys {
compatible = "gpio-keys";
button-user1 {
gpios = <&gpio1 14 0>;
label = "VM_HOOK_INT";
linux,code = <103>;
};
button-user2 {
gpios = <&gpio2 6 1>;
label = "VM_KEYL_INT";
linux,code = <102>;
};
button-user3 {
gpios = <&gpio5 1 0>;
label = "VM_HEADSET_INT";
linux,code = <108>;
};
};
Additional observation:
-
According to GPIO calculation,
gpio5_1
(DTS, GPIO 129) should appear undergpiochip4
, as it did in SDK 6.03. -
In SDK 9.03, however, it shows under
gpiochip6
(GPIO 193).
-
This mismatch may be affecting the
gpio-keys
binding and preventingevtest
from detecting events.
If you need any additional information, please let me know.