power: supply: add support for Pegatron Chagall battery
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 4 repliesApplied
- v24 patches 5 repliesSuperseded
- v14 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- status update handled via default-trigger
- chagall_battery_prop_offs sorted by chagall_battery_properties
- separated status logic into chagall_battery_get_status helper
- removed controversial POWER_SUPPLY_STATUS_NOT_CHARGING use
- code formatting improvemets
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dt-bindings: vendor-prefixes: add prefix for Pegatron CorporationDocumentation/ | +2 | 0 replies | |
| 2/4 | dt-bindings: power: supply: Document Pegatron Chagall fuel gaugeDocumentation/ | +49 | 0 replies | |
| 3/4 | power: supply: Add driver for Pegatron Chagall batterydrivers/ drivers/ drivers/ | +304 | 2 replies | |
| 4/4 | ARM: tegra: chagall: Add embedded controller nodearch/ | +16 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring (Arm) |
|---|---|
| 1/4 | A-b |
| 2/4 | R-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] power: supply: add support for Pegatron Chagall battery
The Pegatron Chagall is an Android tablet utilizing a customized Cypress CG7153AM microcontroller (MCU) as its battery fuel gauge. It supports a single-cell battery and features a dual-color charging LED.
---
Changes in v3:
- status update handled via default-trigger
- chagall_battery_prop_offs sorted by chagall_battery_properties
- separated status logic into chagall_battery_get_status helper
- removed controversial POWER_SUPPLY_STATUS_NOT_CHARGING use
- code formatting improvemets
Changes in v2:
- removed CG7153AM mentions in code, documentation and commit messages
- moved schema to power/supply
- left only pegatron,chagall compatible, other is dropped
---
Svyatoslav Ryhel (4):
dt-bindings: vendor-prefixes: add prefix for Pegatron Corporation
dt-bindings: power: supply: Document Pegatron Chagall fuel gauge
power: supply: Add driver for Pegatron Chagall battery
ARM: tegra: chagall: Add embedded controller node
.../power/supply/pegatron,chagall-ec.yaml | 49 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + .../dts/nvidia/tegra30-pegatron-chagall.dts | 16 + drivers/power/supply/Kconfig | 12 + drivers/power/supply/Makefile | 1 + drivers/power/supply/chagall-battery.c | 291 ++++++++++++++++++ 6 files changed, 371 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/pegatron,chagall-ec.yaml create mode 100644 drivers/power/supply/chagall-battery.c
Signature · 1 line
2.48.1