Input: ili210x - fetch touchscreen geometry from DT
authorSamuel Hsu <hsu@distec.de>
Mon, 8 Apr 2019 14:42:17 +0000 (16:42 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:27 +0000 (00:08 +0100)
commit55ce80d3c36f642578834ace06ba9dbe42e6272a
tree6f1a49193cb973ea1fcf9a145561f605c853fc49
parent9ff817185106d566751633e72e8df49b38d53939
Input: ili210x - fetch touchscreen geometry from DT

commit f67cc3e927d8414ad3872e046764534ea1f5db0d upstream

Fetching the geometry from the ILI251x registers seems unreliable and
sometimes returns all zeroes. Add support for fetching the geometry and
axis inversion from DT instead.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ili210x.c