Touch Screen ON IMX6

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

Touch Screen ON IMX6

1,830 Views
arjunk
Contributor II

Hi All,

I am interested in interfacing Touch Screen with my EVB. I am getting Display in my screen, but not able to use Touch Screen. 

 

 I am using I.MX 6Q SABRE  SDB,Kernel -4.1.15,and for rootfs buildroot 

TSC2004 TOUCH SCREEN CONTROLLER

Kindly advice how to enable and calibrate for touch screen.

Arjun k_

Tags (1)
4 Replies

1,211 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

And I will try it on my board and then give you reply.

0 Kudos

1,211 Views
arjunk
Contributor II

      pinctrl_i2c3_tsc2004: i2c3-tsc2004grp {
       fsl,pins = <
#define GPIRQ_TSC2004  <&gpio4 20 IRQ_TYPE_EDGE_FALLING>
#define GP_TSC2004       <&gpio4 20 GPIO_ACTIVE_LOW>
 MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x1b0b0 /* tsc2004 interrupt */
>;

};

tsc2004: tsc2004@48 {
    compatible = "tsc2004,tsc2004";
    reg = <0x48>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_i2c3_tsc2004>;
    interrupts-extended = GPIRQ_TSC2004;
    wakeup-gpios = GP_TSC2004;
 };

this my dtsi configuration , i connected interrupt in GPIO9 (imx6 j7 th connector ). 

whether the above configuration is correct ?

0 Kudos

1,211 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

Which screen are you using? LVDS or others?

Have a nice day

Rita

1,211 Views
arjunk
Contributor II

am using  AA057VF12--T1 display.

am connecting through J15 connector in imx6.

my touch screen controller (tsc2004) is giving the interrupt but my IRQ function is not executing 

 touchscreen device getting

registered under "

# cat /proc/bus/input/devices
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="tsc2004"
P: Phys=2-0048/input0
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: PROP=0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003

#

and

see touch events on

#cat /dev/input/event0 | hexdump

does not  give any output but after running cat command once i touch the touch pannel

 

 

0 Kudos