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

Commit 30859a8c authored by Umang Agrawal's avatar Umang Agrawal Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add PM8008 regulator for Lito

Include PM8008 regulator support for Lito target. While at it,
update the min/max and headromm voltages for the respective
PM8008 regulators.

Change-Id: Id6cf61e3185a8a8542da724767860d1bef7f9191
parent b993166f
Loading
Loading
Loading
Loading
+90 −0
Original line number Diff line number Diff line
@@ -2391,3 +2391,93 @@
#include "lito-qupv3.dtsi"
#include "lito-coresight.dtsi"
#include "lito-camera.dtsi"

&qupv3_se9_i2c {
	status = "ok";
	#include "pm8008.dtsi"
};

&tlmm {
	pm8008_active: pm8008_active {
		mux {
			pins = "gpio44";
			function = "gpio";
		};

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

&pm8008_gpios {
	gpio1_active {
		pm8008_gpio1_active: pm8008_gpio1_active {
			pins = "gpio1";
			function = "normal";
			power-source = <1>;
			bias-disable;
			input-enable;
		};
	};
};

&pm8008_chip {
	pinctrl-names = "default";
	pinctrl-0 = <&pm8008_active>;
};

&pm8008_regulators {
	vdd_l1_l2-supply = <&S8C>;
	vdd_l3_l4-supply = <&BOB>;
	vdd_l5-supply = <&BOB>;
	vdd_l6-supply = <&S5A>;
	vdd_l7-supply = <&S5A>;
};

&pm8008_9 {
	/* GPIO1 pinctrl config */
	pinctrl-names = "default";
	pinctrl-0 = <&pm8008_gpio1_active>;
};

&L1P {
	regulator-max-microvolt = <1056000>;
	qcom,min-dropout-voltage = <225000>;
};

&L2P {
	regulator-max-microvolt = <1104000>;
	qcom,min-dropout-voltage = <225000>;
};

&L3P {
	regulator-min-microvolt = <2800000>;
	regulator-max-microvolt = <2800000>;
	qcom,min-dropout-voltage = <136000>;
};

&L4P {
	regulator-min-microvolt = <2800000>;
	regulator-max-microvolt = <2904000>;
	qcom,min-dropout-voltage = <160000>;
};

&L5P {
	regulator-min-microvolt = <2800000>;
	regulator-max-microvolt = <2800000>;
	qcom,min-dropout-voltage = <300000>;
};

&L6P {
	regulator-max-microvolt = <1800000>;
	qcom,min-dropout-voltage = <184000>;
};

&L7P {
	regulator-max-microvolt = <1800000>;
	qcom,min-dropout-voltage = <200000>;
};