Commit 2c276eab authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: dts: ux500: Fix touchscreen on TVK R2



The touchscreen is mounted with flipped x/y on the R2
version of TVK1281618. Push this setting to that DTS file
only.

The function nodes were named wrong so the OF properties
didn not "take". Fix the node names from "rmi-fnn" to
"rmi4-nn" so this also work.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2a5b0570
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -63,6 +63,14 @@ lis331dl@1c {
					     <19 IRQ_TYPE_EDGE_RISING>;
					     <19 IRQ_TYPE_EDGE_RISING>;
			};
			};
		};
		};
		i2c@80110000 {
			synaptics@4b {
				rmi4-f11@11 {
					/* This is a landscape display */
					touchscreen-swapped-x-y;
				};
			};
		};
		mcde@a0350000 {
		mcde@a0350000 {
			status = "okay";
			status = "okay";


+2 −3
Original line number Original line Diff line number Diff line
@@ -139,13 +139,12 @@ synaptics@4b {
				interrupt-parent = <&gpio2>;
				interrupt-parent = <&gpio2>;
				interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
				interrupts = <20 IRQ_TYPE_EDGE_FALLING>;


				rmi-f01@1 {
				rmi4-f01@1 {
					reg = <0x1>;
					reg = <0x1>;
					syna,nosleep = <1>;
					syna,nosleep = <1>;
				};
				};
				rmi-f11@11 {
				rmi4-f11@11 {
					reg = <0x11>;
					reg = <0x11>;
					touchscreen-inverted-x;
					syna,sensor-type = <1>;
					syna,sensor-type = <1>;
				};
				};
			};
			};