Input: tsc200x - add axis inversion and swapping support
authorYunus Bas <y.bas@phytec.de>
Thu, 10 Feb 2022 00:59:12 +0000 (16:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 16 Feb 2022 05:25:20 +0000 (21:25 -0800)
commite511fc58071ab9b72d25667e5957cf895eb53cdf
tree8b768fee52f53cda771342ae34b45e51551ecce8
parente3217f5e7399cb8cedfc6ce05216b6ae100aaf5b
Input: tsc200x - add axis inversion and swapping support

Since Commit ed7c9870c9bc ("Input: of_touchscreen - add support for
inverted / swapped axes"), the of_touchscreen interface supports axis
inverting and swapping through device tree properties. Make use of this
feature.

Signed-off-by: Yunus Bas <y.bas@phytec.de>
Link: https://lore.kernel.org/r/20220209223933.1672782-1-y.bas@phytec.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/tsc200x-core.c