summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun6i-a31s-primo81.dts
diff options
context:
space:
mode:
authorKarsten Merker <merker@debian.org>2015-10-25 00:07:31 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-11-17 11:40:49 +0300
commitc65d2359a85da9a09768c75ea6b9ed6254a7df71 (patch)
tree74ae603ccf0c723219280719bab6c2dc20936261 /arch/arm/boot/dts/sun6i-a31s-primo81.dts
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-c65d2359a85da9a09768c75ea6b9ed6254a7df71.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31s-primo81.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31s-primo81.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31s-primo81.dts b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
index 2d4250b1faf8..68b479b8772c 100644
--- a/arch/arm/boot/dts/sun6i-a31s-primo81.dts
+++ b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
@@ -83,6 +83,7 @@
reg = <0x5d>;
interrupt-parent = <&pio>;
interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; /* PA3 */
+ touchscreen-swapped-x-y;
};
};