diff options
| author | Rajagopala V <rajagopala.v@stericsson.com> | 2011-08-25 16:57:56 +0530 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 16:00:12 +0200 |
| commit | df38938267f11f89ec271d88729d590e3538fed6 (patch) | |
| tree | ded134aaa6b2047f392553cccfd55f0e9f5763d0 /include | |
| parent | a79b854c1fcb64984564236997fb345cca1a2d1e (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')
| -rw-r--r-- | include/linux/mfd/abx500.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h index 1d96d4f1bcc..79b3e9eb4f3 100644 --- a/include/linux/mfd/abx500.h +++ b/include/linux/mfd/abx500.h @@ -369,6 +369,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); |
