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

Commit 5d2e9041 authored by Chong Gu's avatar Chong Gu
Browse files

ARM: dts: msm: add ST touch node for SM8150



add ST touch node with required configuration.

Change-Id: Ia5d560ee8dedd8f0f67abf80cd307ba5c88a5542
Signed-off-by: default avatarChong Gu <chongu@codeaurora.org>
parent 8e8b850c
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
@@ -283,6 +283,48 @@
			};
		};

		pmx_ts_active {
			ts_active: ts_active {
					mux {
						pins = "gpio122", "gpio54";
						function = "gpio";
					};
					config {
						pins = "gpio122", "gpio54";
						drive-strength = <8>;
						bias-pull-up;
					};
			};
		};

		pmx_ts_int_suspend {
			ts_int_suspend: ts_int_suspend {
				mux {
					pins = "gpio122";
					function = "gpio";
				};
				config {
					pins = "gpio122";
					drive-strength = <2>;
					bias-pull-down;
				};
			};
		};

		pmx_ts_reset_suspend {
			ts_reset_suspend: ts_reset_suspend {
				mux {
					pins = "gpio54";
					function = "gpio";
				};
				config {
					pins = "gpio54";
					drive-strength = <2>;
					bias-pull-down;
				};
			};
		};

		pcie0 {
			pcie0_clkreq_default: pcie0_clkreq_default {
				mux {
+20 −0
Original line number Diff line number Diff line
@@ -54,6 +54,26 @@
	#cooling-cells = <2>;
};

&qupv3_se17_i2c {
	status = "ok";

	st_fts@49 {
		compatible = "st,fts";
		reg = <0x49>;
		interrupt-parent = <&tlmm>;
		interrupts = <122 0x2008>;
		vdd-supply = <&pm855_s4>;
		avdd-supply = <&pm855_l17>;
		pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
		pinctrl-0 = <&ts_active>;
		pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
		st,irq-gpio = <&tlmm 122 0x2008>;
		st,reset-gpio = <&tlmm 54 0x00>;
		st,regulator_dvdd = "vdd";
		st,regulator_avdd = "avdd";
	};
};

&snd_9360 {
	qcom,model = "sm8150-pahu-qrd-snd-card";
	qcom,audio-routing =