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

Commit 4c1a2a76 authored by Rohit Vaswani's avatar Rohit Vaswani
Browse files

ARM: dts: msm: fix dt entry of gdsc_vdd-supply for fsm9900



Recent change in pcie driver causes a mismatch of entry name between pcie
driver and fsm9900 device tree entry.  This patch fixes the mismatch.

Further more, this patch enables support of two PCIe Root Complex.

The gdsc_pcie_0 and gdsc_pcie_1 regulators are disabled. Dummy regulators
are used, since gdsc is not a collapsible domain in fsm9900.

pcie0_power_en_vreg and pcie1_power_en_vreg are set with regulator-boot-on
option, same as 8084 wlan_vreg.

Change-Id: I496c3584309f0fd3d387a3a61670f8b24cebe491
Acked-by: default avatarChemin Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
parent 02983880
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -271,6 +271,7 @@
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&pma8084_gpios 16 0>;
		regulator-boot-on;
	};
	pcie1_power_en_vreg: pcie1_power_en_vreg {
		compatible = "regulator-fixed";
@@ -278,5 +279,6 @@
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&pma8084_gpios 22 0>;
		regulator-boot-on;
	};
};
+4 −5
Original line number Diff line number Diff line
@@ -1175,7 +1175,7 @@
		wake-gpio = <&msmgpio 35 0>;
		clkreq-gpio = <&msmgpio 32 0>;

		gdsc_vdd-supply = <&gdsc_pcie_0>;
		gdsc-vdd-supply = <&gdsc_pcie_0>;
		vreg-1.8-supply = <&pma8084_l12>;
		vreg-0.9-supply = <&pma8084_l3>;
		vreg-3.3-supply = <&pcie0_power_en_vreg>;
@@ -1190,7 +1190,6 @@
	};

	pcie1: qcom,pcie@fc528000 {
		status = "disabled";
		compatible = "qcom,msm_pcie";
		cell-index = <1>;
		qcom,ctrl-amt = <1>;
@@ -1234,7 +1233,7 @@
		wake-gpio = <&msmgpio 141 0>;
		clkreq-gpio = <&msmgpio 28 0>;

		gdsc_vdd-supply = <&gdsc_pcie_1>;
		gdsc-vdd-supply = <&gdsc_pcie_1>;
		vreg-1.8-supply = <&pma8084_l12>;
		vreg-0.9-supply = <&pma8084_l3>;
		vreg-3.3-supply = <&pcie1_power_en_vreg>;
@@ -1250,11 +1249,11 @@
};

&gdsc_pcie_0{
	status = "ok";
	status = "disabled";
};

&gdsc_pcie_1{
	status = "ok";
	status = "disabled";
};

#include "msm-pma8084.dtsi"