Commit 21f1b932 authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab

V4L/DVB (13183): gspca: add stv0680 subdriver

This patch adds a new subdriver to gspca supporting cams with the stv0680
bridge (replacing the old in kernel v4l1 driver).

Many thanks to Hans Verkuil for providing me with one of the 2 cams used in
testing this new sub driver.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 73997870
...@@ -1016,9 +1016,13 @@ config USB_SE401 ...@@ -1016,9 +1016,13 @@ config USB_SE401
source "drivers/media/video/sn9c102/Kconfig" source "drivers/media/video/sn9c102/Kconfig"
config USB_STV680 config USB_STV680
tristate "USB STV680 (Pencam) Camera support" tristate "USB STV680 (Pencam) Camera support (DEPRECATED)"
depends on VIDEO_V4L1 depends on VIDEO_V4L1
---help--- ---help---
This driver is DEPRECATED please use the gspca stv0680 module
instead. Note that for the gspca stv0680 module you need
atleast version 0.6.3 of libv4l.
Say Y here if you want to connect this type of camera to your Say Y here if you want to connect this type of camera to your
computer's USB port. This includes the Pencam line of cameras. computer's USB port. This includes the Pencam line of cameras.
See <file:Documentation/video4linux/stv680.txt> for more information See <file:Documentation/video4linux/stv680.txt> for more information
......
...@@ -230,6 +230,15 @@ config USB_GSPCA_STK014 ...@@ -230,6 +230,15 @@ config USB_GSPCA_STK014
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 gspca_stk014. module will be called gspca_stk014.
config USB_GSPCA_STV0680
tristate "STV0680 USB Camera Driver"
depends on VIDEO_V4L2 && USB_GSPCA
help
Say Y here if you want support for cameras based on the STV0680 chip.
To compile this driver as a module, choose M here: the
module will be called gspca_stv0680.
config USB_GSPCA_SUNPLUS config USB_GSPCA_SUNPLUS
tristate "SUNPLUS USB Camera Driver" tristate "SUNPLUS USB Camera Driver"
depends on VIDEO_V4L2 && USB_GSPCA depends on VIDEO_V4L2 && USB_GSPCA
......
...@@ -22,6 +22,7 @@ obj-$(CONFIG_USB_GSPCA_SQ905) += gspca_sq905.o ...@@ -22,6 +22,7 @@ obj-$(CONFIG_USB_GSPCA_SQ905) += gspca_sq905.o
obj-$(CONFIG_USB_GSPCA_SQ905C) += gspca_sq905c.o obj-$(CONFIG_USB_GSPCA_SQ905C) += gspca_sq905c.o
obj-$(CONFIG_USB_GSPCA_SUNPLUS) += gspca_sunplus.o obj-$(CONFIG_USB_GSPCA_SUNPLUS) += gspca_sunplus.o
obj-$(CONFIG_USB_GSPCA_STK014) += gspca_stk014.o obj-$(CONFIG_USB_GSPCA_STK014) += gspca_stk014.o
obj-$(CONFIG_USB_GSPCA_STV0680) += gspca_stv0680.o
obj-$(CONFIG_USB_GSPCA_T613) += gspca_t613.o obj-$(CONFIG_USB_GSPCA_T613) += gspca_t613.o
obj-$(CONFIG_USB_GSPCA_TV8532) += gspca_tv8532.o obj-$(CONFIG_USB_GSPCA_TV8532) += gspca_tv8532.o
obj-$(CONFIG_USB_GSPCA_VC032X) += gspca_vc032x.o obj-$(CONFIG_USB_GSPCA_VC032X) += gspca_vc032x.o
...@@ -50,6 +51,7 @@ gspca_spca561-objs := spca561.o ...@@ -50,6 +51,7 @@ gspca_spca561-objs := spca561.o
gspca_sq905-objs := sq905.o gspca_sq905-objs := sq905.o
gspca_sq905c-objs := sq905c.o gspca_sq905c-objs := sq905c.o
gspca_stk014-objs := stk014.o gspca_stk014-objs := stk014.o
gspca_stv0680-objs := stv0680.o
gspca_sunplus-objs := sunplus.o gspca_sunplus-objs := sunplus.o
gspca_t613-objs := t613.o gspca_t613-objs := t613.o
gspca_tv8532-objs := tv8532.o gspca_tv8532-objs := tv8532.o
......
This diff is collapsed.
...@@ -361,6 +361,7 @@ struct v4l2_pix_format { ...@@ -361,6 +361,7 @@ struct v4l2_pix_format {
#define V4L2_PIX_FMT_PJPG v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG */ #define V4L2_PIX_FMT_PJPG v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG */
#define V4L2_PIX_FMT_OV511 v4l2_fourcc('O', '5', '1', '1') /* ov511 JPEG */ #define V4L2_PIX_FMT_OV511 v4l2_fourcc('O', '5', '1', '1') /* ov511 JPEG */
#define V4L2_PIX_FMT_OV518 v4l2_fourcc('O', '5', '1', '8') /* ov518 JPEG */ #define V4L2_PIX_FMT_OV518 v4l2_fourcc('O', '5', '1', '8') /* ov518 JPEG */
#define V4L2_PIX_FMT_STV0680 v4l2_fourcc('S', '6', '8', '0') /* stv0680 bayer */
/* /*
* F O R M A T E N U M E R A T I O N * F O R M A T E N U M E R A T I O N
......
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