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

Commit 83d3bd35 authored by xiaolin's avatar xiaolin
Browse files

ARM: dts: Create the regulator VDD node for PCIE0



We use the gpio90 to control the VDD for PCIE0 but it causes the
wrong pin status. And we can use the regulator-fixed framework to
enable this VDD for PCIE0 and fixed the wrong pin status.

Change-Id: I26b419f95300c2334c3de575939197b47373cd70
Signed-off-by: default avatarxiaolin <xiaolin@codeaurora.org>
parent d80b9b5a
Loading
Loading
Loading
Loading
+12 −4
Original line number Original line Diff line number Diff line
@@ -98,10 +98,8 @@
};
};


&pcie0 {
&pcie0 {
	pinctrl-names = "default", "slot_power_on";
	vreg-pcie-supply = <&pcie_vcc_eldo>;
	pinctrl-1 = <&pcie0_3v3_on &pcie0_1v5_on>;
	qcom,vreg-pcie-voltage-level = <3300000 3300000 24000>;
	3v3_gpio = <&tlmm 90 0>;
	1v5_gpio = <&tlmm 90 0>;
	status = "ok";
	status = "ok";
};
};


@@ -250,6 +248,16 @@
		gpio = <&tlmm 89 0>;
		gpio = <&tlmm 89 0>;
		enable-active-high;
		enable-active-high;
	};
	};

	pcie_vcc_eldo: pcie-gpio-regulator@0 {
		compatible = "regulator-fixed";
		regulator-name = "pcie_vcc_eldo";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&tlmm 90 0>;
		enable-active-high;
	};

};
};


&qupv3_se10_i2c {
&qupv3_se10_i2c {