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

Commit ecd48ac0 authored by Tony Truong's avatar Tony Truong
Browse files

ARM: dts: msm: add sleep state for PCIe0 CLKREQ for sdxprairie



When PCIe0 core goes to D3, switch CLKREQ# to function 0
to prevent leakage on the external 10k pull-up for sdxprairie.

Change-Id: Ic2f10c64a32f2c1ee1692bde9a94e4ab66f36b21
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 9c34f5b7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -160,10 +160,13 @@
				0x1200 0x00 0x0
				0x1244 0x03 0x0>;

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

		perst-gpio = <&tlmm 57 0>;
		wake-gpio = <&tlmm 53 0>;
+13 −0
Original line number Diff line number Diff line
@@ -1433,6 +1433,19 @@
					bias-pull-up;
				};
			};

			pcie0_clkreq_sleep: pcie0_clkreq_sleep {
				mux {
					pins = "gpio56";
					function = "gpio";
				};

				config {
					pins = "gpio56";
					drive-strength = <2>;
					bias-pull-up;
				};
			};
		};

		pcie_ep {