I am trying to test TOUCH on the combo IMX6SLLEVK + IMXEBOOKDC4.
I have tried loading the full image: LF_v5.10_1.0.0_images_IMX6SLLEVK>imx-image-full-imx6sllevk.wic
cat /proc/bus/input/devices does not detect the i2c for the touch device
It looks like ELAN is enabled in the config:
root@imx6sllevk:~# zcat /proc/config.gz | grep -i ELAN_TS
CONFIG_TOUCHSCREEN_ELAN_TS=y
dmesg | grep -i elan does not return anything
I also tried building an image via Yocto but not sure what to add to the dts to configure ELAN.
Can anyone help?
Solved! Go to Solution.
OK, I managed to solve this, the address was 0x15, not 0x10
Also i2c1, not i2c3
OK, I managed to solve this, the address was 0x15, not 0x10
Also i2c1, not i2c3
I have tried to adjust the DTD in imx6sll-evk.dts:
&i2c3 {
...
elan@10 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_epdc_elan_touch>;
compatible = "elan,elan-touch";
reg = <0x10>;
interrupt-parent = <&gpio4>;
interrupts = <19 IRQ_TYPE_EDGE_FALLING>;
gpio_elan_cs = <&gpio2 8 0>;
gpio_elan_rst = <&gpio4 20 0>;
gpio_intr = <&gpio4 19 0>;
status = "okay";
};
};
pinctrl_epdc_elan_touch: epdc_elan_touch_grp {
fsl,pins = <
MX6SLL_PAD_GPIO4_IO19__GPIO4_IO19 0x17059
MX6SLL_PAD_GPIO4_IO20__GPIO4_IO20 0x17059
MX6SLL_PAD_EPDC_PWR_CTRL1__GPIO2_IO009 0x17059
>;
};
After doing this, I get an error:
root@imx6sllevk:~# dmesg | grep -i elan
[ 1.989701] elan-touch 2-0010: elan - Read Hello Packet Failed