]> 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)
commitef6c487bc42537f75970e93dec29700b5fba03d0
tree32f55c16e4a2a1b6318acf9fdf94c9ab4b2f69f9
parent928e45a8f7a86a0f489dbe1c8b0b7ff62395ef70
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