Skip to content

Commit

Permalink
input: edt-ft5x06: Extend the power on delay
Browse files Browse the repository at this point in the history
There's a report of a touch panel not being identified
correctly, but unloading and reloading the module brings it
to life.

About the only thing this can be is that it hasn't come out of
reset properly, so extend that delay.

raspberrypi/bookworm-feedback#330
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  • Loading branch information
6by9 committed Dec 4, 2024
1 parent fda47c0 commit b64886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/edt-ft5x06.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#define M06_REG_CMD(factory) ((factory) ? 0xf3 : 0xfc)
#define M06_REG_ADDR(factory, addr) ((factory) ? (addr) & 0x7f : (addr) & 0x3f)

#define RESET_DELAY_MS 300 /* reset deassert to I2C */
#define RESET_DELAY_MS 500 /* reset deassert to I2C */
#define FIRST_POLL_DELAY_MS 300 /* in addition to the above */
#define POLL_INTERVAL_MS 17 /* 17ms = 60fps */

Expand Down

0 comments on commit b64886b

Please sign in to comment.