[RK3288][Android6.0] 调试笔记 --- Goodix GT9和GT9F区别

来源:互联网 发布:windows正版多少钱 编辑:程序博客网 时间:2024/05/16 06:28

Platform: Rockchip
OS: Android 6.0
Kernel: 3.10.92

调试GT928时,发现驱动把IC分为两种chip type.

typedef enum{    CHIP_TYPE_GT9  = 0,    CHIP_TYPE_GT9F = 1,} CHIP_TYPE_T;#endif

当读取到IC是CHIP_TYPE_GT9F类型时,才会去做如下init -> download工作.

#if GTP_COMPATIBLE_MODE    gtp_get_chip_type(ts);      if (CHIP_TYPE_GT9F == ts->chip_type)    {        ret = gtp_gt9xxf_init(ts->client);        if (FAIL == ret)        {            GTP_INFO("Failed to init GT9XXF.");        }    }#endif

这两IC类型的区别在于:

  • CHIP_TYPE_GT9F: 内部是Nor Flash,必须每次都要download.
  • CHIP_TYPE_GT9: 内部是Nand Flash,除非需要更新配置文件,否则不需要每次下载.
阅读全文
1 0
原创粉丝点击