diff options
author | Songhee Baek <sbaek@nvidia.com> | 2012-05-09 14:20:22 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-05-14 13:50:10 -0700 |
commit | a7cb9b41715d46c6f1ee6c771898dd35f8663865 (patch) | |
tree | f2b8865b1b0cbe740f196bde9614ea120e8e60f8 | |
parent | 3a2414b79982bef8d13588e4766613aa9f083741 (diff) |
arm: tegra: p1852: Add Tegra camera driver
Add Tegra camera driver to support video
capture through H/W interfaces VIP, CSI.
Bug 978086
Change-Id: I0dc51e47928388ed2073a99f8ca80b5a5a77d166
Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-on: http://git-master/r/101590
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/board-p1852-pinmux.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-p1852.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-p1852-pinmux.c b/arch/arm/mach-tegra/board-p1852-pinmux.c index a59f6590e332..1503c80c8269 100644 --- a/arch/arm/mach-tegra/board-p1852-pinmux.c +++ b/arch/arm/mach-tegra/board-p1852-pinmux.c @@ -329,9 +329,9 @@ static __initdata struct tegra_pingroup_config p1852_pinmux_common[] = { VI_PINMUX(VI_D2, VI, NORMAL, NORMAL, INPUT, DISABLE, DISABLE), VI_PINMUX(VI_D3, VI, NORMAL, NORMAL, INPUT, DISABLE, DISABLE), - VI_PINMUX(VI_D4, VI, NORMAL, NORMAL, OUTPUT, DISABLE, DISABLE), + VI_PINMUX(VI_D4, VI, NORMAL, NORMAL, INPUT, DISABLE, DISABLE), VI_PINMUX(VI_D5, VI, NORMAL, NORMAL, INPUT, DISABLE, DISABLE), - VI_PINMUX(VI_D6, VI, NORMAL, NORMAL, OUTPUT, DISABLE, DISABLE), + VI_PINMUX(VI_D6, VI, NORMAL, NORMAL, INPUT, DISABLE, DISABLE), VI_PINMUX(VI_D7, VI, NORMAL, NORMAL, INPUT, DISABLE, DISABLE), VI_PINMUX(VI_D8, VI, NORMAL, NORMAL, INPUT, DISABLE, DISABLE), VI_PINMUX(VI_D9, VI, NORMAL, NORMAL, INPUT, DISABLE, DISABLE), diff --git a/arch/arm/mach-tegra/board-p1852.c b/arch/arm/mach-tegra/board-p1852.c index fe7d9d5b13bb..d44228fc77c7 100644 --- a/arch/arm/mach-tegra/board-p1852.c +++ b/arch/arm/mach-tegra/board-p1852.c @@ -333,6 +333,11 @@ static void p1852_spi_init(void) p852_register_spidev(); } +static struct platform_device tegra_camera = { + .name = "tegra_camera", + .id = -1, +}; + static struct platform_device *p1852_devices[] __initdata = { #if defined(CONFIG_TEGRA_IOVMM_SMMU) &tegra_smmu_device, @@ -340,6 +345,7 @@ static struct platform_device *p1852_devices[] __initdata = { #if defined(CONFIG_TEGRA_AVP) &tegra_avp_device, #endif + &tegra_camera, &tegra_wdt_device }; |