Skip to contentSkip to conversation

ARM: dts: qcom: nexus7: define touchscreen properties

PATCH RESEND New David Heidelberg 1 participant 1 message Aug 18, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 ARM: dts: qcom: nexus7: define touchscreen properties

This change makes touchscreen work as expected on Nexus 7 2013 (tested).

---
 arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts +7 -1
index 197494ef887b..800e79e97d28 100644
@@ -299,11 +299,17 @@ i2c@16280000 {
 				pinctrl-0 = <&i2c3_pins>;
 				pinctrl-names = "default";
 
-				trackpad@10 {
+				touchscreen@10 {
 					compatible = "elan,ekth3500";
 					reg = <0x10>;
+
 					interrupt-parent = <&tlmm_pinmux>;
 					interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
+
+					touchscreen-size-x = <2240>;
+					touchscreen-size-y = <1350>;
+					touchscreen-swapped-x-y;
+					touchscreen-inverted-x;
 				};
 			};
 		};
Signature · 1 line
2.32.0