diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-01-24 17:29:38 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:45:30 -0800 |
commit | b11c479baad886ba2ee355c5228c918d6d2c640b (patch) | |
tree | f5b0af45cd4023ce52a39a5cf51e2cca185740af /arch/arm/mach-tegra/board-cardhu.h | |
parent | 1e629da4aef5ec786cd07ae2406caf744b6a8b69 (diff) |
[arm] tegra: cardhu: Adding gpio power rails and supplies.
Adding gpio controlled power rails and their consumers.
Also adding the details of gpio to control the rails
through gpios.
Original-Change-Id: I6f203978fc0c4c2a761132bc0074513cc2a34000
Reviewed-on: http://git-master/r/16728
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ifcbcd03fb4994e9b30a60cb272564bc3bb81b159
Rebase-Id: R1333066d9238b898335d3c625f7164af57837e73
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu.h')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.h b/arch/arm/mach-tegra/board-cardhu.h index 84107514dfc4..d1c752d7a1db 100644 --- a/arch/arm/mach-tegra/board-cardhu.h +++ b/arch/arm/mach-tegra/board-cardhu.h @@ -24,6 +24,15 @@ #include <mach/gpio.h> #define TPS6591X_GPIO_BASE TEGRA_NR_GPIOS +#define TPS6591X_GPIO_GP0 (TPS6591X_GPIO_BASE + 0) +#define TPS6591X_GPIO_GP1 (TPS6591X_GPIO_BASE + 1) +#define TPS6591X_GPIO_GP2 (TPS6591X_GPIO_BASE + 2) +#define TPS6591X_GPIO_GP3 (TPS6591X_GPIO_BASE + 3) +#define TPS6591X_GPIO_GP4 (TPS6591X_GPIO_BASE + 4) +#define TPS6591X_GPIO_GP5 (TPS6591X_GPIO_BASE + 5) +#define TPS6591X_GPIO_GP6 (TPS6591X_GPIO_BASE + 6) +#define TPS6591X_GPIO_GP7 (TPS6591X_GPIO_BASE + 7) +#define TPS6591X_GPIO_GP8 (TPS6591X_GPIO_BASE + 8) /* PCA954x I2C bus expander bus addresses */ #define PCA954x_I2C_BUS_BASE 6 @@ -42,5 +51,6 @@ int cardhu_sensors_init(void); int cardhu_kbc_init(void); int cardhu_scroll_init(void); int cardhu_keys_init(void); +int cardhu_gpio_switch_regulator_init(void); #endif |