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

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

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

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

Change-Id: I402e059641f6bbd0d561e9400d3f74364c88504b
parent 8bdf58f3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -35,10 +35,13 @@

		perst-gpio = <&tlmm 79 0>;
		wake-gpio = <&tlmm 81 0>;
		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>;

		gdsc-vdd-supply = <&pcie_0_gdsc>;
		vreg-1p8-supply = <&pm8150_l9>;
+13 −0
Original line number Diff line number Diff line
@@ -718,6 +718,19 @@
					bias-pull-up;
				};
			};

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

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

		pcie1 {