Hi guys,
I'm trying to get some keyboard events on my ccimx8x-sbc-pro, by using gpio.
I wish I have linux event <59> (corresponding to F1 touche) when I set GPIO05_IO09 to the ground.
To achieve this, i've added the following lines in ccimx8x-wb.dtsi, right after reg_rf_bt_en: regulator-som@6 propertie :
gpio-keys {
compatible = "gpio-keys";
autorepeat;
status = "okay";
f1 {
label = "F1Key";
linux,code = <59>;
gpios = <&gpio5 9 0>;
};
};
when I use my newly compiled dtb, I can't see the gpio-key propertie ...
1) I have set CONFIG_KEYBOARD_GPIO=y kernel option
2) I've tried to commment / uncomment SC_P_ENET0_REFCLK_125M_25M_LSIO_GPIO5_IO09 line in pinctrl_expansion: expansiongrp
Can anyone tell me what I'm missing ?
regards