power_supply: Add MAX17042 Fuel Gauge Driver
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 14 Jan 2011 05:46:11 +0000 (14:46 +0900)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 14 Jan 2011 15:11:59 +0000 (18:11 +0300)
commit359ab9f5b154cbd807a11e22792235f0f36b0cd5
tree3500652809c242b75deb5139ded7052c389e0bb4
parentbf542a4e7b634c2adcba4241a29082f69b0f45dc
power_supply: Add MAX17042 Fuel Gauge Driver

The MAX17042 is a fuel gauge with an I2C interface for lithium-ion
betteries. Unlike its predecessor MAX17040, MAX17042 uses 16bit
registers. Besides, MAX17042 has much more features than MAX17040; e.g.,
a thermistor, current and current accumulation measurement, battery
internal resistance estimate, average values of measurement, and others.

This patch implements a driver for MAX17042.
In this initial release, we have implemented the most basic features of
a fuel gauge: measure the battery capacity and voltage.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/max17042_battery.c [new file with mode: 0644]
include/linux/power/max17042_battery.h [new file with mode: 0644]