Commit 111f3356 authored by Jonathan Corbet's avatar Jonathan Corbet Committed by Mauro Carvalho Chehab

V4L/DVB (4798): OmniVision OV7670 driver

This patch adds a V4L2 driver for the OmniVision OV7670 camera.
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent d905b382
...@@ -184,6 +184,14 @@ config VIDEO_KS0127 ...@@ -184,6 +184,14 @@ config VIDEO_KS0127
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called ks0127. module will be called ks0127.
config VIDEO_OV7670
tristate "OmniVision OV7670 sensor support"
depends on I2C && VIDEO_V4L2
---help---
This is a Video4Linux2 sensor-level driver for the OmniVision
OV7670 VGA camera. It currently only works with the M88ALP01
controller.
config VIDEO_SAA7110 config VIDEO_SAA7110
tristate "Philips SAA7110 video decoder" tristate "Philips SAA7110 video decoder"
depends on VIDEO_V4L1 && I2C depends on VIDEO_V4L1 && I2C
......
...@@ -93,6 +93,7 @@ obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o ...@@ -93,6 +93,7 @@ obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
obj-$(CONFIG_VIDEO_OV7670) += ov7670.o
obj-$(CONFIG_USB_DABUSB) += dabusb.o obj-$(CONFIG_USB_DABUSB) += dabusb.o
obj-$(CONFIG_USB_OV511) += ov511.o obj-$(CONFIG_USB_OV511) += ov511.o
......
This diff is collapsed.
...@@ -159,6 +159,7 @@ ...@@ -159,6 +159,7 @@
#define I2C_DRIVERID_ASB100 1043 #define I2C_DRIVERID_ASB100 1043
#define I2C_DRIVERID_FSCHER 1046 #define I2C_DRIVERID_FSCHER 1046
#define I2C_DRIVERID_W83L785TS 1047 #define I2C_DRIVERID_W83L785TS 1047
#define I2C_DRIVERID_OV7670 1048 /* Omnivision 7670 camera */
/* /*
* ---- Adapter types ---------------------------------------------------- * ---- Adapter types ----------------------------------------------------
......
...@@ -144,6 +144,9 @@ enum v4l2_chip_ident { ...@@ -144,6 +144,9 @@ enum v4l2_chip_ident {
V4L2_IDENT_CX25841 = 241, V4L2_IDENT_CX25841 = 241,
V4L2_IDENT_CX25842 = 242, V4L2_IDENT_CX25842 = 242,
V4L2_IDENT_CX25843 = 243, V4L2_IDENT_CX25843 = 243,
/* OmniVision sensors - range 250-299 */
V4L2_IDENT_OV7670 = 250,
}; };
/* audio ioctls */ /* audio ioctls */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment