RK 3128 调触摸屏 TP GT9XX

Posted Gatsby

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RK 3128 调触摸屏 TP GT9XX相关的知识,希望对你有一定的参考价值。

 

一.dts 配置

1.1.触摸屏 TP 的配置

 

2.1.原理图

a.复位脚

 

b.中断脚

 

 

 2.3. dts

diff --git a/kernel/arch/arm/boot/dts/rk3128-zk-r31a.dts b/kernel/arch/arm/boot/dts/rk3128-zk-r31a.dts
index 467ad8a..eb08cf0 100755
--- a/kernel/arch/arm/boot/dts/rk3128-zk-r31a.dts
+++ b/kernel/arch/arm/boot/dts/rk3128-zk-r31a.dts
@@ -187,7 +187,20 @@
 				compatible = "rtc,hym8563";
 				reg = <0x51>;
 				//irq_gpio = <&gpio0 GPIO_D3 IRQ_TYPE_EDGE_FALLING>;
-		};		
+		};	
+      
+	    goodix@14 {
+	    	
+			status = "okay";
+			
+        compatible = "goodix,gt9xx";
+        reg = <0x14>;
+        max-x = <1280>;
+        max-y = <800>;
+        tp-size= <101>;
+        touch-gpio = <&gpio3 GPIO_D2 IRQ_TYPE_LEVEL_LOW>;
+        reset-gpio = <&gpio2 GPIO_A4 GPIO_ACTIVE_HIGH>;
+      };		
 };

 二.驱动

2.1. #define GTP_DRIVER_SEND_CFG   0    记得定义成0 

2.2.驱动添加 kernel\\drivers\\input\\touchscreen\\gt9xx 

三.adb getevent

以上是关于RK 3128 调触摸屏 TP GT9XX的主要内容,如果未能解决你的问题,请参考以下文章

gt928和gt911触屏通用吗

rk3128 如何读取 flash id

记录一次瑞芯微rk3128固件解包打包过程:以添加root权限为例

安卓盒子刷机,瑞芯微rk322x的刷机固件哪里下载?

国产开源芯片瑞芯微RK3399、RK3288有啥性能上的区别?

国产开源芯片瑞芯微RK3399、RK3288有啥性能上的区别?