power: supply: Add ltc3651-charger driver
authorMike Looijmans <mike.looijmans@topic.nl>
Tue, 9 May 2017 05:44:17 +0000 (07:44 +0200)
committerSebastian Reichel <sre@kernel.org>
Mon, 15 May 2017 13:28:10 +0000 (15:28 +0200)
commitc94d4ed017ae6e2630647b917e775ab2fd8ea0f3
treed54fd9ab36ab451cdd727df265efbf88ec42e808
parent9d556bb4ad51b2fa3ba30cda93b419b71c98ce33
power: supply: Add ltc3651-charger driver

The LTC3651 reports its status via GPIO lines. This driver translates
the GPIO levels to battery charger status information via sysfs.
It relies on devicetree to supply the IO configuration.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/ltc3651-charger.c [new file with mode: 0644]