AnsweredAssumed Answered

How To make it Touch Screen work?

Question asked by nandish gurulingappa on May 6, 2017
Latest reply on Dec 10, 2017 by nandish gurulingappa

Hello ALL,

 

I want to interface the touch screen(LCD Driver is ST7789s and Touch Driver is FT6306DMB) LCD Is UP properly now i want to interface this Touch Driver to  imx6q-Sabre AI board and Imx6dl- Mars board, For Mars Board  i added the below code to work for Touch screen in imx6q-marsboard.dts file, 

 

 // MY TOUCH PANEL CODE  

 

  &i2c3 {
    clock-frequency = <100000>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_i2c3>;
    status = "okay";        

 

      polytouch: edt-ft5x06@38 {
        compatible = "edt,edt-ft6306", "edt,edt-ft5x06";
        reg = <0x38>;
        pinctrl-names = "default";
        pinctrl-0 = <&edt_ft5x06_pins>;
        interrupt-parent = <&gpio2>;
        interrupts = <11 2>;
        reset-gpios = <&gpio7 13 1>;
      };  
  };

//MY TOUCH PANLE CODE END

 

             //MY TOUCH PANEL CODE

            edt_ft5x06_pins: edt-ft5x06grp {
            fsl,pins = <
                                MX6QDL_PAD_SD4_DAT3__GPIO2_IO11         0x1b0b0  //Interrupt
                                MX6QDL_PAD_GPIO_18__GPIO7_IO13            0x1b0b0 //Reset
                             >;
        };                
                   //MY TOUCH PANEL CODE END

 

but i am getting the bellow following boot log error and i enabled i2c driver in kernel also,

 

hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
 MY TOUCH PANEL PROBE FUNCTION GET CALLED

usb 1-1: new high-speed USB device number 2 using ci_hdrc
edt_ft5x06 2-0038: touchscreen probe failed
edt_ft5x06: probe of 2-0038 failed with error -5
check_alarm_past: alarm in the past
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized

 

can any one help me to solve this issue, you help would be very appreciation,

 

Best Regards.

nandish SG

Outcomes