Skip to content

GT911 touch wrong position #16

@duongHypmotion

Description

@duongHypmotion

Hi,

I'm working on porting the driver gt911 for Qualcomm QSC6490 running Android.
I followed your instruction and can integrated the driver into my kernel OS. The touch worked, but in some specific regions, it looks like the position does not correctly. Please see the picture below

gt911_touch

And here is my dtsi

touch:gt9xx-i2c@14 {
  compatible = "goodix,gt9xx";
  reg = <0x14>; 
  status = "okay";
  interrupt-parent = <&tlmm>;
  interrupts = <81 0x02>;
  pinctrl-names = "default", "int-output-low","int-output-high", "int-input";
  pinctrl-0 = <&ts_int_default>;
  pinctrl-1 = <&ts_int_output_low>;
  pinctrl-2 = <&ts_int_output_high>;
  pinctrl-3 = <&ts_int_input>;
  
  reset-gpios = <&tlmm 105 0x01>;
  irq-gpios = <&tlmm 81 0x02>;
  irq-flags = <2>;
  
  touchscreen-max-id = <11>;
  touchscreen-size-x = <1200>;
  touchscreen-size-y = <1920>;
  touchscreen-max-w = <512>;
  touchscreen-max-p = <512>;
  // touchscreen-key-map = <172>, <158>; /*KEY_HOMEPAGE=172, KEY_BACK=158,KEY_MENU=139*/
  
  goodix,type-a-report = <0>;
  goodix,driver-send-cfg = <0>;
  goodix,create-wr-node = <1>;
  goodix,wakeup-with-reset = <0>;
  goodix,resume-in-workqueue = <0>;
  goodix,int-sync = <1>;
  goodix,swap-x2y = <0>;
  goodix,esd-protect = <1>;
  goodix,auto-update-cfg = <0>;
  goodix,power-off-sleep = <0>;
  goodix,pen-suppress-finger = <0>;
  goodix.cfg-group0 = [
	  53 D0 02 00 05 05 F5 D5 21 48 2D 0F 5A 41 0E 05 00 00 32 32 20 00 05 14 14 1A 14 8B 2B 00
  ];
};

I will appreciate so much if you can have time to take a look into this issue and give some advice.
Thanks

Duong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions