summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-ventana.c
diff options
context:
space:
mode:
authorPritesh Raithatha <praithatha@nvidia.com>2010-11-22 15:28:08 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:06 -0800
commit96b05510e77ddf87a24c79a1fed47d2f76636b3a (patch)
treed6957da8e3811bb9256592cb398d9a6591506f5c /arch/arm/mach-tegra/board-ventana.c
parentcfa44e5529cadaedacb73d50b547b04672c7f393 (diff)
ventana: camera: change pinconfig and add platform device
-board-ventana-pinmux.c: change following pin groups to TEGRA_PUPD_NORMAL and TEGRA_TRI_NORMAL TEGRA_PINGROUP_CSUS, TEGRA_PINGROUP_DTE and TEGRA_PINGROUP_GPV -board-ventana-power.c: tegra_camera is connected to regulator LDO6 (vcsi) and it should be max 1800mv -board-ventana.c: add platform device tegra_camera Original-Change-Id: Ie83a9a34d72ba584673634dccf72c6cc0f25c74c Reviewed-on: http://git-master/r/11336 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R92b15f626cb274d3a7b0d5bf8a49afbfc85f8a7e
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana.c')
-rw-r--r--arch/arm/mach-tegra/board-ventana.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c
index 87216618fdc5..e622ef0d2c1c 100644
--- a/arch/arm/mach-tegra/board-ventana.c
+++ b/arch/arm/mach-tegra/board-ventana.c
@@ -242,6 +242,11 @@ static struct platform_device ventana_keys_device = {
},
};
+static struct platform_device tegra_camera = {
+ .name = "tegra_camera",
+ .id = -1,
+};
+
static struct platform_device *ventana_devices[] __initdata = {
&tegra_otg_device,
&debug_uart,
@@ -254,6 +259,7 @@ static struct platform_device *ventana_devices[] __initdata = {
&ventana_keys_device,
&tegra_wdt_device,
&tegra_avp_device,
+ &tegra_camera,
};
static void ventana_keys_init(void)