[PATCH v2 0/3] pm8916: Add BMS and charger

From: Nikita Travkin
Date: Mon Oct 23 2023 - 02:21:26 EST


This series enables VM-BMS and LBC blocks in the pm8916 pmic.

The VM-BMS is a simple voltage monitoring block that allows the software
to estimate the battery capacity left.

The LBC is a linear battery charger for lipo batteries.

Add both devices to the pmic dtsi and enable them for Longcheer L8150
which makes use of them.

Signed-off-by: Nikita Travkin <nikita@xxxxxxx>
---
Changes in v2:
- No changes - resend with minor commit message edits.
- Link to v1: https://lore.kernel.org/r/20230916-pm8916-dtsi-bms-lbc-v1-0-7db0b42f9fb1@xxxxxxx

---
Nikita Travkin (3):
dt-bindings: mfd: qcom,spmi-pmic: Add pm8916 vm-bms and lbc
arm64: dts: qcom: pm8916: Add BMS and charger
arm64: dts: qcom: msm8916-longcheer-l8150: Add battery and charger

.../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 6 +++
.../boot/dts/qcom/msm8916-longcheer-l8150.dts | 43 ++++++++++++++++---
arch/arm64/boot/dts/qcom/pm8916.dtsi | 48 ++++++++++++++++++++++
3 files changed, 91 insertions(+), 6 deletions(-)
---
base-commit: 2030579113a1b1b5bfd7ff24c0852847836d8fd1
change-id: 20230916-pm8916-dtsi-bms-lbc-2fb1b99d1eb2

Best regards,
--
Nikita Travkin <nikita@xxxxxxx>