Focaltech ft6x36 touch not working properly

success_story
openhours
custom_board
tutorial
96boards

#1

I’m trying to integrate focaltech ft6336u touch driver.
here is the my latest addition to existing dtsi file
focaltech@38 {
compatible = “focaltech,fts”;
reg = <0x38>;
interrupt-parent = <&msm_gpio>;
interrupts = <13 0x2>;
vdd-supply = <&pm8909_l17>;
vcc_i2c-supply = <&pm8909_l6>;
pinctrl-names = “pmx_ts_active”,“pmx_ts_suspend”,“pmx_ts_release”;
pinctrl-0 = <&ts_int_active &ts_reset_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
pinctrl-2 = <&ts_release>;
focaltech,name = “fts”;
focaltech,family-id = <0x36>;
focaltech,reset-gpio = <&msm_gpio 12 0x00>;
focaltech,irq-gpio = <&msm_gpio 13 0x0>;
focaltech,id1-gpio = <&msm_gpio 109 0x00>;
focaltech,id2-gpio = <&msm_gpio 114 0x00>;
focaltech,id3-gpio = <&msm_gpio 121 0x00>;
focaltech,display-coords = <0 0 480 854>;
focaltech,panel-coords = <0 0 480 950>;
focaltech,button-map= <139 102 158>;
focaltech,no-force-update;
focaltech,i2c-pull-up;
focaltech,group-id = <1>;
focaltech,hard-reset-delay-ms = <20>;
focaltech,soft-reset-delay-ms = <200> ; focaltech,num-max-touches = <5>;
focaltech,fw-name = “FT_Upgrade_App.i”;
focaltech,fw-delay-aa-ms = <50>;
focaltech,fw-delay-55-ms = <30>;
focaltech,fw-upgrade-id1 = <0x79>;
focaltech,fw-upgrade-id2 = <0x18>;
focaltech,fw-delay-readid-ms = <10>;
focaltech,fw-delay-era-flsh-ms = <2000>;
focaltech,fw-auto-cal;

which is resulting as following but touch not working appropriately.

fts_ts 5-0038: Device ID = 0x64
fts_get_upgrade_array chip_id = 64
fts_ts 5-0038: report rate = 100Hz
fts_ts 5-0038: Firmware version = 3.0.0
fts_ts 5-0038: Create proc entry success!
fts:fts_create_sysfs() - sysfs_create_group() succeeded.