forked from Minki/linux
V4L/DVB (4798): OmniVision OV7670 driver
This patch adds a V4L2 driver for the OmniVision OV7670 camera. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
d905b382d7
commit
111f33564e
@ -184,6 +184,14 @@ config VIDEO_KS0127
|
||||
To compile this driver as a module, choose M here: the
|
||||
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
|
||||
tristate "Philips SAA7110 video decoder"
|
||||
depends on VIDEO_V4L1 && I2C
|
||||
|
@ -93,6 +93,7 @@ obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
|
||||
obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
|
||||
|
||||
obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
|
||||
obj-$(CONFIG_VIDEO_OV7670) += ov7670.o
|
||||
|
||||
obj-$(CONFIG_USB_DABUSB) += dabusb.o
|
||||
obj-$(CONFIG_USB_OV511) += ov511.o
|
||||
|
1002
drivers/media/video/ov7670.c
Normal file
1002
drivers/media/video/ov7670.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -159,6 +159,7 @@
|
||||
#define I2C_DRIVERID_ASB100 1043
|
||||
#define I2C_DRIVERID_FSCHER 1046
|
||||
#define I2C_DRIVERID_W83L785TS 1047
|
||||
#define I2C_DRIVERID_OV7670 1048 /* Omnivision 7670 camera */
|
||||
|
||||
/*
|
||||
* ---- Adapter types ----------------------------------------------------
|
||||
|
@ -144,6 +144,9 @@ enum v4l2_chip_ident {
|
||||
V4L2_IDENT_CX25841 = 241,
|
||||
V4L2_IDENT_CX25842 = 242,
|
||||
V4L2_IDENT_CX25843 = 243,
|
||||
|
||||
/* OmniVision sensors - range 250-299 */
|
||||
V4L2_IDENT_OV7670 = 250,
|
||||
};
|
||||
|
||||
/* audio ioctls */
|
||||
|
Loading…
Reference in New Issue
Block a user