Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 960a89d0 authored by Ritesh Kumar's avatar Ritesh Kumar Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add touch support on yupik target

This change adds touch support for yupik IDP platform.

Change-Id: I9ec6adacf1f1c2bfb8a8266819bc4de01bc90a90
parent eac80d60
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -259,3 +259,30 @@

	status = "ok";
};

&qupv3_se13_i2c {
	#address-cells = <1>;
	#size-cells = <0>;

	status = "ok";
	qcom,i2c-touch-active="novatek,NVT-ts";

	novatek@62 {
		compatible = "novatek,NVT-ts";
		reg = <0x62>;

		interrupt-parent = <&tlmm>;
		interrupts = <81 0x2008>;

		pinctrl-names = "pmx_ts_active","pmx_ts_suspend",
					"pmx_ts_release";

		pinctrl-0 = <&ts_active>;
		pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
		pinctrl-2 = <&ts_release>;

		novatek,reset-gpio = <&tlmm 105 0x00>;
		novatek,irq-gpio = <&tlmm 81 0x2008>;

	};
};
+60 −0
Original line number Diff line number Diff line
@@ -2868,5 +2868,65 @@
				};
			};
		};

		pmx_ts_active {
			ts_active: ts_active {
				mux {
					pins = "gpio105", "gpio81";
					function = "gpio";
				};

				config {
					pins = "gpio105", "gpio81";
					drive-strength = <8>;
					bias-pull-up;
				};
			};
		};

		pmx_ts_reset_suspend {
			ts_reset_suspend: ts_reset_suspend {
				mux {
					pins = "gpio105";
					function = "gpio";
				};

				config {
					pins = "gpio105";
					drive-strength = <2>;
					bias-pull-down;
				};
			};
		};

		pmx_ts_int_suspend {
			ts_int_suspend: ts_int_suspend {
				mux {
					pins = "gpio81";
					function = "gpio";
				};

				config {
					pins = "gpio81";
					drive-strength = <2>;
					bias-pull-down;
				};
			};
		};

		pmx_ts_release {
			ts_release: ts_release {
				mux {
					pins = "gpio105", "gpio81";
					function = "gpio";
				};

				config {
					pins = "gpio105", "gpio81";
					drive-strength = <2>;
					bias-disable;
				};
			};
		};
	};
};