Hi,
We have an Custom 7 Inch LVDS Display from Riverdi, The Touch Screen use ilitek ILI2132A controller. We are using Colibri-IMX8QXP with Iris 2.0 Carrier board.
Toradex BSP 6
Linux kernel 5.15
Colibri-IMX8QXP
Iris 2.0 Carrier board
The Capacitive Touch is connected to the X5 of Iris 2.0 (Same as Toradex 10.1 Capacitive to Iris 2.0 touch connection)
As I can see from Iris 2.0 DataSheet. Capacitive Connector X5 is Wired to:
Pin SignalName SODIMM Pin
1 I2C_SDA 194
2 I2C_SCL 196
3 GND PWR
4 TOUCH_INT# SODIMM_107
5 TOUCH_RESET# SODIMM_106
I found the device tree (“imx8x-colibri.dtsi”) set up the Toradex 10.1 Capactive Screen
/* Colibri I2C */
&i2c1 {
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1>;
/* Atmel maxtouch controller */
atmel_mxt_ts: touchscreen@4a {
compatible = "atmel,maxtouch";
reg = <0x4a>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_atmel_conn>;
interrupt-parent = <&lsio_gpio3>;
interrupts = <20 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 107 */
reset-gpios = <&lsio_gpio3 24 GPIO_ACTIVE_LOW>; /* SODIMM 106 */
status = "disabled";
};
};
So I have added the device_tree_overlay to for my Riverdi Screen ILI2132A Touch controller like this
&i2c1 {
status = "okay";
//ilitek touch controller//
touchscreen@41 {
compatible = "ilitek,ili213x";
reg = <0x41>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_atmel_conn>;
interrupt-parent = <&lsio_gpio3>;
interrupts = <20 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 107 */
reset-gpios = <&lsio_gpio3 24 GPIO_ACTIVE_LOW>; /* SODIMM 106 */
status = "okay";
};
};
I can see there’s an driver using menuconfig
<M> Ilitek I2C 213X/23XX/25XX/Lego Series Touch ICs
However after building the image(tdx-reference-multimedia-image), The Touch doesnt work.
When i type in i2cdetect -y 1
, I can i see 41,
Using lsmod
does not show the driver (ilitek_ts_i2c), I can however manual enable ilitek_ts_i2c
using 'modprobe ilitek_ts_i2c'
but no touch is working.
dmesg | grep i2c
doesn’s show any sign of driver load during boot.
evtest
does not list any touchscreen.
Can i get some guide and help here?
Thanks,
Fan