I am interfacing a 3x3 matrix keypad with the Colibri iMX7D, using the linux branch toradex_4.1-2.0.x-imx and standard colibri_imx7_defconfig.
Here is the device tree for the carrier board being used.
Here is the UART kernel dbg information output upon startup.
[ 1.396120] input: 30320000.kpp as /devices/platform/soc/30000000.aips-bus/30320000.kpp/input/input0 [ 1.408966] input input0: too many keys pressed, control pins initialisation [ 1.478703] input: failed to attach handler kbd to device input0, error: -5
I found the error comes form drivers/input/keyboard/imx_keypad.c:406
The problem is none of the keys are being pressed.
When double checking in the user space, I obtain the same error.
root@sumatra-colibri-imx7:~# evtest /dev/input/event0 [ 823.521290] input input0: too many keys pressed, control pins initialisation evtest: Input/output error
Any help is appreciated.