Touch on IMX6SLLEVK + IMXEBOOKDC4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Touch on IMX6SLLEVK + IMXEBOOKDC4

Jump to solution
743 Views
ekerebel
Contributor III

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?

0 Kudos
Reply
1 Solution
716 Views
ekerebel
Contributor III

OK, I managed to solve this, the address was 0x15, not 0x10

Also i2c1, not i2c3

 

View solution in original post

0 Kudos
Reply
2 Replies
717 Views
ekerebel
Contributor III

OK, I managed to solve this, the address was 0x15, not 0x10

Also i2c1, not i2c3

 

0 Kudos
Reply
734 Views
ekerebel
Contributor III

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

0 Kudos
Reply