diff --git a/framework/model/input/driver/touchscreen/touch_gt911.c b/framework/model/input/driver/touchscreen/touch_gt911.c index 074c40d9839751889c9c97493258e4e626f6a7ec..34ae962a568540166ee41152c5bd5052554034d5 100644 --- a/framework/model/input/driver/touchscreen/touch_gt911.c +++ b/framework/model/input/driver/touchscreen/touch_gt911.c @@ -69,6 +69,11 @@ static int32_t ChipDetect(ChipDevice *device) HDF_LOGI("%s:TOUCH IC is GT911", __func__); break; default: + if (buf[GT_PROD_ID_1ST] == '5' && buf[GT_PROD_ID_2ND] == '6' && \ + buf[GT_PROD_ID_3RD] == '8' && buf[GT_PROD_ID_4TH] == '8') { + HDF_LOGI("%s:TOUCH IC is GT5688", __func__); + break; + } HDF_LOGE("%s: ID wrong,IC FW version is %d", __func__, version); return HDF_FAILURE; }