-
- Downloads
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>
Showing
- drivers/power/Kconfig 10 additions, 0 deletionsdrivers/power/Kconfig
- drivers/power/Makefile 1 addition, 0 deletionsdrivers/power/Makefile
- drivers/power/max17042_battery.c 239 additions, 0 deletionsdrivers/power/max17042_battery.c
- include/linux/power/max17042_battery.h 30 additions, 0 deletionsinclude/linux/power/max17042_battery.h
drivers/power/max17042_battery.c
0 → 100644
include/linux/power/max17042_battery.h
0 → 100644
Please register or sign in to comment