从mach-t113/driver里面复制ts-gt911.c到mach-f1c200s/driver里面,然后修改romdisk里面的设备树,我的板子的触摸INT是PE12(140),RST是PA0(0),
"ts-gt911@0": {
"i2c-bus": "i2c-f1c200s.0",
"slave-address": 20,
"interrupt-gpio": 140,
"interrupt-gpio-config": 6,
"reset-gpio": 0,
"reset-gpio-config": 1
},
添加完以后,烧录启动是GT911 Version: 911(0x1060)(0x00)[ 0.241688]Probe device 'ts-gt911.0' with ts-gt911,
但在window上还是没能使用触摸,求大佬们支支招:o
离线