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

Commit 1b922bdb authored by Mohan Pallaka's avatar Mohan Pallaka
Browse files

ARM: dts: msm: update pinctrl for touch gpios in msmcobalt



Split pinctrl settings for touch irq (msmgpio 125) and
reset (msmgpio 89) to allow finer control granularity.
Reset gpio can be pulled down in suspend to avoid power
leakage.

Change-Id: I424054dda82f954fdeef18d78cf90aaa33a97b18
Signed-off-by: default avatarMohan Pallaka <mpallaka@codeaurora.org>
parent 9e4b3ba4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@
		synaptics,avdd-current = <20000>;
		pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
		pinctrl-0 = <&ts_active>;
		pinctrl-1 = <&ts_suspend>;
		pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
		synaptics,display-coords = <0 0 1439 2559>;
		synaptics,panel-coords = <0 0 1439 2559>;
		synaptics,reset-gpio = <&tlmm 89 0x00>;
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@
		synaptics,avdd-current = <20000>;
		pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
		pinctrl-0 = <&ts_active>;
		pinctrl-1 = <&ts_suspend>;
		pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
		synaptics,display-coords = <0 0 1439 2559>;
		synaptics,panel-coords = <0 0 1439 2559>;
		synaptics,reset-gpio = <&tlmm 89 0x00>;
+16 −3
Original line number Diff line number Diff line
@@ -1465,18 +1465,31 @@
				};
			};

			ts_suspend: ts_suspend {
			ts_reset_suspend: ts_reset_suspend {
				mux {
					pins = "gpio89", "gpio125";
					pins = "gpio89";
					function = "gpio";
				};

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

			ts_int_suspend: ts_int_suspend {
				mux {
					pins = "gpio125";
					function = "gpio";
				};

				config {
					pins = "gpio125";
					drive-strength = <2>;
					bias-disable;
				};
			};
		};

		sdc2_clk_on: sdc2_clk_on {