linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: ux500: Fix touchscreen on TVK R2
@ 2021-03-21  1:25 Linus Walleij
  0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2021-03-21  1:25 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Linus Walleij

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: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/boot/dts/ste-href-tvk1281618-r2.dtsi | 8 ++++++++
 arch/arm/boot/dts/ste-href-tvk1281618.dtsi    | 5 ++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/ste-href-tvk1281618-r2.dtsi b/arch/arm/boot/dts/ste-href-tvk1281618-r2.dtsi
index e024520f4d47..c55993c35bd9 100644
--- a/arch/arm/boot/dts/ste-href-tvk1281618-r2.dtsi
+++ b/arch/arm/boot/dts/ste-href-tvk1281618-r2.dtsi
@@ -63,6 +63,14 @@ lis331dl@1c {
 					     <19 IRQ_TYPE_EDGE_RISING>;
 			};
 		};
+		i2c@80110000 {
+			synaptics@4b {
+				rmi4-f11@11 {
+					/* This is a landscape display */
+					touchscreen-swapped-x-y;
+				};
+			};
+		};
 		mcde@a0350000 {
 			status = "okay";
 
diff --git a/arch/arm/boot/dts/ste-href-tvk1281618.dtsi b/arch/arm/boot/dts/ste-href-tvk1281618.dtsi
index e1dbfae22595..1ee7d001fd31 100644
--- a/arch/arm/boot/dts/ste-href-tvk1281618.dtsi
+++ b/arch/arm/boot/dts/ste-href-tvk1281618.dtsi
@@ -139,13 +139,12 @@ synaptics@4b {
 				interrupt-parent = <&gpio2>;
 				interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
 
-				rmi-f01@1 {
+				rmi4-f01@1 {
 					reg = <0x1>;
 					syna,nosleep = <1>;
 				};
-				rmi-f11@11 {
+				rmi4-f11@11 {
 					reg = <0x11>;
-					touchscreen-inverted-x;
 					syna,sensor-type = <1>;
 				};
 			};
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-21  1:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-21  1:25 [PATCH] ARM: dts: ux500: Fix touchscreen on TVK R2 Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).