diff options
| author | Alexey Charkov <alchark@flipper.net> | 2026-10-02 16:02:55 +0400 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-10-04 18:23:41 +0200 |
| commit | 5d32ee3bff8bc943095d04e801e1b45f1c695753 (patch) | |
| tree | 1e688f80f20a3d1fa2f155f8d1d0a27ca06d3ceb /include/linux | |
| parent | 5526d100dd4785bb41793fb758defe24e14f61ab (diff) | |
power: supply: bq27xxx: add support for BQ28Z620
Match the BQ28Z620 under its own chip ID so that code touching its
relocated data flash can tell it apart from the BQ28Z610. Reuse the
BQ28Z610 register map and properties, as the standard commands the
driver reads are unchanged.
Keep the 10 mW scaling of AveragePower() even though the BQ28Z620 TRM
lists it in mW: readings on hardware match V * I only in 10 mW units.
Signed-off-by: Alexey Charkov <alchark@flipper.net>
Link: https://patch.msgid.link/20261002-bq28z620-v1-2-bdcc10d42519@flipper.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/power/bq27xxx_battery.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power/bq27xxx_battery.h b/include/linux/power/bq27xxx_battery.h index 0b833c4bb583..731ea837aac3 100644 --- a/include/linux/power/bq27xxx_battery.h +++ b/include/linux/power/bq27xxx_battery.h @@ -35,6 +35,7 @@ enum bq27xxx_chip { BQ27Z561, BQ27Z746, BQ28Z610, + BQ28Z620, BQ34Z100, BQ78Z100, }; |
