edt-ft5x06 driver issue

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

edt-ft5x06 driver issue

1,951 Views
nigelevans
Contributor III

Hi,

I am trying to get edt-ft56x06 driver working with imx6sl.

I have added the driver in the Kernel and added dts entry. I have scoped the I2c, Reset and IRQ lines and all seems ok.

However, when I boot the system and touch the screen I get the following:

edt_ft5x06_ts_isr: 5 callbacks suppressed
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!

Can anybody explain what could be wrong here?

Thanks.

Labels (3)
0 Kudos
3 Replies

1,140 Views
nigelevans
Contributor III

Thanks for the answers,

 I managed to fix by pulling in a version of the driver from a newer kernel.

Now, I have touch screen fully probed. But for some reason, in Android, it seems that only top half of the touch panel reacts properly.

I have added simple touchscreen .idc file for the panel which got rid of the 'acting like a mouse with cursor' symptoms.

It seems when I run 'adb shell getevent -lt /dev/input/event0' 

The touches in top left and bottom right are correct values for the resolution of the screen. (240x320)

What could be causing this?

Thanks,

0 Kudos

1,140 Views
igorpadykov
NXP Employee
NXP Employee

Hi nigel

one can check Documentation/bindings/devicetree/input/touchscreen/edt-ft5x06.txt

and debug edt_ft5x06 driver

linux-2.6-imx.git - Freescale i.MX Linux Tree 

log shows all data as nulls, one can try to check data with oscilloscope

Best regards
igor

0 Kudos

1,140 Views
fabio_estevam
NXP Employee
NXP Employee

Maybe you could compare your dts against this one:

kernel/git/torvalds/linux.git - Linux kernel source tree 

Regards,

Fabio Estevam

0 Kudos