summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-07-14 18:38:07 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:47:43 -0800
commit7b778c57a9dbf75e8bc21a5b2df3c89822e32549 (patch)
tree041c3a5408796aeece39a78e4a40b7bfa0027947 /include/linux/mfd
parenta5729775fbe10f823c95e3bd6b9387743ebcf235 (diff)
mfd: tps6591x: Reorganise GPIO definition
Adding the TPS6591x gpio definition in tps6591x core header files. bug 849976 Original-Change-Id: I1f7a7cc38e220c091ccf44db5af6e43c34daa1cd Reviewed-on: http://git-master/r/41040 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rcaf75875841aab0b12f3876086245701eb754669
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/tps6591x.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/mfd/tps6591x.h b/include/linux/mfd/tps6591x.h
index 8470c371e877..525a8616c44b 100644
--- a/include/linux/mfd/tps6591x.h
+++ b/include/linux/mfd/tps6591x.h
@@ -49,6 +49,22 @@ enum {
TPS6591X_INT_NR,
};
+/* Gpio definitions */
+enum {
+ TPS6591X_GPIO_GP0 = 0,
+ TPS6591X_GPIO_GP1 = 1,
+ TPS6591X_GPIO_GP2 = 2,
+ TPS6591X_GPIO_GP3 = 3,
+ TPS6591X_GPIO_GP4 = 4,
+ TPS6591X_GPIO_GP5 = 5,
+ TPS6591X_GPIO_GP6 = 6,
+ TPS6591X_GPIO_GP7 = 7,
+ TPS6591X_GPIO_GP8 = 8,
+
+ /* Last entry */
+ TPS6591X_GPIO_NR,
+};
+
struct tps6591x_subdev_info {
int id;
const char *name;