Commit c82ef94b authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Thierry Reding
Browse files

ARM: tegra: nexus7: Add touchscreen



Nexus 7 2012 has Elantech EKTF3624 touchscreen, this patch adds TS node to
the device-tree.

Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 17110cbb
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -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 {