[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250919-qcom_battmgr_update_new-v6-0-ed5c38867614@oss.qualcomm.com>
Date: Fri, 19 Sep 2025 11:18:49 +0800
From: Fenglin Wu via B4 Relay <devnull+fenglin.wu.oss.qualcomm.com@...nel.org>
To: kernel@....qualcomm.com, Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Sebastian Reichel <sre@...nel.org>,
Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
Cc: Subbaraman Narayanamurthy <subbaraman.narayanamurthy@....qualcomm.com>,
David Collins <david.collins@....qualcomm.com>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
Fenglin Wu <fenglin.wu@....qualcomm.com>,
Neil Armstrong <neil.armstrong@...aro.org>,
Sebastian Reichel <sebastian.reichel@...labora.com>
Subject: [PATCH v6 0/2] power: supply: Add several features support in
qcom-battmgr driver
This continues the effort of updating changes which haven't been accepted
in patch v5. Including:
1. Add nvmem cells for x1-crd device to enable reading back charger
control threshold.
2. Add handling for notification 0x83 to avoid unexpected error messages.
Rebase the changes on linux-power-supply.git@...-next
Signed-off-by: Fenglin Wu <fenglin.wu@....qualcomm.com>
---
Changes in v6:
- Dropped patch[1-7] as they have been accepted and present in linux-power-supply.git@...-next.
- Formatted the commit text for easy reading, and correct the bit positions for the additional
notifications coming along with code 0x83.
- Added "Reported-by" trailer.
- Link to v5: https://lore.kernel.org/r/20250917-qcom_battmgr_update-v5-0-270ade9ffe13@oss.qualcomm.com
Changes in v5:
- Added additional explanation for "state_of_health" in ABI document as Sebastian suggested.
- Removed "Tested-by" trailers in the patches unrelated to charge control feature.
- Updated the copyright statement in qcom_battmgr.c according to the latest guidelines.
- In [PATCH v4 5/8], add "X1E80100" in the "if" variant checks to ensure
the correctness even if only this patch is applied.
- Format the entries for "nvmem-cells" DT properties.
- Add a new change at last to fix the error messages for unsupported notifications
- Link to v4: https://lore.kernel.org/r/20250915-qcom_battmgr_update-v4-0-6f6464a41afe@oss.qualcomm.com
---
Fenglin Wu (2):
arm64: dts: qcom: x1e80100-crd: Add charge limit nvmem
power: supply: qcom_battmgr: handle charging state change notifications
arch/arm64/boot/dts/qcom/x1-crd.dtsi | 7 +++++++
arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi | 20 ++++++++++++++++++++
drivers/power/supply/qcom_battmgr.c | 5 ++++-
3 files changed, 31 insertions(+), 1 deletion(-)
---
base-commit: cc3e883a06251ba835f15672dbe8724f2687971b
change-id: 20250918-qcom_battmgr_update_new-df15b34148ec
Best regards,
--
Fenglin Wu <fenglin.wu@....qualcomm.com>
Powered by blists - more mailing lists