美文网首页
添加新的touchscreen驱动

添加新的touchscreen驱动

作者: 超__越 | 来源:发表于2019-02-25 17:36 被阅读0次

    Kernel 中添加新的驱动:

    一、

    1 添加整个驱动目录

    修改上级Makefile文件

    3

     修改上级Kconfig文件

    二、

    如:\kernel\msm-3.18\drivers\input\touchscreen\

    下面增加 gslX3670

    a 将整个目录添加到 touchscreen 目录下面

    修改 Kconfig 和 Makefile

    c Kconfig 

    config TOUCHSCREEN_GSLX3670

    bool "silead touchpanel 3670 series"

    depends on I2C

    help

      Say Y here if you have a silead touchscreen.

      Gt1x controllers are multi touch controllers which can

      report 5 touches at a time.

      If unsure, say N.

    source "drivers/input/touchscreen/gslX3670/Kconfig"

    d Makefile

    obj-$(CONFIG_TOUCHSCREEN_GSLX3670) += gslX3670/

    三、 搞定

    魅力依然

    相关文章

      网友评论

          本文标题:添加新的touchscreen驱动

          本文链接:https://www.haomeiwen.com/subject/icwgyqtx.html