2024年4月2日发(作者:)

基于ilitek的电容屏驱动程序的分析

首先,将驱动的代码粘贴出来先,在第二篇我再对整个驱动程序进行进一步的分析

(/blog/static/962652682/):

/*

Copyright (c) 2010 by ilitek Technology.

All rights reserved.

ilitek I2C touch screen driver for Android platform

Author: Steward Fu

Version: 1

History:

2010/10/26 Firstly released

2010/10/28 Combine both i2c and hid function together

2010/11/02 Support interrupt trigger for I2C interface

2010/11/10 Rearrange code and add new IOCTL command

2010/11/23 Support dynamic to change I2C address

2010/12/21 Support resume and suspend functions

2010/12/23 Fix synchronous problem when application and driver work at the

same time

2010/12/28 Add erasing background before calibrating touch panel

2011/01/13 Rearrange code and add interrupt with polling method

2011/01/14 Add retry mechanism

2011/01/17 Support multi-point touch

2011/01/21 Support early suspend function

2011/02/14 Support key button function

2011/02/18 Rearrange code

2011/03/21 Fix counld not report first point

2011/03/25 Support linux 2.36.x

*/