Messages in this thread | | | Date | Wed, 7 Jan 2015 13:23:28 -0800 | From | Todd E Brandt <> | Subject | [PATCH 0/3] X-Power AXP288 PMIC Fuel Gauge Driver |
| |
X-Power AXP288 PMIC Fuel Gauge Driver
new power_supply driver at driver/power interfaces with the axp20x mfd driver as a cell provides battery info and monitors for changes generates alerts on temperature and capacity issues
(1/3) mfd/axp20x.c: change the battery cell name to fuel_gauge (2/3) mfd/axp20x.h: add the register defs and platform struct for fuel gauge (3/3) power/axp288_fuel_gauge.c: axp288 fuel gauge driver
Signed-off-by: Todd Brandt <todd.e.brandt@intel.com> ---- drivers/mfd/axp20x.c | 10 +- drivers/power/Kconfig | 9 + drivers/power/Makefile | 1 + drivers/power/axp288_fuel_gauge.c | 1108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/axp20x.h | 43 ++- 5 files changed, 1164 insertions(+), 7 deletions(-)
| |