Hi All,

I am using adp5588 keypad with Linux kernel version 5.4 on i.MX8. I am able to use TCA8418 driver for it.

But I want to use ADP5588 driver “drivers/input/keyboard/adp5588-keys.c”

I have updated the device tree as follows:

```
keypad: adp5588@34 {
compatible = "adi,adp5588";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio1>, <&pinctrl_gpio2>;
reg = <0x34>;
interrupt-parent = <&lsio_gpio0>;
interrupts = <9 0>;
reset-gpios = <&lsio_gpio0 8 GPIO_ACTIVE_LOW>;
keypad,num-rows = <4>;
keypad,num-columns = <6>;
linux,keymap = <
MATRIX_KEY(0x00, 0x00, KEY_ESC)
MATRIX_KEY(0x00, 0x01, KEY_1)
MATRIX_KEY(0x00, 0x02, KEY_2)
MATRIX_KEY(0x00, 0x03, KEY_3)
MATRIX_KEY(0x00, 0x04, KEY_4)
MATRIX_KEY(0x00, 0x05, KEY_5)
MATRIX_KEY(0x01, 0x00, KEY_6)
MATRIX_KEY(0x01, 0x01, KEY_7)
MATRIX_KEY(0x01, 0x02, KEY_8)
MATRIX_KEY(0x01, 0x03, KEY_9)
MATRIX_KEY(0x01, 0x04, KEY_0)
MATRIX_KEY(0x01, 0x05, KEY_MINUS)
MATRIX_KEY(0x02, 0x00, KEY_EQUAL)
MATRIX_KEY(0x02, 0x01, KEY_BACKSPACE)
MATRIX_KEY(0x02, 0x02, KEY_TAB)
MATRIX_KEY(0x02, 0x03, KEY_Q)
MATRIX_KEY(0x02, 0x04, KEY_W)
MATRIX_KEY(0x02, 0x05, KEY_E)
MATRIX_KEY(0x03, 0x00, KEY_R)
MATRIX_KEY(0x03, 0x01, KEY_T)
MATRIX_KEY(0x03, 0x02, KEY_Y)
MATRIX_KEY(0x03, 0x03, KEY_U)
MATRIX_KEY(0x03, 0x04, KEY_I)
>;
};
```

I am able to see the adp5588 module using lsmod after inserting it.

```
root@apalis-imx8-06958964:~# lsmod | grep adp5
adp5588_keys 24576 0
```

But I can not see any logs I have added in the driver in kernel logs.

Does anyone have idea if we can use this ADP5588 driver with latest Linux kernel?

If yes could you please share an example?

Regards,

Prathamesh Kulkarni