From a7cb9b41715d46c6f1ee6c771898dd35f8663865 Mon Sep 17 00:00:00 2001 From: Songhee Baek Date: Wed, 9 May 2012 14:20:22 -0700 Subject: 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 Reviewed-on: http://git-master/r/101590 Reviewed-by: Simone Willett Tested-by: Simone Willett --- arch/arm/mach-tegra/board-p1852.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arm/mach-tegra/board-p1852.c') 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 }; -- cgit v1.2.3