dt-bindings: power: supply: Extend max17040 compatibility
authorIskren Chernev <iskren.chernev@gmail.com>
Tue, 22 Sep 2020 11:42:33 +0000 (14:42 +0300)
committerSebastian Reichel <sre@kernel.org>
Sat, 3 Oct 2020 17:12:00 +0000 (19:12 +0200)
commit11a2bdc10f5b5e092ee84f8dc2966c78471909fd
tree393b4deab4f6190615dd56f721671d78de681abf
parent6455a8a84bdfd34829d23328b9d106c2652885f2
dt-bindings: power: supply: Extend max17040 compatibility

Maxim max17040 is a fuel gauge from a larger family utilising the Model
Gauge technology. Document all different compatible strings that the
max17040 driver recognizes.

Some devices in the wild report double the capacity. The
maxim,double-soc (from State-Of-Charge) property fixes that.
Examples: https://lore.kernel.org/patchwork/patch/1263411/#1468420

Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/supply/max17040_battery.txt