From e1f4334059fafb3858f042b85d4a0352707c551a Mon Sep 17 00:00:00 2001 From: dengwei1 Date: Fri, 31 Mar 2023 15:13:09 +0800 Subject: [PATCH] bangkk: input touch add config for bangkk only add config for bangkk only Change-Id: Icca83595a7adfffc426062020fec96b1870de824 Signed-off-by: dengwei1 Reviewed-on: https://gerrit.mot.com/2561448 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- drivers/input/touchscreen/focaltech_touch_v3/focaltech_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/touchscreen/focaltech_touch_v3/focaltech_core.c b/drivers/input/touchscreen/focaltech_touch_v3/focaltech_core.c index 791d8d4e2e0c..fbd4f9032188 100644 --- a/drivers/input/touchscreen/focaltech_touch_v3/focaltech_core.c +++ b/drivers/input/touchscreen/focaltech_touch_v3/focaltech_core.c @@ -1195,9 +1195,11 @@ static int fts_input_init(struct fts_ts_data *ts_data) input_dev->id.bustype = BUS_SPI; input_dev->dev.parent = ts_data->dev; +#ifdef CONFIG_FTS_VDD_GPIO_CONTROL input_dev->id.product = 0xDEAD; input_dev->id.vendor = 0xBEEF; input_dev->id.version = 10427; +#endif input_set_drvdata(input_dev, ts_data);