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

Commit 5ef28ce5 authored by Jishnu Prakash's avatar Jishnu Prakash Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add parallel current channel for pmi632

Add VADC node for parallel current channel 0xA5 for pmi632.
Update the compatible string for pmi632.

Change-Id: Ie0d3f90d06be4bf28661736058c5d1fb2af1ac8f
parent ce37c4d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ ADC node:
    Value type: <string>
    Definition: Should contain "qcom,spmi-adc5" for PMIC5 ADC driver.
		Should contain "qcom,spmi-adc-rev2" for PMIC refresh ADC driver.
		Should contain "qcom,spmi-adc5-lite" for PMIC5 ADC-lite driver.

- reg:
    Usage: required for VADC base address
+7 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
		};

		pmi632_vadc: vadc@3100 {
			compatible = "qcom,spmi-adc5";
			compatible = "qcom,spmi-adc5-lite";
			reg = <0x3100 0x100>, <0x3700 0x100>;
			reg-names = "adc5-usr-base", "adc5-cal-base";
			#address-cells = <1>;
@@ -113,6 +113,12 @@
				qcom,pre-scaling = <1 1>;
			};

			i_parallel {
				reg = <ADC_PARALLEL_ISENSE>;
				label = "i_parallel";
				qcom,pre-scaling = <1 1>;
			};

			v_i_int_ext {
				reg = <ADC_INT_EXT_ISENSE_VBAT_VDATA>;
				label = "v_i_int_vbat_vdata";