On Sun, Sep 28, 2025 at 10:05:26PM -0700, 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 | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts 
> b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> index 
> f91578ce7195dc3bfd1ba0a722fb48f950816246..df65b0e32b195d2f668883542cfcabbb9bde8204
>  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 {
> @@ -57,6 +65,11 @@ &mss_pil {
>       firmware-name = "qcom/sdm845/judyln/mba.mbn", 
> "qcom/sdm845/judyln/modem.mbn";
>  };
>  
> +&pmi8998_charger {
> +     status = "okay";
> +     monitored-battery = <&battery>;

Could you please move status after all other properties and insert an
empty line before it?

> +};
> +
>  &tlmm {
>       thinq_key_default: thinq-key-default-state {
>               pins = "gpio89";
> 
> -- 
> 2.51.0
> 

-- 
With best wishes
Dmitry

Reply via email to