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

Commit caee06cc authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

ARM: dts: msm: Specify AMOLED regulator device for SM8150 QRD



Add AMOLED regulator device that controls OLEB/AB/IBB modules
which powers the triple supply needed for AMOLED panels. Enable
the device for SM8150 QRD.

Change-Id: Ied3b6eacf8eac8694c4e77fa8ea2e06de74f8260
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent a6c1cf75
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -384,6 +384,38 @@
				linux,default-trigger = "timer";
			};
		};

		pm8150a_amoled: qcom,amoled {
			compatible = "qcom,qpnp-amoled-regulator";
			status = "disabled";

			oledb_vreg: oledb@e000 {
				reg = <0xe000 0x100>;
				reg-names = "oledb_base";
				regulator-name = "oledb";
				regulator-min-microvolt = <4925000>;
				regulator-max-microvolt = <8100000>;
				qcom,swire-control;
			};

			ab_vreg: ab@de00 {
				reg = <0xde00 0x100>;
				reg-names = "ab_base";
				regulator-name = "ab";
				regulator-min-microvolt = <4600000>;
				regulator-max-microvolt = <6100000>;
				qcom,swire-control;
			};

			ibb_vreg: ibb@dc00 {
				reg = <0xdc00 0x100>;
				reg-names = "ibb_base";
				regulator-name = "ibb";
				regulator-min-microvolt = <800000>;
				regulator-max-microvolt = <5400000>;
				qcom,swire-control;
			};
		};
	};
};

+4 −0
Original line number Diff line number Diff line
@@ -59,6 +59,10 @@
	qcom,fg-esr-cal-temp-thresh = <10 40>;
};

&pm8150a_amoled {
	status = "ok";
};

&soc {
	gpio_keys {
		compatible = "gpio-keys";