i.MX6官方网站发布的内核版本L4.1.15-1.2.0-ga已经有goodix的驱动(drivers\input\touchscreen\goodix.c),从代码的of_device_id看来应该是支持gt911的。但是该驱动要在天嵌TQIMX6Q/E9平台正常运行还需要对其中的些细节做一定处理,希望能为TN92玩家提供些帮助。
#ifdef CONFIG_OF
static const struct of_device_id goodix_of_match[] = {
{ .compatible = "goodix,gt911" },
{ .compatible = "goodix,gt9110" },
{ .compatible = "goodix,gt912" },
{ .compatible = "goodix,gt927" },
{ .compatible = "goodix,gt9271" },
{ .compatible = "goodix,gt928" },
{ .compatible = "goodix,gt967" },
{ }
};
MODULE_DEVICE_TABLE(of, goodix_of_match);
#endif
void goodix_reset_guitar(struct goodix_ts_d