On Tue, Jul 11, 2017 at 03:00:20PM +0200, Ladislav Michl wrote: > LTC2942 is pin compatible with LTC2941 providing additional > informations about battery voltage and temperature. It can > be runtime detected using bit A7 in the Status register. > > Signed-off-by: Ladislav Michl <ladis@xxxxxxxxxxxxxx> > --- > Changes: > - v2: reworked voltage computing to not overflow and keep presision > - v3: update devicetree binding documentation > - v4: add ltc2942 devicetree compatible > > .../devicetree/bindings/power/supply/ltc2941.txt | 15 ++-- Acked-by: Rob Herring <robh@xxxxxxxxxx> > drivers/power/supply/ltc2941-battery-gauge.c | 85 +++++++++++++++++----- > 2 files changed, 74 insertions(+), 26 deletions(-) -- 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