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

Commit 3dc1eb32 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

ARM: dts: msm: Add batt-pres-status node to MSM QPNP-BMS devices



Add the bat_pres_status nodes to the qpnp-bms device node in order to
know whether the battery has been removed when the device is powered
off.

Change-Id: I2b71d9c8380a87b3f5b9871d5e42ba3e483cab05
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent fee95737
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -333,6 +333,10 @@
			qcom,bms-iadc = <&pm8110_iadc>;
			qcom,bms-iadc = <&pm8110_iadc>;
			qcom,bms-adc_tm = <&pm8110_adc_tm>;
			qcom,bms-adc_tm = <&pm8110_adc_tm>;


			qcom,batt-pres-status@1208 {
				reg = <0x1208 0x1>;
			};

			qcom,bms-iadc@3800 {
			qcom,bms-iadc@3800 {
				reg = <0x3800 0x100>;
				reg = <0x3800 0x100>;
			};
			};
+4 −0
Original line number Original line Diff line number Diff line
@@ -207,6 +207,10 @@
			qcom,bms-iadc = <&pm8226_iadc>;
			qcom,bms-iadc = <&pm8226_iadc>;
			qcom,bms-adc_tm = <&pm8226_adc_tm>;
			qcom,bms-adc_tm = <&pm8226_adc_tm>;


			qcom,batt-pres-status@1208 {
				reg = <0x1208 0x1>;
			};

			qcom,bms-iadc@3800 {
			qcom,bms-iadc@3800 {
				reg = <0x3800 0x100>;
				reg = <0x3800 0x100>;
			};
			};
+4 −0
Original line number Original line Diff line number Diff line
@@ -138,6 +138,10 @@
		qcom,bms-iadc = <&pm8941_iadc>;
		qcom,bms-iadc = <&pm8941_iadc>;
		qcom,bms-adc_tm = <&pm8941_adc_tm>;
		qcom,bms-adc_tm = <&pm8941_adc_tm>;


		qcom,batt-pres-status@1208 {
			reg = <0x1208 0x1>;
		};

		qcom,bms-iadc@3800 {
		qcom,bms-iadc@3800 {
			reg = <0x3800 0x100>;
			reg = <0x3800 0x100>;
		};
		};