On 11/25/25 9:12 AM, Paul Sajna wrote: > From: Christopher Brown <[email protected]> > > 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 <[email protected]> > Signed-off-by: Paul Sajna <[email protected]> > --- > 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>;
status should go last Reviewed-by: Konrad Dybcio <[email protected]> Konrad

