[PATCH v4 03/12] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger

From: Paul Sajna

Date: Tue Nov 25 2025 - 03:14:31 EST


From: Christopher Brown <crispybrown@xxxxxxxxx>

Values based on lineageos kernel

https://github.com/LineageOS/android_kernel_lge_sdm845/blob/lineage-22.2/arch/arm64/boot/dts/lge/sdm845-battery/LGE_BLT39_LGC_3000mAh.dtsi

Signed-off-by: Christopher Brown <crispybrown@xxxxxxxxx>
Signed-off-by: Paul Sajna <sajattack@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index e530a08f5e27..fa048937e396 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -37,6 +37,14 @@ key-thinq {
interrupts = <89 IRQ_TYPE_LEVEL_LOW>;
};
};
+
+ battery: battery {
+ compatible = "simple-battery";
+
+ charge-full-design-microamp-hours = <3000000>;
+ voltage-min-design-microvolt = <3200000>;
+ voltage-max-design-microvolt = <4400000>;
+ };
};

&adsp_pas {
@@ -63,6 +71,12 @@ &mss_pil {
firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
};

+&pmi8998_charger {
+ status = "okay";
+
+ monitored-battery = <&battery>;
+};
+
&tlmm {
thinq_key_default: thinq-key-default-state {
pins = "gpio89";

--
2.52.0