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>
This commit is contained in:
Karsten Merker 2015-10-24 23:07:31 +02:00 committed by Maxime Ripard
parent 8005c49d9a
commit c65d2359a8

View file

@ -83,6 +83,7 @@ ctp@5d {
reg = <0x5d>;
interrupt-parent = <&pio>;
interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; /* PA3 */
touchscreen-swapped-x-y;
};
};