Skip to content

ANDROID: MTK: ARM64: mt8183-pumpkin: fix DSI touchscreen calibartion

The touchscreen coordinates reported by the hardware are rotated 90° Clock Wise (CW).

To compensate for that, we need to rotate the coordinates back 90° Counter Clock Wise (CCW).

This can be done by inverting the y-axis, and swapping the latter with the x-axis.

Related to [0]

[0]: https://gitlab.com/mediatek/aiot/rita/device/mediatek/board/-/merge_requests/15

RITA-530

Signed-off-by: Amjad Ouled-Ameur aouledameur@baylibre.com

Edited by Amjad Ouled-Ameur

Merge request reports