AnsweredAssumed Answered

How can I replace eGalax touch driver with FT5x06 (FT5206) on LOLLIPOP 5.0.0?

Question asked by atakan on Oct 23, 2015
Latest reply on Oct 25, 2015 by igorpadykov

Hello,

 

I have a Sabre SD Board with its default 10" Hannstar touchscreen. Now I connected a new touchscreen and its touch driver is FocalTech FT5206.

On Android L5.0.0 source, there is a driver "edt-ft5x06.c" and i want to make it work. Only SDA, SCL and INT pins are connected to Sabre, WAKE pin is not.

 

I tried to edit "imx6qdl-sabresd.dtsi" file:

...

&i2c3 {

        clock-frequency = <100000>;

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_i2c3_2>;

        status = "okay";

 

        egalax_ts@38 {

                compatible = "eeti,egalax_ts";

                reg = <0x38>;

                interrupt-parent = <&gpio6>;

                interrupts = <7 2>;

                wakeup-gpios = <&gpio6 7 0>;

        };

        ...

};

...

Then i can observe the ACK response of FT5206 from oscilloscope. And also:

input: eGalax Touch Screen as /devices/soc0/soc.1/2100000.aips-bus/21a8000.i2c/i2c-2/2-0038/input/input0

 

But of course i don't expect it to work with this driver.

So i tried this:

...

&i2c3 {

        clock-frequency = <100000>;

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_i2c3_2>;

        status = "okay";

 

 

        edt-ft5x06@38 {

                compatible = "edt,edt-ft5x06";

                reg = <0x38>;

                interrupt-parent = <&gpio6>;

                interrupts = <7 2>;

        };

        ...

};

...

But after "make", there is no "edt-ft5x06.o" file generated in "kernel_imx/drivers/input/touchscreen" folder, but "egalax_ts.o" is still there.

What should i do next?

 

Thank you!

Outcomes