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

Commit b7535c76 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

ARM: msm: dts: Add BCL peripheral configs for MSM8994



Add the configs required for the BCL peripheral exposed
by the PMI8994 PMIC.

Change-Id: Ieadb86d18789f1fad2e2781172e29446124fef07
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent ce7cdedc
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -117,6 +117,25 @@
			};
		};

		bcl@4200 {
			compatible = "qcom,msm-bcl";
			reg = <0x4200 0xFF>;
			interrupts = <0x2 0x42 0x0>,
					<0x2 0x42 0x1>;
			interrupt-names = "bcl-high-ibat-int",
					"bcl-low-vbat-int";
			qcom,vbat-scaling-factor = <39000>;
			qcom,vbat-gain-numerator = <1>;
			qcom,vbat-gain-denominator = <32>;
			qcom,vbat-polling-delay-ms = <50>;
			qcom,ibat-scaling-factor = <39000>;
			qcom,ibat-gain-numerator = <1>;
			qcom,ibat-gain-denominator = <32>;
			qcom,ibat-offset-numerator = <1200>;
			qcom,ibat-offset-denominator = <1>;
			qcom,ibat-polling-delay-ms = <50>;
		};

		pmi8994_vadc: vadc@3100 {
			compatible = "qcom,qpnp-vadc";
			reg = <0x3100 0x100>;