power: supply: s2mu005-battery: add S2MU106
Get series with b4
b4 am [email protected] change-id 20261125-s2mu106-fg-5e2fc4490cbeVersions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- binding: add the compatible to the enum, no s2mu005 fallback
- shorter commit messages
- Link to v1: https://lore.kernel.org/all/[email protected]/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: power: supply: samsung,s2mu005-fuel-gauge: add S2MU106Documentation/ | +1 | 0 replies | |
| 2/3 | power: supply: s2mu005-battery: make the alert interrupt optionaldrivers/ | +7 | 0 replies | |
| 3/3 | power: supply: s2mu005-battery: add S2MU106 supportdrivers/ | +52 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] power: supply: s2mu005-battery: add S2MU106
Add the Samsung S2MU106 fuel gauge (found on the Samsung Galaxy XCover5, Exynos850) to the s2mu005-battery driver. It has the same direct voltage, current and state-of-charge registers as the S2MU005 but no MONOUT averaging, so it gets its own compatible and match data. The XCover5 does not wire the gauge's alert line, hence patch 2.
This supersedes the standalone s2mu106-fuelgauge series [1], as asked by Kaustabh and Krzysztof.
[1] https://lore.kernel.org/all/[email protected]/
An AI coding assistant (Claude Code) helped compare the register maps and draft these patches. I reviewed and tested them on the device.
Changes in v2:
- binding: add the compatible to the enum, no s2mu005 fallback
- shorter commit messages
- Link to v1: https://lore.kernel.org/all/[email protected]/
---
Adil Hüsrev Tepe (3):
dt-bindings: power: supply: samsung,s2mu005-fuel-gauge: add S2MU106
power: supply: s2mu005-battery: make the alert interrupt optional
power: supply: s2mu005-battery: add S2MU106 support
.../power/supply/samsung,s2mu005-fuel-gauge.yaml | 1 + drivers/power/supply/s2mu005-battery.c | 71 ++++++++++++++++++---- 2 files changed, 59 insertions(+), 13 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261125-s2mu106-fg-5e2fc4490cbe
Best regards,
Signature · 1 line
Adil Hüsrev Tepe <[email protected]>