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

Commit 81a0dde7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents e8e3ae07 93c634d9
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 {