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

Commit da433f3f authored by Kiran Gunda's avatar Kiran Gunda Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: PMIIC regulator and platform update for shima

1. Reduce the min-voltage of L1I, L2I, L5I, L1J, L2J and L3J to
   align with the respective parent min-voltages to avoid the higher
   voltage vote during the LDO disable which leads to higher
   power numbers.
2. Change the min-voltage of SMPS9B as per the HW recommendation.
3. Disable PM8008 and flash led nodes for shima ATP as these are
   not supported for ATP platform.

Change-Id: I0b9aa510ec23a7a16b5cdc50bfd059ad0e4bc002
parent a589fdf7
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
#include "shima-idp.dtsi"

&pm8008i_chip {
	status = "disabled";
};

&pm8008i_ldo {
	status = "disabled";
};

&pm8008j_chip {
	status = "disabled";
};

&pm8008j_ldo {
	status = "disabled";
};

&pm8350c_flash {
	status = "disabled";
};
+10 −10
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@
	#size-cells = <0>;
	status = "ok";

	pm8008i@8 {
	pm8008i_chip: pm8008i@8 {
		compatible = "qcom,i2c-pmic";
		reg = <0x8>;
		#address-cells = <1>;
@@ -294,7 +294,7 @@
		};
	};

	pm8008i@9 {
	pm8008i_ldo: pm8008i@9 {
		compatible = "qcom,i2c-pmic";
		reg = <0x9>;
		#address-cells = <1>;
@@ -315,7 +315,7 @@
			L1I: pm8008i_l1: regulator@4000 {
				reg = <0x4000>;
				regulator-name = "pm8008i_l1";
				regulator-min-microvolt = <1000000>;
				regulator-min-microvolt = <224000>;
				regulator-max-microvolt = <1200000>;
				qcom,min-dropout-voltage = <225000>;
				qcom,hpm-min-load = <30000>;
@@ -324,7 +324,7 @@
			L2I: pm8008i_l2: regulator@4100 {
				reg = <0x4100>;
				regulator-name = "pm8008i_l2";
				regulator-min-microvolt = <950000>;
				regulator-min-microvolt = <264000>;
				regulator-max-microvolt = <1150000>;
				qcom,min-dropout-voltage = <184000>;
				qcom,hpm-min-load = <30000>;
@@ -349,7 +349,7 @@
			L5I: pm8008i_l5: regulator@4400 {
				reg = <0x4400>;
				regulator-name = "pm8008i_l5";
				regulator-min-microvolt = <1700000>;
				regulator-min-microvolt = <1544000>;
				regulator-max-microvolt = <1900000>;
				qcom,min-dropout-voltage = <152000>;
			};
@@ -372,7 +372,7 @@
		};
	};

	pm8008j@c {
	pm8008j_chip: pm8008j@c {
		compatible = "qcom,i2c-pmic";
		reg = <0xc>;
		#address-cells = <1>;
@@ -396,7 +396,7 @@
		};
	};

	pm8008j@d {
	pm8008j_ldo: pm8008j@d {
		compatible = "qcom,i2c-pmic";
		reg = <0xd>;
		#address-cells = <1>;
@@ -417,7 +417,7 @@
			L1J: pm8008j_l1: regulator@4000 {
				reg = <0x4000>;
				regulator-name = "pm8008j_l1";
				regulator-min-microvolt = <950000>;
				regulator-min-microvolt = <288000>;
				regulator-max-microvolt = <1150000>;
				qcom,min-dropout-voltage = <160000>;
				qcom,hpm-min-load = <30000>;
@@ -426,7 +426,7 @@
			L2J: pm8008j_l2: regulator@4100 {
				reg = <0x4100>;
				regulator-name = "pm8008j_l2";
				regulator-min-microvolt = <950000>;
				regulator-min-microvolt = <448000>;
				regulator-max-microvolt = <1150000>;
				qcom,min-dropout-voltage = <0>;
				qcom,hpm-min-load = <30000>;
@@ -435,7 +435,7 @@
			L3J: pm8008j_l3: regulator@4200 {
				reg = <0x4200>;
				regulator-name = "pm8008j_l3";
				regulator-min-microvolt = <1650000>;
				regulator-min-microvolt = <1592000>;
				regulator-max-microvolt = <1950000>;
				qcom,min-dropout-voltage = <56000>;
			};
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@
		pm8350_s9: regulator-pm8350-s9 {
			regulator-name = "pm8350_s9";
			qcom,set = <RPMH_REGULATOR_SET_ALL>;
			regulator-min-microvolt = <950000>;
			regulator-min-microvolt = <450000>;
			regulator-max-microvolt = <1500000>;
			qcom,init-voltage = <952000>;
		};