Skip to content

Commit 53435cd

Browse files
Marco Felschdtor
authored andcommitted
Input: edt-ft5x06 - make wakeup-source switchable
Since day one the touch controller acts as wakeup-source. This seems to be wrong since the device supports deep-sleep mechanism [1] which requires a reset to leave it. Also some designs won't use the touchscreen as wakeup-source. According discussion [2] we decided to break backward compatibility and go the common way by using the 'wakeup-source' device-property. [1] https://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5x26.pdf [2] https://patchwork.kernel.org/patch/11149037/ Signed-off-by: Marco Felsch <[email protected]> Tested-by: Andy Shevchenko <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 21cdb02 commit 53435cd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/input/touchscreen/edt-ft5x06.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,6 @@ static int edt_ft5x06_ts_probe(struct i2c_client *client,
12081208
return error;
12091209

12101210
edt_ft5x06_ts_prepare_debugfs(tsdata, dev_driver_string(&client->dev));
1211-
device_init_wakeup(&client->dev, 1);
12121211

12131212
dev_dbg(&client->dev,
12141213
"EDT FT5x06 initialized: IRQ %d, WAKE pin %d, Reset pin %d.\n",

0 commit comments

Comments
 (0)