diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-07-14 18:38:07 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-07-15 16:50:16 -0700 |
commit | 7391b685365f8b1dc8c1477c6b3507007567991c (patch) | |
tree | 536da26068cbabe79d2363262412aea1be06ef64 /include | |
parent | 844983ef04e9521595451829757fdcdc020273b2 (diff) |
mfd: tps6591x: Reorganise GPIO definition
Adding the TPS6591x gpio definition in tps6591x core header
files.
bug 849976
Change-Id: I1f7a7cc38e220c091ccf44db5af6e43c34daa1cd
Reviewed-on: http://git-master/r/41040
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/tps6591x.h | 16 |
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; |