1.sdk-9.0\kernel\drivers\input\touchscreen\gt9xx\gt9xx.c
(1)2593 enum of_gpio_flags rst_flags, pwr_flags; 改为 enum of_gpio_flags rst_flags;
(2)2624
(3)2676
2. 触屏驱动修改&i2c4里的内容,并将&i2c4从rk3288-evb.dtsi移到rk3288-evb-android-rk808-edp.dtsi.
&i2c4 {
status = "okay";
ts@02 {
compatible = "goodix,gt9xx";
reg = <0x5d>;
touch-gpio = <&gpio8 RK_PB1 IRQ_TYPE_LEVEL_LOW>;
reset-gpio = <&gpio7 RK_PA6 GPIO_ACTIVE_LOW>;
max-x = <1280>;
max-y = <800>;
};
};
3.编译,烧写镜像,发现触屏滑动痕迹左右方向相反。
(425)x = ts->abs_x_max - x;
3.编译 烧写镜像,触屏可正常使用,无偏差等异常。