summaryrefslogtreecommitdiff
path: root/include/linux/mfd/tps6586x.h
diff options
context:
space:
mode:
authorBill Huang <bilhuang@nvidia.com>2012-08-20 05:07:55 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-14 11:52:14 +0400
commit004c15a68076f5bdc343bed92efed81087cecbfb (patch)
tree719632562fd71bf6ec24cd0e9a72afbeda8ff6a6 /include/linux/mfd/tps6586x.h
parent80633f05b0dbf5819ef28f626f2f0b7c885d1f88 (diff)
downloadlinux-004c15a68076f5bdc343bed92efed81087cecbfb.tar.xz
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/tps6586x.h')
-rw-r--r--include/linux/mfd/tps6586x.h1
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 {
int gpio_base;
int irq_base;
+ bool pm_off;
};
/*