diff options
author | Bill Huang <bilhuang@nvidia.com> | 2012-08-19 21:07:55 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-14 03:52:14 -0400 |
commit | 004c15a68076f5bdc343bed92efed81087cecbfb (patch) | |
tree | 719632562fd71bf6ec24cd0e9a72afbeda8ff6a6 /include/linux/mfd | |
parent | 80633f05b0dbf5819ef28f626f2f0b7c885d1f88 (diff) |
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/tps6586x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tps6586x.h b/include/linux/mfd/tps6586x.h index f350fd0ba1df..08f109f0f81c 100644 --- a/include/linux/mfd/tps6586x.h +++ b/include/linux/mfd/tps6586x.h | |||
@@ -77,6 +77,7 @@ struct tps6586x_platform_data { | |||
77 | 77 | ||
78 | int gpio_base; | 78 | int gpio_base; |
79 | int irq_base; | 79 | int irq_base; |
80 | bool pm_off; | ||
80 | }; | 81 | }; |
81 | 82 | ||
82 | /* | 83 | /* |