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)
commitb32fbeaec52d387004dd7fa15877b8adf7b396c3
tree32f55c16e4a2a1b6318acf9fdf94c9ab4b2f69f9
parentc7dded5b2980de9811f47a1a576e0596a5a775ce
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