Skip to content

Commit 3961f7c

Browse files
broonieAnton Vorontsov
authored andcommitted
power_supply: Add driver for the PMU on WM831x PMICs
The WM831x PMICs provide power path management from three sources: a wall supply, USB and a battery with integrated charger. They also provide an additional backup supply with integrated for maintaining always on functionality such as the RTC and monitoring of power switches. After some initial configuration at startup the device operates autonomously, the driver simply provides reporting of the current state. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
1 parent b0525b4 commit 3961f7c

File tree

4 files changed

+976
-0
lines changed

4 files changed

+976
-0
lines changed

drivers/power/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ config APM_POWER
2929
Say Y here to enable support APM status emulation using
3030
battery class devices.
3131

32+
config WM831X_POWER
33+
tristate "WM831X PMU support"
34+
depends on MFD_WM831X
35+
help
36+
Say Y here to enable support for the power management unit
37+
provided by Wolfson Microelectronics WM831x PMICs.
38+
3239
config WM8350_POWER
3340
tristate "WM8350 PMU support"
3441
depends on MFD_WM8350

drivers/power/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ obj-$(CONFIG_POWER_SUPPLY) += power_supply.o
1616

1717
obj-$(CONFIG_PDA_POWER) += pda_power.o
1818
obj-$(CONFIG_APM_POWER) += apm_power.o
19+
obj-$(CONFIG_WM831X_POWER) += wm831x_power.o
1920
obj-$(CONFIG_WM8350_POWER) += wm8350_power.o
2021

2122
obj-$(CONFIG_BATTERY_DS2760) += ds2760_battery.o

0 commit comments

Comments
 (0)