資源簡介
GT9xx 系列觸摸資料
支持多種芯片型號GT9XX系列
內(nèi)附驅(qū)動移植說明書,詳細(xì)描述了GT9XX系列 ic的驅(qū)動移植方法

代碼片段和文件信息
/*?drivers/input/touchscreen/gt9xx.c
?*?
?*?2010?-?2013?Goodix?Technology.
?*?
?*?This?program?is?free?software;?you?can?redistribute?it?and/or?modify
?*?it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
?*?the?Free?Software?Foundation;?either?version?2?of?the?License?or
?*?(at?your?option)?any?later?version.
?*?
?*?This?program?is?distributed?in?the?hope?that?it?will?be?a?reference?
?*?to?you?when?you?are?integrating?the?GOODiX‘s?CTP?IC?into?your?system?
?*?but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of?
?*?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the?GNU?
?*?General?Public?License?for?more?details.
?*?
?*?Version:?2.2
?*?Authors:?andrew@goodix.com?meta@goodix.com
?*?Release?Date:?2014/01/14
?*?Revision?record:
?*??????V1.0:???
?*??????????first?Release.?By?Andrew?2012/08/31?
?*??????V1.2:
?*??????????modify?gtp_reset_guitarslot?reporttracking_id?&?0x0F.?By?Andrew?2012/10/15
?*??????V1.4:
?*??????????modify?gt9xx_update.c.?By?Andrew?2012/12/12
?*??????V1.6:?
?*??????????1.?new?heartbeat/esd_protect?mechanism(add?external?watchdog)
?*??????????2.?doze?mode?sliding?wakeup?
?*??????????3.?3?more?cfg_group(GT9?Sensor_ID:?0~5)?
?*??????????3.?config?length?verification
?*??????????4.?names?&?comments
?*??????????????????By?meta?2013/03/11
?*??????V1.8:
?*??????????1.?pen/stylus?identification?
?*??????????2.?read?double?check?&?fixed?config?support
?*??????????3.?new?esd?&?slide?wakeup?optimization
?*??????????????????By?meta?2013/06/08
?*??????V2.0:
?*??????????1.?compatible?with?GT9XXF
?*??????????2.?send?config?after?resume
?*??????????????????By?meta?2013/08/06
?*??????V2.2:
?*??????????1.?gt9xx_config?for?debug
?*??????????2.?gesture?wakeup
?*??????????3.?pen?separate?input?device?active-pen?button?support
?*??????????4.?coordinates?&?keys?optimization
?*??????????????????By?meta?2014/01/14
?*/
#include?
#include?“gt9xx.h“
#if?GTP_ICS_SLOT_REPORT
????#include?
#endif
static?const?char?*goodix_ts_name?=?“goodix-ts“;
static?struct?workqueue_struct?*goodix_wq;
struct?i2c_client?*?i2c_connect_client?=?NULL;?
u8?config[GTP_CONFIG_MAX_LENGTH?+?GTP_ADDR_LENGTH]
????????????????=?{GTP_REG_CONFIG_DATA?>>?8?GTP_REG_CONFIG_DATA?&?0xff};
#if?GTP_HAVE_TOUCH_KEY
????static?const?u16?touch_key_array[]?=?GTP_KEY_TAB;
????#define?GTP_MAX_KEY_NUM??(sizeof(touch_key_array)/sizeof(touch_key_array[0]))
????
#if?GTP_DEBUG_ON
????static?const?int??key_codes[]?=?{KEY_HOME?KEY_BACK?KEY_MENU?KEY_SEARCH};
????static?const?char?*key_names[]?=?{“Key_Home“?“Key_Back“?“Key_Menu“?“Key_Search“};
#endif
????
#endif
static?s8?gtp_i2c_test(struct?i2c_client?*client);
void?gtp_reset_guitar(struct?i2c_client?*client?s32?ms);
s32?gtp_send_cfg(struct?i2c_client?*client);
void?gtp_int_sync(s32?ms);
static?ssize_t?gt91xx_config_read_proc(struct?file?*?char?__user?*?size_t?loff_t?*);
static?ssize_t?gt91xx_config_write_proc(struct?file?*?const?char?__user?*?size_t?loff_t?*
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-05-07?14:20??gt9xx\
?????目錄???????????0??2018-05-07?14:15??gt9xx\goodix\
?????文件???????23988??2018-04-19?10:55??gt9xx\goodix\goodix.c
?????目錄???????????0??2018-04-18?14:42??gt9xx\gt911\
?????目錄???????????0??2015-07-13?09:51??gt9xx\GT9113\
?????文件?????1117968??2014-02-24?10:39??gt9xx\GT9113\電容觸控芯片GT9113?Datasheet_20130514(德普特).pdf
?????目錄???????????0??2015-07-13?09:51??gt9xx\GT9113\調(diào)試最終版\
?????文件???????48169??2014-02-26?16:31??gt9xx\GT9113\調(diào)試最終版\gt9113.c
?????文件????????8954??2014-02-26?10:51??gt9xx\GT9113\調(diào)試最終版\gt9113.h
?????文件???????82736??2015-05-26?17:35??gt9xx\gt911\gt9xx.c
?????文件???????12435??2015-05-27?10:30??gt9xx\gt911\gt9xx.h
?????目錄???????????0??2017-03-24?09:27??gt9xx\gt9xx\
?????文件???????79858??2016-09-30?16:42??gt9xx\gt9xx.c
?????文件???????12759??2016-09-30?16:42??gt9xx\gt9xx.h
?????文件?????????170??2017-03-15?15:12??gt9xx\gt9xx\.built-in.o.cmd
?????文件???????34160??2017-03-15?15:12??gt9xx\gt9xx\.goodix_tool.o.cmd
?????文件???????34094??2017-03-15?15:12??gt9xx\gt9xx\.gt9xx.o.cmd
?????文件?????????293??2017-03-15?15:16??gt9xx\gt9xx\.gt9xx_ts.ko.cmd
?????文件???????21328??2017-03-15?15:16??gt9xx\gt9xx\.gt9xx_ts.mod.o.cmd
?????文件?????????261??2017-03-15?15:12??gt9xx\gt9xx\.gt9xx_ts.o.cmd
?????文件???????34427??2017-03-15?15:12??gt9xx\gt9xx\.gt9xx_update.o.cmd
?????文件???????????8??2017-03-15?15:12??gt9xx\gt9xx\built-in.o
?????文件???????17684??2016-04-11?10:55??gt9xx\gt9xx\goodix_tool.c
?????文件???????89192??2017-03-15?15:12??gt9xx\gt9xx\goodix_tool.o
?????文件???????42777??2016-04-11?10:55??gt9xx\gt9xx\gt9xx.c
?????文件??????128272??2017-03-15?15:12??gt9xx\gt9xx\gt9xx.o
?????文件??????231435??2016-04-11?10:55??gt9xx\gt9xx\gt9xx_firmware.h
?????文件???????16849??2016-04-11?10:55??gt9xx\gt9xx\gt9xx_ts.h
?????文件??????387296??2017-03-15?15:16??gt9xx\gt9xx\gt9xx_ts.ko
?????文件?????????471??2017-03-15?15:16??gt9xx\gt9xx\gt9xx_ts.mod.c
?????文件???????18136??2017-03-15?15:16??gt9xx\gt9xx\gt9xx_ts.mod.o
............此處省略14個文件信息
評論
共有 條評論