IMX6 GT9XX 10.1寸触摸屏移植
来源:互联网 发布:暗黑2 1.13c mac 编辑:程序博客网 时间:2024/04/30 20:14
硬件平台:IMX6Q+GT928(10.1寸)
操作系统:Android 4.2.2
GT928接口原理图
触摸屏接口用到的硬件外设
I2C => I2C3
RST => GPIO2_27
INT => GPIO6_8
注册GT928 i2c设备
static struct i2c_board_info mxc_i2c2_board_info[] __initdata = { { I2C_BOARD_INFO("sgtl5000", 0x0a), }, { I2C_BOARD_INFO("ov564x", 0x3c), .platform_data = (void *)&camera_data, }, { I2C_BOARD_INFO("mxc_hdmi_i2c", 0x50), }, { I2C_BOARD_INFO("Goodix-TS", 0x14),// .irq = gpio_to_irq(SABRESD_CAP_TCH_INT0), },};
修改gt9xx.h对rst和int脚的定义
#define GTP_RST_PORT IMX_GPIO_NR(2, 27) #define GTP_INT_PORT IMX_GPIO_NR(6, 8)
修改touchscreen驱动Makefile
ifneq ($(wildcard drivers/input/touchscreen/gt9xx.c),)obj-$(CONFIG_TOUCHSCREEN_GT9XX) += gt9xx.o gt9xx_update.o goodix_tool.o elseobj-$(CONFIG_TOUCHSCREEN_GT9XX) += gt9xx.module gt9xx_update.module goodix_tool.moduleendif
修改touchscreen驱动Kconfig
config TOUCHSCREEN_TSC2007 tristate "TSC2007 based touchscreens" depends on I2C help Say Y here if you have a TSC2007 based touchscreen. If unsure, say N. To compile this driver as a module, choose M here: the module will be called tsc2007.config TOUCHSCREEN_GT9XX tristate "GT9XX based touchscreens" depends on I2C help Say Y here if you have a Gt9xx based touchscreen. If unsure, say N. To compile this driver as a module, choose M here: the module will be called gt9xx.
配置内核
gt928驱动下载地址
附上调试信息
0 0
- IMX6 GT9XX 10.1寸触摸屏移植
- 触摸屏GT9xx移植
- IMX6 ILI2302M(USB)触摸屏移植
- GT9xx触摸屏驱动总结
- GT9XX触摸屏双击唤醒功能分析
- GT9XX驱动移植说明书_for_Android_2014011401
- AUO A101SW01 10.1寸屏 S5PC100移植
- 在tiny4412上移植12寸触摸屏(电容屏)/液晶屏(LCD)
- IMX6q下gt9xx TP简易移植
- imx6 Uboot 移植小结
- linux3.10.53 imx6移植
- imx6之kernel移植
- 移植python到imx6
- 如何给触摸屏增加GT9XX内核编译选项
- 触摸屏移植
- RK3288 10.1寸电阻触摸屏调试与校准软件的运行
- imx6 yocto 3g模块移植
- imx6板卡移植官方yocto
- 用Quartz处理定时执行的任务
- 【linux】建立定时任务crontab
- iOS 按钮点击状态保存
- redis3.0.0 集群安装与整理总结
- jzoj 4684. 【GDOI2017模拟8.11】卡牌游戏 线段树
- IMX6 GT9XX 10.1寸触摸屏移植
- ppt文件如何转换成为pdf文件
- as3中字符串中slice()与subString()的区别
- jsp form submit 提交到后台的input元素的值中包含之前查询过的内容
- 软件测试之测试职业发展规划及方向
- 为RecyclerView打造通用Adapter 让RecyclerView更加好用
- 解决头文件包含全局变量的问题
- 控制台如何使用cstring
- linux学习之路——软链接和硬链接使用ntpdate校正linux系统的时间