From: David Heidelberg <david@ixit.cz>
To: john.stultz@linaro.org
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
David Heidelberg <david@ixit.cz>
Subject: [PATCH] ARM: dts: qcom: nexus7: define touchscreen properties
Date: Wed, 30 Jun 2021 13:51:14 +0200 [thread overview]
Message-ID: <20210630115114.19808-1-david@ixit.cz> (raw)
This change makes touchscreen work as expected on Nexus 7 2013 (tested).
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 3cf7650ca086..e7ed775abc5d 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -306,11 +306,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.30.2
reply other threads:[~2021-06-30 11:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210630115114.19808-1-david@ixit.cz \
--to=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=john.stultz@linaro.org \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).