From 0bee410db5fdb5a97578b6dc002b7d54fedbfe64 Mon Sep 17 00:00:00 2001 From: Andrew Chew Date: Wed, 1 Aug 2012 16:39:32 -0700 Subject: tegra: Make tegra_vi01_device accessible Make it accessible outside of drivers/video/tegra. V4L2 driver needs to set some platform_data. Add suport for T20. Change-Id: I98353c2874ea28cfa0a7a5dd8a1dc4c586af4dd7 Signed-off-by: Andrew Chew Signed-off-by: Bryan Wu Reviewed-on: http://git-master/r/200220 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro --- include/linux/nvhost.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index d7d8ad04653d..add4aeab377d 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h @@ -215,4 +215,8 @@ int nvhost_syncpt_wait_timeout_ext(struct nvhost_device *dev, u32 id, u32 thresh void nvhost_scale3d_set_throughput_hint(int hint); +/* Hacky way to get access to struct nvhost_device tegra_vi01_device. */ +struct nvhost_device *t20_get_tegra_vi01_device(void); +struct nvhost_device *t30_get_tegra_vi01_device(void); + #endif -- cgit v1.2.3 From 58d8e724d2241b63870ff771dd6962ce9dc5e10c Mon Sep 17 00:00:00 2001 From: Bryan Wu Date: Wed, 16 Jan 2013 17:27:29 -0800 Subject: media: soc_camera: add OV5650 SoC camera I2C device driver OV5650 is a RAW sensor outputing Bayer RAW 8 or RAW 10 data. This driver uses SoC camera interface and supports several different resolution. Change-Id: I8075b63b42f7949a264bdef446f5ed8bdc0a9eee Signed-off-by: Bryan Wu Reviewed-on: http://git-master/r/200223 GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro --- include/media/v4l2-chip-ident.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h index fb929eacd2e6..a0d15e57cc6f 100644 --- a/include/media/v4l2-chip-ident.h +++ b/include/media/v4l2-chip-ident.h @@ -78,6 +78,7 @@ enum { V4L2_IDENT_OV9740 = 260, V4L2_IDENT_OV5642 = 261, V4L2_IDENT_OV5640 = 262, + V4L2_IDENT_OV5650 = 263, /* module saa7146: reserved range 300-309 */ V4L2_IDENT_SAA7146 = 300, -- cgit v1.2.3