mfd: dt: tps6586x: Add power off control
authorBill Huang <bilhuang@nvidia.com>
Mon, 20 Aug 2012 01:07:55 +0000 (18:07 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Sep 2012 07:52:14 +0000 (09:52 +0200)
commit004c15a68076f5bdc343bed92efed81087cecbfb
tree719632562fd71bf6ec24cd0e9a72afbeda8ff6a6
parent80633f05b0dbf5819ef28f626f2f0b7c885d1f88
mfd: dt: tps6586x: Add power off control

Add DT property "ti,system-power-controller" telling whether or not this
pmic is in charge of controlling the system power, so the power off
routine can be hooked up to system call "pm_power_off".

Based on the work by:
Dan Willemsen <dwillemsen@nvidia.com>

Signed-off-by: Bill Huang <bilhuang@nvidia.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Documentation/devicetree/bindings/regulator/tps6586x.txt
drivers/mfd/tps6586x.c
include/linux/mfd/tps6586x.h