mbox series

[v1,0/4] power: supply: add support for Pegatron Chagall battery

Message ID 20250323071424.48779-1-clamor95@gmail.com
Headers show
Series power: supply: add support for Pegatron Chagall battery | expand

Message

Svyatoslav Ryhel March 23, 2025, 7:14 a.m. UTC
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.

Svyatoslav Ryhel (4):
  dt-bindings: vendor-prefixes: add prefix for Pegatron Corporation
  dt-bindings: mfd: Document Infineon/Cypress CG7153AM MCU
  power/supply: Add driver for Pegatron Chagall battery
  ARM: tegra: chagall: Add embedded controller node

 .../bindings/mfd/cypress,cg7153am.yaml        |  55 ++++
 .../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, 394 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/cypress,cg7153am.yaml
 create mode 100644 drivers/power/supply/chagall-battery.c