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