summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Merker2015-10-24 23:07:31 +0200
committerMaxime Ripard2015-11-17 09:40:49 +0100
commitc65d2359a85da9a09768c75ea6b9ed6254a7df71 (patch)
tree74ae603ccf0c723219280719bab6c2dc20936261
parentLinux 4.4-rc1 (diff)
downloadkernel-qcow2-linux-c65d2359a85da9a09768c75ea6b9ed6254a7df71.tar.gz
kernel-qcow2-linux-c65d2359a85da9a09768c75ea6b9ed6254a7df71.tar.xz
kernel-qcow2-linux-c65d2359a85da9a09768c75ea6b9ed6254a7df71.zip
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>
-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;
};
};