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

Commit d92e13ba authored by Umang Chheda's avatar Umang Chheda Committed by Chetan C R
Browse files

ARM: dts: msm: Add regulators for PM660

Add smpa1, smpa2, smpa3, ldoa16 and ldoa18 regulators for PM660.
Also add "qcom,hpm-min-load" DT property for all the regulators.

Change-Id: I6e4eeca92f80838c22ab22934b576fc834d47034
parent 2344a582
Loading
Loading
Loading
Loading
+101 −0
Original line number Diff line number Diff line
&rpm_bus {
	rpm-regulator-smpa1 {
		compatible = "qcom,rpm-smd-regulator-resource";
		qcom,resource-name = "smpa";
		qcom,resource-id = <1>;
		qcom,regulator-type = <1>;
		qcom,hpm-min-load = <100000>;
		status = "disabled";

		regulator-s1 {
			compatible = "qcom,rpm-smd-regulator";
			regulator-name = "pm660_s1";
			qcom,set = <3>;
			status = "disabled";
		};
	};

	rpm-regulator-smpa2 {
		compatible = "qcom,rpm-smd-regulator-resource";
		qcom,resource-name = "smpa";
		qcom,resource-id = <2>;
		qcom,regulator-type = <1>;
		qcom,hpm-min-load = <100000>;
		status = "disabled";

		regulator-s2 {
			compatible = "qcom,rpm-smd-regulator";
			regulator-name = "pm660_s2";
			qcom,set = <3>;
			status = "disabled";
		};
	};

	rpm-regulator-smpa3 {
		compatible = "qcom,rpm-smd-regulator-resource";
		qcom,resource-name = "smpa";
		qcom,resource-id = <3>;
		qcom,regulator-type = <1>;
		qcom,hpm-min-load = <100000>;
		status = "disabled";

		regulator-s3 {
			compatible = "qcom,rpm-smd-regulator";
			regulator-name = "pm660_s3";
			qcom,set = <3>;
			status = "disabled";
		};
	};

	rpm-regulator-smpa4 {
		compatible = "qcom,rpm-smd-regulator-resource";
		qcom,resource-name = "smpa";
		qcom,resource-id = <4>;
		qcom,regulator-type = <1>;
		qcom,hpm-min-load = <100000>;
		status = "disabled";

		regulator-s4 {
@@ -19,6 +68,7 @@
		qcom,resource-name = "smpa";
		qcom,resource-id = <5>;
		qcom,regulator-type = <1>;
		qcom,hpm-min-load = <100000>;
		status = "disabled";

		regulator-s5 {
@@ -34,6 +84,7 @@
		qcom,resource-name = "smpa";
		qcom,resource-id = <6>;
		qcom,regulator-type = <1>;
		qcom,hpm-min-load = <100000>;
		status = "disabled";

		regulator-s6 {
@@ -50,6 +101,7 @@
		qcom,resource-id = <1>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l1 {
@@ -66,6 +118,7 @@
		qcom,resource-id = <2>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l2 {
@@ -82,6 +135,7 @@
		qcom,resource-id = <3>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l3 {
@@ -98,6 +152,7 @@
		qcom,resource-id = <5>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l5 {
@@ -114,6 +169,7 @@
		qcom,resource-id = <6>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l6 {
@@ -130,6 +186,7 @@
		qcom,resource-id = <7>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l7 {
@@ -146,6 +203,7 @@
		qcom,resource-id = <8>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l8 {
@@ -162,6 +220,7 @@
		qcom,resource-id = <9>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l9 {
@@ -178,6 +237,7 @@
		qcom,resource-id = <10>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l10 {
@@ -194,6 +254,7 @@
		qcom,resource-id = <11>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l11 {
@@ -210,6 +271,7 @@
		qcom,resource-id = <12>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l12 {
@@ -226,6 +288,7 @@
		qcom,resource-id = <13>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l13 {
@@ -242,6 +305,7 @@
		qcom,resource-id = <14>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l14 {
@@ -258,6 +322,7 @@
		qcom,resource-id = <15>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l15 {
@@ -268,12 +333,30 @@
		};
	};

	rpm-regulator-ldoa16 {
		compatible = "qcom,rpm-smd-regulator-resource";
		qcom,resource-name = "ldoa";
		qcom,resource-id = <16>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l16 {
			compatible = "qcom,rpm-smd-regulator";
			regulator-name = "pm660_l16";
			qcom,set = <3>;
			status = "disabled";
		};
	};

	rpm-regulator-ldoa17 {
		compatible = "qcom,rpm-smd-regulator-resource";
		qcom,resource-name = "ldoa";
		qcom,resource-id = <17>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l17 {
@@ -284,12 +367,30 @@
		};
	};

	rpm-regulator-ldoa18 {
		compatible = "qcom,rpm-smd-regulator-resource";
		qcom,resource-name = "ldoa";
		qcom,resource-id = <18>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l18 {
			compatible = "qcom,rpm-smd-regulator";
			regulator-name = "pm660_l18";
			qcom,set = <3>;
			status = "disabled";
		};
	};

	rpm-regulator-ldoa19 {
		compatible = "qcom,rpm-smd-regulator-resource";
		qcom,resource-name = "ldoa";
		qcom,resource-id = <19>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		status = "disabled";

		regulator-l19 {