]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ili210x - add resolution to chip operations structure
authorSven Van Asbroeck <thesven73@gmail.com>
Tue, 12 Nov 2019 23:40:48 +0000 (15:40 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Nov 2019 23:53:32 +0000 (15:53 -0800)
commit419fa0633f7ae5c5916aeedb20295ad3b9b6f2d3
tree32f55c16e4a2a1b6318acf9fdf94c9ab4b2f69f9
parent0f877186880e5d79970ece02f93e7271b11aa4b4
Input: ili210x - add resolution to chip operations structure

Optionally allow the touch screen resolution to be set by adding
it to the chip operations structure. If it is omitted (left zero),
the resolution defaults to 64K. Which is the previously hard-coded
value.

Set the ili2117 resolution to 2048, as indicated in its datasheet.

Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com>
Link: https://lore.kernel.org/r/20191112210148.3535-1-TheSven73@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ili210x.c