17 Jun, 2009
40 commits
-
Add ADV7343 I2C based video encoder driver. This follows the
v4l2-subdev framework. This driver has been tested on TI DM646x EVM. It
has been tested for Composite and Component outputs.Updates as per review by Mauro Chehab, added support for more standards
supported by the encoder. Also adding the missed out signed-offs.Tested
only NTSC and PAL standards.[hverkuil@xs4all.nl: s_routing API changed, updated driver to use new API]
Signed-off-by: Manjunath Hadli
Signed-off-by: Brijesh Jadav
Signed-off-by: Chaithrika U S
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
This patch adds driver for TI THS7303 video amplifier. This driver is
implemented as a v4l2 sub device. Tested on TI DM646x EVM.This version has updates based on review comments by Mauro Chehab.
Signed-off-by: Chaithrika U S
Reviewed-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Fix &&/|| typo. `default_norm' can be 0 (PAL), 1 (NTSC) or 2 (SECAM),
the condition tested was impossible.Signed-off-by: Roel Kluin
Signed-off-by: Mauro Carvalho Chehab -
Remove redundant tests on unsigned.
Signed-off-by: Roel Kluin
Signed-off-by: Mauro Carvalho Chehab -
In the near future, the driver core is going to not allow direct access
to the driver_data pointer in struct device. Instead, the functions
dev_get_drvdata() and dev_set_drvdata() should be used. These functions
have been around since the beginning, so are backwards compatible with
all older kernel versions.Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Mauro Carvalho Chehab -
The new i2c binding model doesn't use i2c_probe.
Signed-off-by: Jean Delvare
Signed-off-by: Mauro Carvalho Chehab -
The V4L2 ioctls usually return 0 when the operation was successful
and -1 in case of error. Currently VIDIOC_REQBUFS returns the
number of buffers which is redundant because this information is
available in count field of struct v4l2_requestbuffers. The
V4L2 API specification, revision 0.24 [1] explicitly specifies for
VIDIOC_REQBUFS that the return value shall be 0 on success.The patch was tested with v4l-test 0.13 [2] with vivi driver.
References:
[1] V4L2 API specification, revision 0.24
http://v4l2spec.bytesex.org/spec/r13696.htm[2] v4l-test: Test environment for Video For Linux Two API
http://v4l-test.sourceforge.net/Signed-off-by: Márton Németh
Signed-off-by: Mauro Carvalho Chehab -
Adds support to the remote control of the Winfast TV2000 XP Global TV
capture card. A case statement was added in order to initialize the
GPIO data structures as well as a case statement for handling the keys
correctly when pressed.Thanks to Hermann and Mauro for all the help
Signed-off-by: Pieter C van Schaik
Signed-off-by: Mauro Carvalho Chehab -
When we capture signal from composite input offen lost and found syncro
sequence. In this case the MPEG coder hardware reset after each
lost/found event. The image has a lot of artefactes. This patch remove
hardware reset of MPEG encoder.This is patch from our customer. I checked this.
With my best regards, Dmitry.
Signed-off-by: Alexey Osipov
Signed-off-by: Mauro Carvalho Chehab -
If video has a lot of changes in frame, MPEG encoder need more time for
coding process. Add new bigger timeout for encoder.This is patch from our customer. I checked this.
Signed-off-by: Alexey Osipov
Signed-off-by: Mauro Carvalho Chehab -
The Compro VideoMate T750 has no support for IR and DVB-T yet.
Disable both to avoid fall through and confusing printouts.Signed-off-by: Hermann Pitton
Signed-off-by: Mauro Carvalho Chehab -
Remove the videobuf-dma-contig sync operation. Sync is only needed
for noncoherent buffers, and since videobuf-dma-contig is built on
coherent memory allocators the memory is by definition always in sync.Reported-by: Matthieu CASTET
Signed-off-by: Magnus Damm
Reviewed-by: Paul Mundt
Signed-off-by: Mauro Carvalho Chehab -
Add USB ID (1b80:c810) for Kworld MC810.
Signed-off-by: Wen-chien Jesse Sung
Acked-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Roel Kluin
Signed-off-by: Mauro Carvalho Chehab -
The C99 specification states in section 6.11.5:
The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.Signed-off-by: Tobias Klauser
Acked-by: Stefan Richter
Signed-off-by: Mauro Carvalho Chehab -
Use the physical device rather than the i2c adapter as the reference
device when loading firmwares. This will prevent the sysfs name
collision with i2c-dev that has been reported many times.I may have missed other drivers which need the same fix.
Signed-off-by: Jean Delvare
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jani Monoses
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
The number of packets per isochronous message may now be set by the subdrivers
(default value 32).Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
The new mechanism does not use any temporary buffer.
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
A new image may start without any UVC EOF in the last packet of the
previous image.Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
When the bandwidth is not wide enough, the transfer endpoint may be set to
the one of the alternate setting 0. This one may be null and this causes a
divide by 0 oops.Reported-by: Hans de Goede
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Let the subdrivers to set the 'image transfer by bulk' flag.
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Add a platform driver to soc_camera.c. This way we preserve backwards
compatibility with existing platforms and can start converting them one by one
to the new platform-device soc-camera interface.Signed-off-by: Guennadi Liakhovetski
Signed-off-by: Mauro Carvalho Chehab -
Ensure the variable gain amplifier gain for SIF is driven by the audio deocder
and not the video decoder. This forced rework of the analog front end (AFE)
configuration to not rely on autoconfiguration, but instead set up the AFE mux,
AFE parameters, and ADC1 & ADC2 configurations explicitly.Reported-by: Helen Buus
Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
tda10048: Add ability to select I/F at attach time.
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
Set the analog gain at sensor init. Also set a sensible default value.
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
Add the possibility to control the exposure on the vv6410 sensor
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
The ASUS A6K needs the vflip quirk. Thanks to Marco Baldo for reporting
the issue.Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab