mirror of
https://github.com/torvalds/linux.git
synced 2026-10-13 05:41:02 +02:00
arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger
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@gmail.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Paul Sajna <sajattack@postmarketos.org> Link: https://lore.kernel.org/r/20260331-judyln-dts-v7-7-87217b15fefb@postmarketos.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
e746ed5af3
commit
995c258982
|
|
@ -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 {
|
||||
|
|
@ -67,6 +75,12 @@ &mss_pil {
|
|||
firmware-name = "qcom/sdm845/LG/judyln/mba.mbn", "qcom/sdm845/LG/judyln/modem.mbn";
|
||||
};
|
||||
|
||||
&pmi8998_charger {
|
||||
monitored-battery = <&battery>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
thinq_key_default: thinq-key-default-state {
|
||||
pins = "gpio89";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user