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

Commit 93c634d9 authored by David Keitel's avatar David Keitel
Browse files

ARM64: dts: qcom: add device nodes for qcom,qpnp-fg



Add the relevant device nodes for the fuel gauge driver.

Change-Id: Iad442fbaeab71b55ae0042a9bc16125c8984b87e
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 81101090
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
@@ -236,6 +236,45 @@
							"otst3";
			};
		};

		pmi8994_fg: qcom,fg {
			spmi-dev-container;
			compatible = "qcom,qpnp-fg";
			#address-cells = <1>;
			#size-cells = <1>;
			status = "okay";

			qcom,fg-soc@4000 {
				status = "okay";
				reg = <0x4000 0x100>;
				interrupts =	<0x2 0x40 0x0>,
						<0x2 0x40 0x1>,
						<0x2 0x40 0x2>,
						<0x2 0x40 0x3>,
						<0x2 0x40 0x4>,
						<0x2 0x40 0x5>,
						<0x2 0x40 0x6>,
						<0x2 0x40 0x7>;

				interrupt-names =	"high-soc",
							"low-soc",
							"full-soc",
							"empty-soc",
							"delta-soc",
							"first-est-done",
							"sw-fallbk-ocv",
							"sw-fallbk-new-battrt-sts",
							"fg-soc-irq-count";
			};

			qcom,fg-adc-vbat@4254 {
				reg = <0x4254 0x1>;
			};

			qcom,fg-adc-ibat@4255 {
				reg = <0x4255 0x1>;
			};
		};
	};

	qcom,pmi8994@3 {