touch GT9xx driver 移植非基于device tree
touch GT9xx 技术厂家提供 driver 的参考代码, 是基于 device tree 的。 由于Hisi 目前对device tree 支持不好,需要改成非基于device tree 的driver。
1. 首先修改 gtp_init, 不通过 i2c_add_driver, 直接调用 i2c_new_device, 直接调用 probe
+static struct i2c_client* gt9xx_i2c_client = NULL;
+
+static struct i2c...
原创
2020-12-25 15:54:04 ·
377 阅读 ·
0 评论