power: act8945a: add charger driver for ACT8945A
authorWenyou Yang <wenyou.yang@atmel.com>
Mon, 15 Feb 2016 08:22:03 +0000 (16:22 +0800)
committerSebastian Reichel <sre@kernel.org>
Wed, 24 Feb 2016 17:31:24 +0000 (18:31 +0100)
commit5c0e09e03fb5bc25ecb6a90c2bf89e0abc9f920f
treec9b5168496c000ea36389f1a572862d5e2fe473f
parentc54e9a2ac2186cd6f38cf502502d6a8ed380bbd6
power: act8945a: add charger driver for ACT8945A

This patch adds new driver for Active-semi ACT8945A ActivePath
charger (part of ACT8945A MFD driver) providing power supply class
information to userspace.

The driver can be configured through DT (such as, total timer,
precondition timer and input over-voltage threshold).

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
[ add "|| COMPILE_TEST" to MFD_ACT8945A dependency ]
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/act8945a_charger.c [new file with mode: 0644]