summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorRajagopala V <rajagopala.v@stericsson.com>2011-08-25 16:57:56 +0530
committerPhilippe Langlais <philippe.langlais@linaro.org>2012-03-19 08:50:29 +0100
commit2ff8865cd2288a8f3a74b1e2301e4006f18da910 (patch)
treec34876914103ca1d78bb07ff7af29e16caa13ce3 /include/linux/mfd
parent616f651a18966930dfb5f8958fb3f8d462cbf391 (diff)
u5500: ponkey: shutdown time configuration
support for compile time configuration of poweron key shutdown time. Default is 10sec and can be set to 5sec or disabled ST-Ericsson Linux next: NA ST-Ericsson ID: WP257125 ST-Ericsson FOSS-OUT ID: NA Change-Id: I7fbf57d21ff218370dba24182716222c354f4dc5 Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/28430 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com> Tested-by: Rajagopala VENKATARAVANAPPA X <rajagopala.v@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/abx500.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h
index 176d138f938..a586ce7b7b1 100644
--- a/include/linux/mfd/abx500.h
+++ b/include/linux/mfd/abx500.h
@@ -350,6 +350,9 @@ struct ab5500_platform_data {
struct ab5500_regulator_platform_data *regulator;
};
+struct ab5500_ponkey_platform_data {
+ u8 shutdown_secs;
+};
int abx500_set_register_interruptible(struct device *dev, u8 bank, u8 reg,
u8 value);