Hi all,
I am trying to enable power_btn in imx8qm by adding
gpio-keys {
compatible = "gpio-keys";
label = "gpio-keys";
status = "okay";
power_btn: power_btn {
status = "okay";
label = "key_power";
linux,code = <KEY_POWER>;
gpios = <&gpiox xx GPIO_ACTIVE_LOW>;
debounce-interval = <10>;
wakeup-source;
linux,input-type = <EV_KEY>;
};
in dts file.
When I check /proc/interrupts the interrupt is registered, but no interrupts are generated when pressing the button.
Thanks in advance
Anantha