I have an update regarding this topic. I uploaded ilitek module:
root@verdin-imx8mp-15603379:/# lsmod | grep ili
ili210x 20480 0
crc_ccitt 12288 1 ili210x
this is my deice tree configuration regardin iomux configuration and i2c1 channel:
/* Verdin I2C channel 1 */
&i2c1 {
// Pin 44 (SAI3_TXFS, GPIO4_IO31) > INT_TOUCH#
// Pin 48 (SAI3_RXD, GPIO4_IO30) > RST_TOUCH#
status = "okay";
ilitek@41 {
compatible = "ilitek,ili210x", "ilitek,ili251x";
reg = <0x41>;
pinctrl-0 = <&pinctrl_i2s_2_d_in_gpio>,
<&pinctrl_i2s_2_sync_gpio>;
interrupt-parent = <&gpio4>;
interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>;
};
};
&iomuxc {
/* Reset pin */
pinctrl_i2s_2_d_in_gpio: gpio4io30grp {
fsl,pins =
<MX8MP_IOMUXC_SAI3_RXD__GPIO4_IO30 0x184>;
};
/* Interrupt pin */
pinctrl_i2s_2_sync_gpio: gpio4io31grp {
fsl,pins =
<MX8MP_IOMUXC_SAI3_TXFS__GPIO4_IO31 0x1c4>;
};
};
The device is detected from the system, because when i run i2cdetetct command i have this response:
root@verdin-imx8mp-15603379:/#
root@verdin-imx8mp-15603379:/# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- 41 -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
After applying the DTS configuration, when I touch the display, the kernel outputs the following messages:
root@verdin-imx8mp-15603379:/#
root@verdin-imx8mp-15603379:/# [ 2230.003429] ili210x_i2c 0-0041: ili210x_read_reg failed: -6
[ 2230.009043] ili210x_i2c 0-0041: Unable to get touch data: -6
[ 2230.055146] ili210x_i2c 0-0041: ili210x_read_reg failed: -6
[ 2230.060764] ili210x_i2c 0-0041: Unable to get touch data: -6
[ 2230.106869] ili210x_i2c 0-0041: ili210x_read_reg failed: -6
[ 2230.112505] ili210x_i2c 0-0041: Unable to get touch data: -6
[ 2230.158570] ili210x_i2c 0-0041: ili210x_read_reg failed: -6
[ 2230.164200] ili210x_i2c 0-0041: Unable to get touch data: -6
[ 2230.208570] ili210x_i2c 0-0041: ili210x_read_reg failed: -6
[ 2230.214179] ili210x_i2c 0-0041: Unable to get touch data: -6
[ 2230.220148] ili210x_i2c 0-0041: ili210x_read_reg failed: -6
[ 2230.225759] ili210x_i2c 0-0041: Unable to get touch data: -6
[ 2230.266644] ili210x_i2c 0-0041: ili210x_read_reg failed: -6
[ 2230.272274] ili210x_i2c 0-0041: Unable to get touch data: -6
[ 2230.318365] ili210x_i2c 0-0041: ili210x_read_reg failed: -6
[ 2230.324007] ili210x_i2c 0-0041: Unable to get touch data: -6
[ 2230.368337] ili210x_i2c 0-0041: ili210x_read_reg failed: -6
[ 2230.373974] ili210x_i2c 0-0041: Unable to get touch data: -6
How can i resolve this issue? Thanks in advance for your help.