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>
This commit is contained in:
Dmitry Osipenko 2020-08-14 03:21:38 +03:00 committed by Thierry Reding
parent 17110cbbef
commit c82ef94b3a

View File

@ -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 {