]> git.ipfire.org Git - thirdparty/linux.git/commit
Input: ili210x - add support for polling mode
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 21 Jan 2026 23:06:47 +0000 (00:06 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 22 Jan 2026 00:17:51 +0000 (16:17 -0800)
commita00772171251cf78263a3a5ffcb7c09bf9141182
tree464f562836e9b5932ef496e4d3be0ecc11dee882
parent87ac7cfac4d762da0e6438ada44f51bd5cf11649
Input: ili210x - add support for polling mode

There are designs incorporating Ilitek ILI2xxx touch controller that
do not connect interrupt pin, for example Waveshare 13.3" DSI display.
To support such systems use polling mode for the input device when I2C
client does not have interrupt assigned to it.

Factor out ili210x_firmware_update_noirq() to allow conditional scoped
guard around this code. The scoped guard has to be applied only in case
the IRQ line is connected, and not applied otherwise.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Link: https://patch.msgid.link/20260121230736.114623-2-marek.vasut+renesas@mailbox.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ili210x.c