Input: stmpe - add axis inversion and swapping capability
authorStefan Riedmueller <s.riedmueller@phytec.de>
Mon, 5 Oct 2020 04:12:31 +0000 (21:12 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 12 Dec 2020 00:26:03 +0000 (16:26 -0800)
commit888e5fad9b78a0eaf34854f6f6a122d2d18f9c6e
treeafff309bb10b6203f7e0f1843d0b622838efa006
parent51a224eaf8512bc8c355e71a88b4554fda9cdeba
Input: stmpe - add axis inversion and swapping capability

Make use of generic touchscreen_properties structure to add axis
inversion and swapping capabilities. It's configurable via devicetree
properties:
  touchscreen-inverted-x
  touchscreen-inverted-y
  touchscreen-swapped-x-y

Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Link: https://lore.kernel.org/r/20200922093903.157232-1-s.riedmueller@phytec.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/stmpe-ts.c