This is the 6th version of patch. Changelog: - v2: reworked voltage computing to not overflow and keep precision - v3: update devicetree binding documentation - v4: add ltc2942 devicetree compatible - v5: reworked to incorporate Dragos' LTC2944 patch - v6: fix missing break in the switch statement, move LTC2942 and LTC2944 id definitions into respective patches LTC2942 is pin compatible with LTC2941 providing few more registers holding information about battery voltage and temperature. It can be runtime detected using bit A7 in the Status register. LTC2944 is compatible with LTC2943, but uses different voltage and current computing constants. Comments welcome, ladis -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html