power_supply: Add support for WM8350 PMU
commit14431aa0c5a443d13d24e6f865a8838f97dab973
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 16 Nov 2008 19:16:47 +0000 (16 20:16 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Sun, 4 Jan 2009 11:17:38 +0000 (4 12:17 +0100)
treeb0494cf2787cf039f7541439ef9b1f6ee5c3b294
parent3fba19ec1ae5b460c73a7f32efed8d3b3300b246
power_supply: Add support for WM8350 PMU

This patch adds support for the PMU provided by the WM8350 which
implements battery, line and USB supplies including a battery charger.
The hardware functions largely autonomously, with minimal software
control required to initiate fast charging.

Support for configuration of the USB supply is not yet implemented.
This means that the hardware will remain in the mode configured at
startup, by default limiting the current drawn from USB to 100mA.

This driver was originally written by Liam Girdwood with subsequent
updates for submission by Mark Brown.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/wm8350_power.c [new file with mode: 0644]
include/linux/mfd/wm8350/core.h
include/linux/mfd/wm8350/supply.h