diff options
author | Nathan Lord <nlord@nvidia.com> | 2011-02-07 00:41:35 -0800 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-02-08 18:20:30 -0800 |
commit | 23621efaf95cfaafe45cbb641b47ec781265b6dc (patch) | |
tree | 205c947a18a6f59b371263a8f5b8305d79ffcd22 /arch/arm/mach-tegra/board-ventana.h | |
parent | 0efbd2db99dc322b591130ef88e33feb99e05775 (diff) |
arm: tegra: ventana: add support for ov2710
Change-Id: I58ad22bd0a78e705ba6d4941352c397c3cb2bd43
Reviewed-on: http://git-master/r/18539
Reviewed-by: Nathan Lord <nlord@nvidia.com>
Tested-by: Nathan Lord <nlord@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana.h')
-rw-r--r-- | arch/arm/mach-tegra/board-ventana.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.h b/arch/arm/mach-tegra/board-ventana.h index 2c929c435935..353ac46f6ea0 100644 --- a/arch/arm/mach-tegra/board-ventana.h +++ b/arch/arm/mach-tegra/board-ventana.h @@ -1,7 +1,7 @@ /* * arch/arm/mach-tegra/board-ventana.h * - * Copyright (C) 2010 Google, Inc. + * Copyright (C) 2011 Google, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and @@ -30,14 +30,22 @@ int ventana_emc_init(void); /* TPS6586X gpios */ #define TPS6586X_GPIO_BASE TEGRA_NR_GPIOS -#define AVDD_DSI_CSI_ENB_GPIO TPS6586X_GPIO_BASE + 1 /* gpio2 */ +#define AVDD_DSI_CSI_ENB_GPIO (TPS6586X_GPIO_BASE + 1) /* gpio2 */ /* TCA6416 gpios */ -#define TCA6416_GPIO_BASE TEGRA_NR_GPIOS + 4 -#define CAM2_PWR_DN_GPIO TCA6416_GPIO_BASE + 4 /* gpio4 */ -#define CAM2_RST_L_GPIO TCA6416_GPIO_BASE + 5 /* gpio5 */ -#define CAM2_AF_PWR_DN_L_GPIO TCA6416_GPIO_BASE + 6 /* gpio6 */ -#define CAM2_LDO_SHUTDN_L_GPIO TCA6416_GPIO_BASE + 7 /* gpio7 */ -#define CAM2_I2C_MUX_RST_GPIO TCA6416_GPIO_BASE + 15 /* gpio15 */ +#define TCA6416_GPIO_BASE (TEGRA_NR_GPIOS + 4) +#define CAM1_PWR_DN_GPIO (TCA6416_GPIO_BASE + 0) /* gpio0 */ +#define CAM1_RST_L_GPIO (TCA6416_GPIO_BASE + 1) /* gpio1 */ +#define CAM1_AF_PWR_DN_L_GPIO (TCA6416_GPIO_BASE + 2) /* gpio2 */ +#define CAM1_LDO_SHUTDN_L_GPIO (TCA6416_GPIO_BASE + 3) /* gpio3 */ +#define CAM2_PWR_DN_GPIO (TCA6416_GPIO_BASE + 4) /* gpio4 */ +#define CAM2_RST_L_GPIO (TCA6416_GPIO_BASE + 5) /* gpio5 */ +#define CAM2_AF_PWR_DN_L_GPIO (TCA6416_GPIO_BASE + 6) /* gpio6 */ +#define CAM2_LDO_SHUTDN_L_GPIO (TCA6416_GPIO_BASE + 7) /* gpio7 */ +#define CAM3_PWR_DN_GPIO (TCA6416_GPIO_BASE + 8) /* gpio8 */ +#define CAM3_RST_L_GPIO (TCA6416_GPIO_BASE + 9) /* gpio9 */ +#define CAM3_AF_PWR_DN_L_GPIO (TCA6416_GPIO_BASE + 10) /* gpio10 */ +#define CAM3_LDO_SHUTDN_L_GPIO (TCA6416_GPIO_BASE + 11) /* gpio11 */ +#define CAM_I2C_MUX_RST_GPIO (TCA6416_GPIO_BASE + 15) /* gpio15 */ #endif |