diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-08-14 03:21:38 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-09-17 18:09:40 +0200 |
commit | c82ef94b3a2105482deebc37156d682f194d067e (patch) | |
tree | e83aa6effad8d9b7d78dfe805eeff1e2728e65db /arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi | |
parent | 17110cbbef701b56136aabaaab5652b9ea4618a0 (diff) | |
download | linux-c82ef94b3a2105482deebc37156d682f194d067e.tar.bz2 |
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.dtsi | 18 |
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 { |