aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-08-14 03:21:38 +0300
committerThierry Reding <treding@nvidia.com>2020-09-17 18:09:40 +0200
commitc82ef94b3a2105482deebc37156d682f194d067e (patch)
treee83aa6effad8d9b7d78dfe805eeff1e2728e65db /arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
parentARM: tegra: nexus7: Use PLLC for WiFi MMC clock parent (diff)
downloadwireguard-linux-c82ef94b3a2105482deebc37156d682f194d067e.tar.xz
wireguard-linux-c82ef94b3a2105482deebc37156d682f194d067e.zip
ARM: tegra: nexus7: Add touchscreen
Nexus 7 2012 has Elantech EKTF3624 touchscreen, this patch adds TS node to the device-tree. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi')
-rw-r--r--arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
index bca77ee33c74..a84b8e3f71f2 100644
--- a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
+++ b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
@@ -839,6 +839,24 @@
i2c@7000c400 {
clock-frequency = <400000>;
status = "okay";
+
+ touchscreen@10 {
+ compatible ="elan,ektf3624";
+ reg = <0x10>;
+
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_LEVEL_LOW>;
+
+ reset-gpios = <&gpio TEGRA_GPIO(H, 6) GPIO_ACTIVE_LOW>;
+
+ vcc33-supply = <&vcc_3v3_ts>;
+ vccio-supply = <&vcc_3v3_ts>;
+
+ touchscreen-size-x = <2112>;
+ touchscreen-size-y = <1280>;
+ touchscreen-swapped-x-y;
+ touchscreen-inverted-x;
+ };
};
i2c@7000c500 {