Bangkok modify for focal to no touch

some focaltech tp no touch : modify timing of iovcc and

vdd,first vdd,the second is iovcc.and issue is already fixed.

Change-Id: I8170cb474d84c50ab068fecfda88679419710f5e
Reviewed-on: https://gerrit.mot.com/2554227
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
tinno61 2023-03-27 14:38:20 +08:00
commit f6c3a009e1

View file

@ -1532,6 +1532,10 @@ int fts_power_source_ctrl(struct fts_ts_data *ts_data, int enable)
FTS_ERROR("enable vdd regulator failed,ret=%d", ret);
}
#ifdef CONFIG_FTS_VDD_GPIO_CONTROL
fts_vdd_gpio_configure(ts_data);
#endif
if (!IS_ERR_OR_NULL(ts_data->vcc_i2c)) {
ret = regulator_enable(ts_data->vcc_i2c);
if (ret) {
@ -1539,13 +1543,6 @@ int fts_power_source_ctrl(struct fts_ts_data *ts_data, int enable)
}
}
#ifdef CONFIG_FTS_VDD_GPIO_CONTROL
msleep(5);
fts_vdd_gpio_configure(ts_data);
msleep(3);
#endif
#if FTS_PINCTRL_EN
fts_pinctrl_select_normal(ts_data);
#endif