]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: Support software initiated shutdown of WM831x PMICs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 15 Sep 2011 16:54:53 +0000 (18:54 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 6 Oct 2011 14:44:00 +0000 (16:44 +0200)
commiteeb7762c012537517280afe10e2c6a01781d19b0
treee746687c0bc44e843cb3939b99c490ec487f3caf
parente4891f77a460993007dc28f19babb2f382b27efc
mfd: Support software initiated shutdown of WM831x PMICs

In systems where there is no hardware signal from the processor to the
PMIC to initiate the final power off sequence we must initiate the
shutdown with a register write to the PMIC. Support such systems in the
driver. Since this may prevent a full shutdown of the system platform
data is used to enable the feature.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-core.c
drivers/mfd/wm831x-i2c.c
drivers/mfd/wm831x-spi.c
include/linux/mfd/wm831x/core.h
include/linux/mfd/wm831x/pdata.h