]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: qcom: msm8939-asus-z00t: add battery
authorErikas Bitovtas <xerikasxx@gmail.com>
Mon, 8 Dec 2025 14:59:20 +0000 (16:59 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sat, 3 Jan 2026 17:55:48 +0000 (11:55 -0600)
commit094a6bbe84d43f04485d565f8174af66d90eb6a7
treea506c479612215a89a1d0fb9c17c70608013e5db
parentba439ad9134c8b9ce033056c059cd161d30afec7
arm64: dts: qcom: msm8939-asus-z00t: add battery

This device tracks remaining battery capacity percentage using voltage
mode BMS. This commit enables the pm8916_bms node and adds a battery
node to track its capacity. Battery properties were taken from the
information printed on the battery itself and downstream device tree
for a battery named "nvt+atl_3000mah" [1]

[1] https://github.com/Asus-MSM8916/android_kernel_asus_msm8916/blob/10.x/arch/arm/boot/dts/qcom/ASUS_ZE550KL_1936167_3000mAh_3p4COV_VBMS_Final.dtsi

Signed-off-by: Erikas Bitovtas <xerikasxx@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251208-b4-battery-hall-v3-1-84e2157705a4@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8939-asus-z00t.dts