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

Commit e63430b0 authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

ARM: dts: msm: add nvmem cell for PMK8350 SDAM23 adc scaling

Add a nvmem cell for adc scaling within PMK8350 SDAM127 for yupik.
This is used by clients to read the type of ADC scaling used for ibat.

Change-Id: I1978fcf5ca18dd878da20bdacaf7d8d3c643d199
parent 395981c2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -226,6 +226,13 @@
			reg = <0x8500>;
		};

		pmk8350_sdam_23: sdam@8600 {
			compatible = "qcom,spmi-sdam";
			reg = <0x8600>;
			#address-cells = <1>;
			#size-cells = <1>;
		};

		pmk8350_sdam_46: sdam@9d00 {
			compatible = "qcom,spmi-sdam";
			reg = <0x9d00>;
+7 −0
Original line number Diff line number Diff line
@@ -148,6 +148,13 @@
	reg = <9 SPMI_USID>;
};

&pmk8350_sdam_23 {
	adc_scaling: scaling@bf {
		reg = <0xbf 0x1>;
		bits = <0 2>;
	};
};

&pm7250b_vadc {
	interrupts = <0x8 0x31 0x0 IRQ_TYPE_EDGE_RISING>;