diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-07-08 17:40:37 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:38 -0800 |
commit | 8f73df9739e51fa1f236c34fa41a9a1440f87884 (patch) | |
tree | 70a0505bb1d467344dfe1a0eb72914ca16898743 /arch/arm/mach-tegra/board-enterprise.h | |
parent | 92069873b08173e6dba9611e0a74df07159c4064 (diff) |
arm: enterprise: Clean some of tps80031 definition
Adding public definition in the 80031 header so that client
can used directly in place of defining at client level.
Original-Change-Id: Ifb64e0ffc83bc29c470d08a49d0915613a677537
Reviewed-on: http://git-master/r/40208
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R981610616a78797050538c2a4eb5160ea11384c8
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise.h')
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise.h b/arch/arm/mach-tegra/board-enterprise.h index 2641fd408805..0ccff3e3291a 100644 --- a/arch/arm/mach-tegra/board-enterprise.h +++ b/arch/arm/mach-tegra/board-enterprise.h @@ -23,6 +23,7 @@ #include <mach/gpio.h> #include <mach/irqs.h> +#include <linux/mfd/tps80031.h> int enterprise_charge_init(void); int enterprise_sdhci_init(void); @@ -44,16 +45,16 @@ int enterprise_suspend_init(void); /*****************External GPIO tables ******************/ /* External peripheral gpio base. */ -#define TPS80031_GPIO_BASE TEGRA_NR_GPIOS -#define TPS80031_GPIO_REGEN1 (TPS80031_GPIO_BASE + 0) -#define TPS80031_GPIO_REGEN2 (TPS80031_GPIO_BASE + 1) -#define TPS80031_GPIO_SYSEN (TPS80031_GPIO_BASE + 2) -#define TPS80031_GPIO_END (TPS80031_GPIO_BASE + 3) +#define ENT_TPS80031_GPIO_BASE TEGRA_NR_GPIOS +#define ENT_TPS80031_GPIO_REGEN1 (ENT_TPS80031_GPIO_BASE + TPS80031_GPIO_REGEN1) +#define ENT_TPS80031_GPIO_REGEN2 (ENT_TPS80031_GPIO_BASE + TPS80031_GPIO_REGEN2) +#define ENT_TPS80031_GPIO_SYSEN (ENT_TPS80031_GPIO_BASE + TPS80031_GPIO_SYSEN) +#define ENT_TPS80031_GPIO_END (ENT_TPS80031_GPIO_BASE + TPS80031_GPIO_NR) /*****************External Interrupt tables ******************/ /* External peripheral irq base */ -#define TPS80031_IRQ_BASE TEGRA_NR_IRQS -#define TPS80031_IRQ_END (TPS80031_IRQ_BASE + 24) +#define ENT_TPS80031_IRQ_BASE TEGRA_NR_IRQS +#define ENT_TPS80031_IRQ_END (ENT_TPS80031_IRQ_BASE + TPS80031_INT_NR) /*****************Camera GPIOs ******************/ #define CAM_CSI_MUX_SEL_GPIO TEGRA_GPIO_PM3 |