power: supply: cpcap-charger: Add minimal CPCAP PMIC battery charger
authorTony Lindgren <tony@atomide.com>
Mon, 27 Mar 2017 03:25:13 +0000 (20:25 -0700)
committerSebastian Reichel <sre@kernel.org>
Thu, 13 Apr 2017 23:41:34 +0000 (01:41 +0200)
commit0c9888e3c1925ef4b18a04f71fa3a8228a648a08
tree20b21fc75fce87aab809b1098b28afabf1211125
parentda26580f4eb81f3614cf5e3af43155fb45d118fc
power: supply: cpcap-charger: Add minimal CPCAP PMIC battery charger

The custom CPCAP PMIC used on Motorola phones such as Droid 4 has a
USB battery charger. It can optionally also have a companion chip that
is used for wireless charging.

The charger on CPCAP also can feed VBUS for the USB host mode. This
can be handled by the existing kernel phy_companion interface.

Cc: devicetree@vger.kernel.org
Cc: Marcel Partap <mpartap@gmx.net>
Cc: Michael Scott <michael.scott@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Documentation/devicetree/bindings/power/supply/cpcap-charger.txt [new file with mode: 0644]
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/cpcap-charger.c [new file with mode: 0644]