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

Commit bd767f2e authored by Fei Mao's avatar Fei Mao Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add gpio pincntrl for touch

Add the GPIO pin control for touchscreen.

Change-Id: I71054e4bca0badbbf367c7937ac7f91d804288fc
parent 4fb85a05
Loading
Loading
Loading
Loading
+61 −0
Original line number Diff line number Diff line
@@ -1458,6 +1458,67 @@
		};
	};

	/* touchscreen pins */
	pmx_ts_active {
		ts_active: ts_active {
			mux {
				pins = "gpio22", "gpio23";
				function = "gpio";
			};

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

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

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

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

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

	pmx_ts_release {
		ts_release: ts_release {
			mux {
				pins = "gpio22", "gpio23";
				function = "gpio";
			};

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

	/* WSA speaker reset pins */
	spkr_1_sd_n {
		spkr_1_sd_n_sleep: spkr_1_sd_n_sleep {