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>
This commit is contained in:
Bill Huang
2012-08-19 18:07:55 -07:00
committed by Samuel Ortiz
parent 80633f05b0
commit 004c15a680
3 changed files with 26 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ struct tps6586x_platform_data {
int gpio_base;
int irq_base;
bool pm_off;
};
/*