summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-11-16 18:30:02 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:18 -0800
commit1af231f4acfe80ffbab897ec57bdeb0fff480a51 (patch)
treecc61126a5cf3a6eb27d821e2ea9d8323e1c2f2ce /include
parentbb4ed3b58b1d894d40edfd2a27730335fb72760d (diff)
mfd: ricoh583: Support shutdown through input signal
Adding configuration parameter through platform data to shutdown the PMIC when shutdown signal in input pin SHUTDB is active. bug 900732 Reviewed-on: http://git-master/r/65443 (cherry picked from commit 9327b9815e9791f56f95e0e691c1f1e15cf39b04) Change-Id: I200c6f8755a55ad1875ba54c9c88a77e0937fb38 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/66325 Rebase-Id: Rcabdd1c5d217bfd201b241f443701d9253625df7
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/ricoh583.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/ricoh583.h b/include/linux/mfd/ricoh583.h
index db1099e4cf57..086cbff5eefb 100644
--- a/include/linux/mfd/ricoh583.h
+++ b/include/linux/mfd/ricoh583.h
@@ -140,6 +140,7 @@ struct ricoh583_platform_data {
struct ricoh583_gpio_init_data *gpio_init_data;
int num_gpioinit_data;
+ bool enable_shutdown_pin;
};
extern int ricoh583_read(struct device *dev, uint8_t reg, uint8_t *val);