]> git.baikalelectronics.ru Git - kernel.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)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 20 Sep 2011 12:02:09 +0000 (13:02 +0100)
commitf4920dbe13cb483c49b2c39f1a520274ab8bc517
treed1cd9bc2434332e2e79170d6c21d443f2ce5c3ff
parentef1779fcddb97cec87637bf69b2d5a22b94dbdb3
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