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

Commit 2d6bacdb authored by Tony Truong's avatar Tony Truong
Browse files

ARM: dts: msm: add sleep state for PCIe WAKE for msm8998



When PCIe RC powers down, WAKE gpio should switch from
default to sleep settings. Add the sleep state for
PCIe for msm8998.

Change-Id: I6098540e380ea74fd16bec1e87519f7cd17271a9
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 16c16692
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -585,6 +585,19 @@
					bias-pull-down;
				};
			};

			pcie0_wake_sleep: pcie0_wake_sleep {
				mux {
					pins = "gpio37";
					function = "gpio";
				};

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

		hph_en0_ctrl {
+4 −1
Original line number Diff line number Diff line
@@ -2661,10 +2661,13 @@
					0x800 0x00 0x00
					0x808 0x03 0x00>;

		pinctrl-names = "default";
		pinctrl-names = "default", "sleep";
		pinctrl-0 = <&pcie0_clkreq_default
			&pcie0_perst_default
			&pcie0_wake_default>;
		pinctrl-1 = <&pcie0_clkreq_default
			&pcie0_perst_default
			&pcie0_wake_sleep>;

		perst-gpio = <&tlmm 35 0>;
		wake-gpio = <&tlmm 37 0>;