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

Commit 1615203f authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

ARM: dts: msm: Add fixed regulators for select sdxlemur boards

Add fixed regulators that are used in the sdxlemur NTN3 and CPE boards.
Multiple regulator enables are tied to the same GPIO as follows:

- GPIO 105 connects to both 0.7V and 1V regulator enable    (AQR)
- GPIO 106 connects to both 1.05V and 1.8V regulator enable (QCA Napa)
- GPIO 107 connects to both 0.9 and 1V regulator enable     (NTN3)

For each of the regulators, the higher voltage has been selected for
advertising to consumers.

Change-Id: I77ce152345561d8ed6b1a668818c556db3f965af
parent e74cb183
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -2,7 +2,37 @@
#include "sdxlemur-mtp-audio-overlay.dtsi"

&soc {
	ntn3_vreg: ntn3_vreg {
		compatible = "regulator-fixed";
		regulator-name = "ntn3_vreg";
		gpio = <&tlmm 107 GPIO_ACTIVE_HIGH>;
		regulator-min-microvolt = <1000000>;
		regulator-max-microvolt = <1000000>;
		enable-active-high;
		regulator-enable-ramp-delay = <4300>;
	};

	qca_vreg: qca_vreg {
		compatible = "regulator-fixed";
		regulator-name = "qca_vreg";
		gpio = <&tlmm 106 GPIO_ACTIVE_HIGH>;
		vin-supply = <&ntn3_vreg>;
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		enable-active-high;
		regulator-enable-ramp-delay = <200000>;
	};

	aqr_vreg: aqr_vreg {
		compatible = "regulator-fixed";
		regulator-name = "aqr_vreg";
		gpio = <&tlmm 105 GPIO_ACTIVE_HIGH>;
		vin-supply = <&qca_vreg>;
		regulator-min-microvolt = <1000000>;
		regulator-max-microvolt = <1000000>;
		enable-active-high;
		regulator-enable-ramp-delay = <2400>;
	};
};

&pcie0 {
+20 −0
Original line number Diff line number Diff line
#include "sdxlemur-mtp-mbb.dtsi"

&soc {
	ntn3_vreg: ntn3_vreg {
		compatible = "regulator-fixed";
		regulator-name = "ntn3_vreg";
		gpio = <&tlmm 107 GPIO_ACTIVE_HIGH>;
		regulator-min-microvolt = <1000000>;
		regulator-max-microvolt = <1000000>;
		enable-active-high;
		regulator-enable-ramp-delay = <4300>;
	};

	aqr_vreg: aqr_vreg {
		compatible = "regulator-fixed";
		regulator-name = "aqr_vreg";
		gpio = <&tlmm 105 GPIO_ACTIVE_HIGH>;
		vin-supply = <&ntn3_vreg>;
		regulator-min-microvolt = <1000000>;
		regulator-max-microvolt = <1000000>;
		enable-active-high;
		regulator-enable-ramp-delay = <2400>;
	};

};