summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-04-10 09:31:52 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-04-10 09:45:51 +0200
commitc61ac36fd52cb3015acd93af5da01f8f8350051f (patch)
tree99713ac8904d3a45ebf3d4778cf23e5c24107c25 /drivers/input/serio
parentInput: cyttsp - error message on boot mode exit error (diff)
downloadlinux-c61ac36fd52cb3015acd93af5da01f8f8350051f.tar.xz
linux-c61ac36fd52cb3015acd93af5da01f8f8350051f.zip
Input: cyttsp - reduce reset pulse timings
The data sheet for CY8CTMA340 specifies that the reset pulse shall be at least 1 ms. Specify 1-2 ms with usleep_range() to cut some slack for the scheduler. Curiously the datasheet does not specify how long we have to wait after a hard reset until the chip is up, but I have found a vendor tree (Samsung GT-S7710) that has code for this touch screen and there this is set to 5 ms so I use this with the same 1 ms fuzz. Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210408131153.3446138-6-linus.walleij@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio')
0 files changed, 0 insertions, 0 deletions