Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c109f816 authored by Erik Andren's avatar Erik Andren Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (9091): gspca: Subdriver m5602 (ALi) added.



This patch adds support for the ALi m5602 usb bridge and is based on
the gspca framework.
It contains code for communicating with 5 different sensors:
OmniVision OV9650, Pixel Plus PO1030, Samsung S5K83A, S5K4AA and
finally Micron MT9M111.

Signed-off-by: default avatarErik Andren <erik.andren@gmail.com>
Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
[mchehab@redhat.com: fix m5602/Makefile]
[mchehab@redhat.com: extern debug caused conflicts. Renamed to m5602_debug]
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a3a58467
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ The modules are:
xxxx		vend:prod
----
spca501		0000:0000	MystFromOri Unknow Camera
m5602		0402:5602	ALi Video Camera Controller
spca501		040a:0002	Kodak DVC-325
spca500		040a:0300	Kodak EZ200
zc3xx		041e:041e	Creative WebCam Live!
+12 −0
Original line number Diff line number Diff line
This document describes the ALi m5602 bridge connected
to the following supported sensors:
OmniVision OV9650,
Samsung s5k83a,
Samsung s5k4aa,
Micron mt9m111,
Pixel plus PO1030

This driver mimics the windows drivers, which have a braindead implementation sending bayer-encoded frames at VGA resolution.
In a perfect world we should be able to reprogram the m5602 and the connected sensor in hardware instead, supporting a range of resolutions and pixelformats

Anyway, have fun and please report any bugs to m560x-driver-devel@lists.sourceforge.net
+3 −0
Original line number Diff line number Diff line
@@ -11,3 +11,6 @@ config USB_GSPCA

	  To compile this driver as modules, choose M here: the
	  modules will be called gspca_xxxx.

source "drivers/media/video/gspca/m5602/Kconfig"
+3 −0
Original line number Diff line number Diff line
@@ -28,3 +28,6 @@ gspca_t613-objs := t613.o
gspca_tv8532-objs := tv8532.o
gspca_vc032x-objs := vc032x.o
gspca_zc3xx-objs := zc3xx.o

obj-$(CONFIG_USB_M5602)         += m5602/
+11 −0
Original line number Diff line number Diff line
config USB_M5602
	tristate "USB ALi m5602 Webcam support"
	depends on VIDEO_V4L2 && USB_GSPCA
	help
	  Say Y here if you want support for cameras based on the
	  ALi m5602 connected to various image sensors.

	  See <file:Documentation/video4linux/m5602.txt> for more info.

	  To compile this driver as a module, choose M here: the
	  module will be called gspca-m5602.
Loading