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

Commit 37394e91 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

ARM: dts: msm: Add VADC channel nodes on PM855B



Add VADC channel node to read SMB1390 and SMB1355 thermistor
from PM855b VADC_USR peripheral.

Change-Id: I4ebbbeb5bae98a41104fc2a6ba487d7cf51f9a39
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 6ecb7c9c
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -125,6 +125,21 @@
				label = "v_i_parallel_vbat_vdata";
				qcom,pre-scaling = <1 1>;
			};

			smb1390_therm {
				reg = <ADC_AMUX_THM2>;
				label = "smb1390_therm";
				qcom,hw-settle-time = <200>;
				qcom,pre-scaling = <1 1>;
			};

			smb1355_therm {
				reg = <ADC_AMUX_THM2_PU2>;
				label = "smb1355_therm";
				qcom,ratiometric;
				qcom,hw-settle-time = <200>;
				qcom,pre-scaling = <1 1>;
			};
		};

		pm855b_charger: qcom,qpnp-smb5 {
+0 −8
Original line number Diff line number Diff line
@@ -273,14 +273,6 @@
		qcom,pre-scaling = <1 1>;
	};

	smb_therm {
		reg = <ADC_AMUX_THM2_PU2>;
		label = "smb_therm";
		qcom,ratiometric;
		qcom,hw-settle-time = <200>;
		qcom,pre-scaling = <1 1>;
	};

	vcoin {
		reg = <ADC_VCOIN>;
		label = "vcoin";
+0 −8
Original line number Diff line number Diff line
@@ -277,14 +277,6 @@
		qcom,pre-scaling = <1 1>;
	};

	smb_therm {
		reg = <ADC_AMUX_THM2_PU2>;
		label = "smb_therm";
		qcom,ratiometric;
		qcom,hw-settle-time = <200>;
		qcom,pre-scaling = <1 1>;
	};

	vcoin {
		reg = <ADC_VCOIN>;
		label = "vcoin";
+0 −8
Original line number Diff line number Diff line
@@ -243,14 +243,6 @@
		qcom,pre-scaling = <1 1>;
	};

	smb_therm {
		reg = <ADC_AMUX_THM2_PU2>;
		label = "smb_therm";
		qcom,ratiometric;
		qcom,hw-settle-time = <200>;
		qcom,pre-scaling = <1 1>;
	};

	vcoin {
		reg = <ADC_VCOIN>;
		label = "vcoin";