mfd: Add power off functionality to TWL
authorIgor Grinberg <grinberg@compulab.co.il>
Sun, 13 Nov 2011 09:49:50 +0000 (11:49 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 Jan 2012 15:09:47 +0000 (17:09 +0200)
commit8e16fa70c32756164098142b8c3e04ff7e4cdab1
treea5a24f7ce9a1691fcba75314bd8f7db48bf4c29a
parentadfef33c8b351697ab1998c7f579c2a037092764
mfd: Add power off functionality to TWL

TWL family of PMICs, used in master mode, have a power off
functionality. The resulting power off sequence shuts down all the SoC
supplies, LDOs, etc. The sequence is described in the datasheets
chapter "Power-Off Sequence".
Note, that board must be wired correctly for the power off to work as
expected.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-power.c
include/linux/i2c/twl.h