summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJin Park <jinyoungp@nvidia.com>2012-01-17 14:48:47 +0900
committerVarun Colbert <vcolbert@nvidia.com>2012-01-19 16:26:28 -0800
commitf245f8f8bd58d1df0a1eb1bf73ad03fb3772813d (patch)
treeb6fc4a1ca7756e0f153c981039b730eae6f4923f /include
parent7d69f35bad838a96aa23211adbbc0bfbb222bd8e (diff)
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 <jinyoungp@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/75890 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/max77663-core.h7
1 files changed, 7 insertions, 0 deletions
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)