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

Commit 298144aa authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

ARM: dts: msm: Add EPM device for MSM8994 Liquid



EPM (Embedded power measurement) is used for collecting
current measurement.

Change-Id: I1dd010943ad0c4d0095ec133168f2d2fc27f24e8
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 1519f843
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -838,3 +838,23 @@
              };
       };
};

&spi_epm {
	epm-adc@1 {
		compatible = "cy,epm-adc-cy8c5568lti-114";
		reg = <1>;
		interrupt-parent = <&msm_gpio>;
		spi-max-frequency = <960000>;
		qcom,channels = <31>;
		qcom,gain = <50 50 50 50 50 100 50 100 50 50
				100 50 50 50 50 50 50 50 50 50
				50 50 50 100 50 50 50 1 1 1
				1>;
		qcom,rsense = <50 100 500 10 25 1000 40 200 200 5
				500 500 75 10 5 25 33 75 25 200
				10 25 33 100 10 10 3 1000 1000 1000
				1000>;
		qcom,channel-type = <0xf0000000>;
		qcom,epm-enable-gpio = <&msm_gpio 41 0>;
	};
};