[PATCH v2 0/4] power: supply: add support for Pegatron Chagall battery
From: Svyatoslav Ryhel
Date: Sun Apr 13 2025 - 07:11:06 EST
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 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 | 308 ++++++++++++++++++
6 files changed, 388 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/supply/pegatron,chagall-ec.yaml
create mode 100644 drivers/power/supply/chagall-battery.c
--
2.43.0