devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] ARM: dts: qcom: nexus7: define touchscreen properties
@ 2021-08-18  7:04 David Heidelberg
  0 siblings, 0 replies; only message in thread
From: David Heidelberg @ 2021-08-18  7:04 UTC (permalink / raw)
  To: agross, bjorn.andersson, robh+dt
  Cc: linux-arm-msm, devicetree, David Heidelberg, stable

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

Cc: <stable@vger.kernel.org>

Signed-off-by: David Heidelberg <david@ixit.cz>
---
 arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
index 197494ef887b..800e79e97d28 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -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;
 				};
 			};
 		};
-- 
2.32.0


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

only message in thread, other threads:[~2021-08-18  7:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18  7:04 [PATCH RESEND] ARM: dts: qcom: nexus7: define touchscreen properties David Heidelberg

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).