]> git.baikalelectronics.ru Git - kernel.git/commit
Input: touchscreen DT binding - add touchscreen-swapped-x-y property
authorHans de Goede <hdegoede@redhat.com>
Sun, 22 Mar 2015 03:39:19 +0000 (20:39 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Mar 2015 18:27:31 +0000 (11:27 -0700)
commit357fc667d29f4fb1b6a7250219d57fd073a9b915
treed1b408798040e71c1191c4d821fe41cb881ebb2c
parent864fe2579347d1fe0438083c2f98597f8d3e44b3
Input: touchscreen DT binding - add touchscreen-swapped-x-y property

On devices with a native portrait screen a landscape touchscreen /
digitizer may be used, this happens e.g. on ebook readers. In this case the
X and Y axis of the touchscreen are swapped compared to the screen.

Add a touchscreen-swapped-x-y property which drivers can use to see if they
need to swap the axis to make the touchscreen coordinates match the screen
coordinates.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt