diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-02-24 16:57:06 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:45:38 -0800 |
commit | fa563da456a4acc17518ff3003f11c28ced6edbb (patch) | |
tree | c42ac8fb511f882490bc62a30cfdb2abdd5317f1 /arch/arm/mach-tegra/board-cardhu.h | |
parent | 3e341b19a7d9986ab8be076b601e969599f715c6 (diff) |
arm: tegra: cardhu: Defining base irq number for tps6591x
Defining the irq base address for the tps6591x through cardhu
header file.
Original-Change-Id: Iebd6ef863a994e4552f358b31b104c6e40a6446e
Reviewed-on: http://git-master/r/20755
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I6c758f61913644ea804f1cd8a4e6c84ebdb45f64
Rebase-Id: Ree6595f6d8794cbd4becccd24cb5301f40518a86
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu.h')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.h b/arch/arm/mach-tegra/board-cardhu.h index 2c4cc3c94b81..ba103923a874 100644 --- a/arch/arm/mach-tegra/board-cardhu.h +++ b/arch/arm/mach-tegra/board-cardhu.h @@ -22,6 +22,7 @@ #define _MACH_TEGRA_BOARD_CARDHU_H #include <mach/gpio.h> +#include <mach/irqs.h> #define BOARD_E1187 0x0B57 #define BOARD_E1186 0x0B56 @@ -97,6 +98,14 @@ #define PCA954x_I2C_BUS2 (PCA954x_I2C_BUS_BASE + 2) #define PCA954x_I2C_BUS3 (PCA954x_I2C_BUS_BASE + 3) +/*****************Interrupt tables ******************/ +/* External peripheral act as interrupt controller */ +/* TPS6591x IRQs */ +#define TPS6591X_IRQ_BASE TEGRA_NR_IRQS +#define TPS6591X_IRQ_END (TPS6591X_IRQ_BASE + 24) + + + int cardhu_charge_init(void); int cardhu_regulator_init(void); int cardhu_suspend_init(void); |