power: supply: Add Spreadtrum SC27XX fuel gauge unit driver
authorBaolin Wang <baolin.wang@linaro.org>
Mon, 5 Nov 2018 07:39:11 +0000 (15:39 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 9 Nov 2018 21:55:46 +0000 (22:55 +0100)
commit195ca1703784d1fbc34b38019aedcb74f08154f1
tree0e11d0f31ff4a2af36bd33ab0be1d818070de3f2
parent0d5f2e6e9c792d557a2a17c484b1a191c7cd9d6e
power: supply: Add Spreadtrum SC27XX fuel gauge unit driver

This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
which is used to calculate the battery capacity.

Original-by: Yuanjiang Yu <yuanjiang.yu@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/sc27xx_fuel_gauge.c [new file with mode: 0644]