1 binding for LTC2941, LTC2942, LTC2943 and LTC2944 battery gauges
3 All chips measure battery capacity.
4 The LTC2942 is pin compatible with the LTC2941, it adds voltage and
5 temperature monitoring, and is runtime detected. LTC2943 and LTC2944
6 is software compatible, uses a slightly different conversion formula
7 for the charge counter and adds voltage, current and temperature monitoring.
10 - compatible: Should contain "lltc,ltc2941", "lltc,ltc2942", "lltc,ltc2943"
11 or "lltc,ltc2944" which also indicates the type of I2C chip attached.
12 - reg: The 7-bit I2C address.
13 - lltc,resistor-sense: The sense resistor value in milli-ohms. Can be a 32-bit
14 negative value when the battery has been connected to the wrong end of the
16 - lltc,prescaler-exponent: The prescaler exponent as explained in the datasheet.
17 This determines the range and accuracy of the gauge. The value is programmed
18 into the chip only if it differs from the current setting. The setting is
19 lost when the battery is disconnected.
21 Example from the Topic Miami Florida board:
23 fuelgauge: ltc2943@64 {
24 compatible = "lltc,ltc2943";
26 lltc,resistor-sense = <15>;
27 lltc,prescaler-exponent = <5>; /* 2^(2*5) = 1024 */