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

Commit 71157fb4 authored by Shreyas K K's avatar Shreyas K K
Browse files

ARM64: dts: msm: Add wakeup support for sdx-ext-ipc devices



Remote SoC needs to be waken up before initiating any
transport layer interface (like USB, PCIe). Add two GPIOs
(to the AP and modem) to handle to and fro of the wakeable
interrupts.

Change-Id: Id9d667e4beeb6d10662575120594cce42e7179d6
Signed-off-by: default avatarShreyas K K <shrekk@codeaurora.org>
parent 779861c7
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -24,6 +24,19 @@
			output-high;
		};
	};

	wakeup_gpio_default: wakeup_gpio_default {
		mux {
			pins = "gpio79";
			function = "gpio";
		};

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

&pcie0_perst_default {
@@ -167,6 +180,15 @@
			};
		};
	};

	sdx_ext_ipc: qcom,sdx_ext_ipc {
		compatible = "qcom,sdx-ext-ipc";
		qcom,wakeup-gpio-in = <&tlmm 14 0x00>;
		qcom,wakeup-gpio-out = <&tlmm 79 0x00>;
		pinctrl-names = "default";
		pinctrl-0 = <&wakeup_gpio_default>;
	};

};

&thermal_zones {
+13 −0
Original line number Diff line number Diff line
@@ -1685,5 +1685,18 @@
				bias-pull-down;
			};
		};

		wakeup_gpio_default: wakeup_gpio_default {
			mux {
				pins = "gpio22";
				function = "gpio";
			};

			config {
				pins = "gpio22";
				drive-strength = <2>;
				bias-pull-down;
			};
		};
	};
};
+4 −0
Original line number Diff line number Diff line
@@ -1596,6 +1596,10 @@
		qcom,status-in-gpio = <&tlmm 64 0x00>;
		qcom,status-out-gpio = <&tlmm 63 0x00>;
		qcom,status-out2-gpio = <&tlmm 66 0x00>;
		qcom,wakeup-gpio-in = <&tlmm 87 0x00>;
		qcom,wakeup-gpio-out = <&tlmm 22 0x00>;
		pinctrl-names = "default";
		pinctrl-0 = <&wakeup_gpio_default>;
		status = "disabled";
	};
};