From f245f8f8bd58d1df0a1eb1bf73ad03fb3772813d Mon Sep 17 00:00:00 2001 From: Jin Park Date: Tue, 17 Jan 2012 14:48:47 +0900 Subject: mfd: max77663: Support Low-Power Mode during sleep mode Put the power rails into Low-Power Mode during sleep mode, if SLP_LPM is enabled and the power rail's power mode is GLPM. Bug 924686 Change-Id: I460f8bfa6be73a440a4924160d8e271695fc4973 Reviewed-on: http://git-master/r/75626 Signed-off-by: Jin Park Signed-off-by: Varun Wadekar Reviewed-on: http://git-master/r/75890 Reviewed-by: Automatic_Commit_Validation_User --- include/linux/mfd/max77663-core.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/linux/mfd/max77663-core.h b/include/linux/mfd/max77663-core.h index 1edaf7aaaf4d..9886cc25319d 100644 --- a/include/linux/mfd/max77663-core.h +++ b/include/linux/mfd/max77663-core.h @@ -110,6 +110,11 @@ enum max77663_gpio_alt { GPIO_ALT_DISABLE, }; +/* + * Flags + */ +#define SLP_LPM_ENABLE 0x01 + struct max77663_gpio_config { int gpio; /* gpio number */ enum max77663_gpio_dir dir; @@ -129,6 +134,8 @@ struct max77663_platform_data { int num_subdevs; struct mfd_cell *sub_devices; + + unsigned int flags; }; #if defined(CONFIG_MFD_MAX77663) -- cgit v1.2.3