Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property

The MSI Primo81 has a display in portrait mode but a touchscreen
in landscape mode. To have both of them use the same coordinate
system, the touchscreen-swapped-x-y property has to be set
for the touchscreen.

Signed-off-by: Karsten Merker <merker@debian.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

authored by

Karsten Merker and committed by
Maxime Ripard
c65d2359 8005c49d

+1
+1
arch/arm/boot/dts/sun6i-a31s-primo81.dts
··· 83 83 reg = <0x5d>; 84 84 interrupt-parent = <&pio>; 85 85 interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; /* PA3 */ 86 + touchscreen-swapped-x-y; 86 87 }; 87 88 }; 88 89