safe/jmp/linux-2.6
14 years agoV4L/DVB (13002): Adds support for Zolid Hybrid PCI card:
Henk Vergonet [Fri, 18 Sep 2009 23:44:37 +0000 (20:44 -0300)]
V4L/DVB (13002): Adds support for Zolid Hybrid PCI card:

http://linuxtv.org/wiki/index.php/Zolid_Hybrid_TV_Tuner

test status analog (PAL-B):
- Sometimes picture is noisy, but it becomes crystal clear after
  switching between channels. (happens for example at 687.25 Mhz)
- On a lower frequency (511.25 Mhz) the picture is always sharp, but
  lacks colour.
- No sound problems.
- radio untested.

Digital:
- DVB-T/H stream reception works.
- Would expect to see some more channels in the higher frequency region.

Overall is the impression that sensitivity still needs improvement
both in analog and digital modes.

Signed-off-by: Henk Vergonet <Henk.Vergonet@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (13001): Key filter for BeholdTV cards.
Dmitri Belimov [Mon, 7 Sep 2009 23:36:05 +0000 (20:36 -0300)]
V4L/DVB (13001): Key filter for BeholdTV cards.

When fast push-pull button of remote control we can received incorrect
key code 0x00. Key information from IR decoder has ID of remote control 2 bytes,
byte of key code and byte of mirror key code.
Correct data
0x86 0x6B 0x00 0xFF

Wrong data
0x86 0x6B 0x00 0x00

This patch added additional test of mirror byte for filtering.

Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (13000): add driver for 774 Friio White USB ISDB-T receiver
Akihiro Tsukada [Tue, 25 Aug 2009 05:39:51 +0000 (02:39 -0300)]
V4L/DVB (13000): add driver for 774 Friio White USB ISDB-T receiver

This patch adds driver for 774 Friio White, ISDB-T USB receiver

Friio White is an USB 2.0 ISDB-T receiver. (http://www.friio.com/)
The device has a GL861 chip and a Comtech JDVBT90502 canned tuner module.
This driver ignores all the frontend_parameters except frequency,
as ISDB-T shares the same parameter configuration across the country
and thus the device can work like an intelligent one.

As this device does not include a CAM nor hardware descrambling feature,
the driver passes through scrambled TS streams.

There is Friio Black, a variant for ISDB-S, which shares the same USB
Vendor/Product ID with White, but it is not supported in this driver.
They should be identified in the initialization sequence,
but this feature is not tested.

Signed-off-by: Akihiro Tsukada <tskd2@yahoo.co.jp>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12999): Add a driver for Earthsoft PT1
Mauro Carvalho Chehab [Sun, 23 Aug 2009 03:51:22 +0000 (00:51 -0300)]
V4L/DVB (12999): Add a driver for Earthsoft PT1

Add a driver for Earthsoft PT1

Eearthsoft PT1 is a PCI card for Japanese broadcasting with two ISDB-S
and ISDB-T demodulators.

This card has neither MPEG decoder nor conditional access module
onboard. It transmits only compressed and possibly encrypted MPEG data
over the PCI bus, so you need an external software decoder and a
decrypter to watch TV on your computer.

This driver is originally developed by Tomoaki Ishikawa
<tomy@users.sourceforge.jp> by reverse engineering.

[mchehab@redhat.com: renamed isdb_ts to isdbs_ts to use the current standard]
Signed-off-by: HIRANO Takahito <hiranotaka@zng.info>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12997): Add the DTV_ISDB_TS_ID property for ISDB_S
HIRANO Takahito [Fri, 18 Sep 2009 14:17:54 +0000 (11:17 -0300)]
V4L/DVB (12997): Add the DTV_ISDB_TS_ID property for ISDB_S

In ISDB-S, time-devision duplex is used to multiplexing several waves
in the same frequency. Each wave is identified by its own transport
stream ID, or TS ID. We need to provide some way to specify this ID
from user applications to handle ISDB-S frontends.

This code has been tested with the Earthsoft PT1 driver.

[mchehab@infradead.org: Fix merge conflicts with isdbt and rename the new parameter to DTV_ISDBS_TS_ID]
Signed-off-by: HIRANO Takahito <hiranotaka@zng.info>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB(12993b): gl860: Prevent a potential risk of zeroing a floating pointer
Mauro Carvalho Chehab [Sat, 19 Sep 2009 03:49:11 +0000 (00:49 -0300)]
V4L/DVB(12993b): gl860: Prevent a potential risk of zeroing a floating pointer

drivers/media/video/gspca/gl860/gl860.c: In function ‘gl860_build_control_table’:
drivers/media/video/gspca/gl860/gl860.c:119: warning: ‘sd_ctrls’ may be used uninitialized in this function

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12993a): saa7164: Fix compilation warning on i386
Mauro Carvalho Chehab [Sat, 19 Sep 2009 03:41:18 +0000 (00:41 -0300)]
V4L/DVB (12993a): saa7164: Fix compilation warning on i386

drivers/media/video/saa7164/saa7164-buffer.c: In function ‘saa7164_buffer_alloc’:
drivers/media/video/saa7164/saa7164-buffer.c:110: warning: cast to pointer from integer of different size
drivers/media/video/saa7164/saa7164-buffer.c:112: warning: cast to pointer from integer of different size

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12906d): V4L : vpif updates for DM6467 vpif capture driver
Muralidharan Karicheri [Wed, 16 Sep 2009 17:31:20 +0000 (14:31 -0300)]
V4L/DVB (12906d): V4L : vpif updates for DM6467 vpif capture driver

Following changes done for vpif driver to support vpif capture:-
1) Current version of display driver defined vpif register
   space as part for vpif display platform driver resource
   This is not correct since vpif is common across capture
   and display drivers. So the resource iomap function is
   moved to this module
2) Since there are common registers, a spinlock is added for
   mutual exclusion.

This has incorporated comments against version v0 of the patch series

Resending to merge to V4L linux-next

Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12906c): V4L : vpif capture driver for DM6467
Muralidharan Karicheri [Wed, 16 Sep 2009 17:31:10 +0000 (14:31 -0300)]
V4L/DVB (12906c): V4L : vpif capture driver for DM6467

This is the vpif capture bridge driver for DM6467.  This video
supports two video channels each having a tvp5147 device at
the input. This allows simultaneous capture of NTSC/PAL video
in each of this channel. Both MMAP and USERPTR io mechanism
are supported. Currently buffer allocation happens at REQBUF
ioctl request. Since USERPTR IO is supported, this is not an
issue since user applications can allocate buffers and pass
the user space address to the driver. Following are TODOs :-
1) Adding support for allocation of buffers at init
2) VBI/HBI data service

This has incorporated comments received against version v0
of the patch series.

Resending to merge V4l linux-next
 create mode 100644 drivers/media/video/davinci/vpif_capture.c
 create mode 100644 drivers/media/video/davinci/vpif_capture.h

Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12906b): V4L : vpif capture - Kconfig and Makefile changes
Muralidharan Karicheri [Wed, 16 Sep 2009 17:31:02 +0000 (14:31 -0300)]
V4L/DVB (12906b): V4L : vpif capture - Kconfig and Makefile changes

Adds Kconfig and Makefile changes required for vpif capture driver

Resending to merge to V4L linux-next

Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12906a): V4L : vpif display updates to support vpif capture
Muralidharan Karicheri [Wed, 16 Sep 2009 17:30:53 +0000 (14:30 -0300)]
V4L/DVB (12906a): V4L : vpif display updates to support vpif capture

The structure name for vpif display driver changed since it was not unique. So this
update is done to reflect the same. Also removed the code related to register
address space iomap. Uses v4l2_i2c_new_subdev_board() instead of
v4l2_i2c_new_probed_subdev() so that platform data can be added for subdevice
configuration for polarities.

This has incorporated comments against version v0 of the patch series.

Resending the original patch for merge to V4L linux-next

Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12725): v4l: warn when desired devnodenr is in use & add _no_warn function
Hans Verkuil [Sun, 6 Sep 2009 10:54:00 +0000 (07:54 -0300)]
V4L/DVB (12725): v4l: warn when desired devnodenr is in use & add _no_warn function

Warn when the desired device node number is already in use, except when
the new video_register_device_no_warn function is called since in some
use-cases that warning is not relevant.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12724): v4l2-dev: add simple wrapper functions around the devnode numbers
Hans Verkuil [Mon, 7 Sep 2009 06:40:24 +0000 (03:40 -0300)]
V4L/DVB (12724): v4l2-dev: add simple wrapper functions around the devnode numbers

There are some subtle differences in the way the devnode numbers are
handled depending on whether the FIXED_MINOR_RANGES config option is
set. Add some simple wrapper functions to handle that correctly.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12723): ivtv/cx18: replace 'kernel number' with 'device node number'.
Hans Verkuil [Fri, 19 Jun 2009 14:54:00 +0000 (11:54 -0300)]
V4L/DVB (12723): ivtv/cx18: replace 'kernel number' with 'device node number'.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12722): v4l2-dev: replace 'kernel number' by 'device node number'.
Hans Verkuil [Sun, 6 Sep 2009 10:13:14 +0000 (07:13 -0300)]
V4L/DVB (12722): v4l2-dev: replace 'kernel number' by 'device node number'.

The term 'kernel number' is very vague, so replace it with the somewhat more
descriptive term 'device node number'.

In one place the local variable 'nr' was used to create the device node number
of the new device name. This has been replaced with the vdev->num field to
more clearly mark this as being the device node number and not the minor
number.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12541): v4l: remove video_register_device_index
Hans Verkuil [Fri, 19 Jun 2009 14:32:56 +0000 (11:32 -0300)]
V4L/DVB (12541): v4l: remove video_register_device_index

video_register_device_index is never actually called, instead the
stream index number is always calculated automatically.

This patch removes this function and simplifies the internal get_index
function since that can now always just return the first free index.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12540): v4l: simplify v4l2_i2c_new_subdev and friends
Hans Verkuil [Mon, 10 Aug 2009 05:49:08 +0000 (02:49 -0300)]
V4L/DVB (12540): v4l: simplify v4l2_i2c_new_subdev and friends

Rewrite v4l2_i2c_new_subdev as a simplified version of v4l2_i2c_new_subdev_cfg
and remove v4l2_i2c_new_probed_subdev and v4l2_i2c_new_probed_subdev_addr.

This simplifies this API substantially.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12580): soc-camera: remove now unneeded subdevice group ID assignments
Guennadi Liakhovetski [Sat, 29 Aug 2009 20:36:50 +0000 (17:36 -0300)]
V4L/DVB (12580): soc-camera: remove now unneeded subdevice group ID assignments

Since we are not using v4l2_device_call_* calls any more, we don't need to
initialise subdevice .grp_id any more. This also fixes compiler warnings on
64-bit platforms.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12536): soc-camera: remove .gain and .exposure struct soc_camera_device...
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:53:23 +0000 (11:53 -0300)]
V4L/DVB (12536): soc-camera: remove .gain and .exposure struct soc_camera_device members

This makes the soc-camera interface for V4L2 subdevices thinner yet. Handle
gain and exposure internally in each driver just like all other controls.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12535): soc-camera: remove .init() and .release() methods from struct soc_ca...
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:53:23 +0000 (11:53 -0300)]
V4L/DVB (12535): soc-camera: remove .init() and .release() methods from struct soc_camera_ops

Remove unneeded soc-camera operations, this also makes the soc-camera API to
v4l2 subdevices thinner.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12534): soc-camera: V4L2 API compliant scaling (S_FMT) and cropping (S_CROP)
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:50:46 +0000 (11:50 -0300)]
V4L/DVB (12534): soc-camera: V4L2 API compliant scaling (S_FMT) and cropping (S_CROP)

The initial soc-camera scaling and cropping implementation turned out to be
incompliant with the V4L2 API, e.g., it expected the user to specify cropping
in output window pixels, instead of input window pixels. This patch converts
the soc-camera core and all drivers to comply with the standard.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12533): soc-camera: Use video device object for output in host drivers
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:47:00 +0000 (11:47 -0300)]
V4L/DVB (12533): soc-camera: Use video device object for output in host drivers

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12532): soc-camera: Use camera device object for core output
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:47:00 +0000 (11:47 -0300)]
V4L/DVB (12532): soc-camera: Use camera device object for core output

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12531): soc-camera: Use I2C device for dev_{dbg,info,...} output in all...
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:47:00 +0000 (11:47 -0300)]
V4L/DVB (12531): soc-camera: Use I2C device for dev_{dbg,info,...} output in all clients

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12530): soc-camera: switch to using v4l2_subdev_call()
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:59 +0000 (11:46 -0300)]
V4L/DVB (12530): soc-camera: switch to using v4l2_subdev_call()

Use v4l2_subdev_call() instead of v4l2_device_call_until_err() in all host
drivers and in soc-camera core.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12529): soc-camera: switch to s_crop v4l2-subdev video operation
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:54 +0000 (11:46 -0300)]
V4L/DVB (12529): soc-camera: switch to s_crop v4l2-subdev video operation

Remove set_crop soc-camera device method and switch to s_crop from v4l2-subdev
video operations. Also extend non-i2c drivers to also hold a pointer to their
v4l2-subdev instance in control device driver-data, i.e., in
dev_get_drvdata((struct device *)to_soc_camera_control(icd))

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12528): sh_mobile_ceu_camera: implement host-side image scaling
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:54 +0000 (11:46 -0300)]
V4L/DVB (12528): sh_mobile_ceu_camera: implement host-side image scaling

Use host-side image scaling when the client fails to set the requested format.
We also have to take scaling into account when performing host-side cropping.
Similar to cropping we try to use client-side scaling as much as possible to
preserve bus bandwidth and optimise the frame-rate.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12527): tw9910: do not lie about cropping abilities
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:53 +0000 (11:46 -0300)]
V4L/DVB (12527): tw9910: do not lie about cropping abilities

The current tw9910 driver does not implement cropping correctly. Therefore, and
also because various rectangles in struct soc_camera_device are in user scale,
we cannot and shall not use rect_current as window location.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12526): ov772x: do not use scaling for cropping
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:53 +0000 (11:46 -0300)]
V4L/DVB (12526): ov772x: do not use scaling for cropping

OV772x sensors cannot crop, they only support two fixed formats: VGA and QVGA.
We should not change the format when requested to crop, only S_FMT can do this.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12525): soc-camera: prohibit geometry change with initialised buffers
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:53 +0000 (11:46 -0300)]
V4L/DVB (12525): soc-camera: prohibit geometry change with initialised buffers

Prohibit S_FMT and S_CROP with a different window width or height after video
buffer initialisation. This simplifies the work to be done in specific host and
client drivers, and it doesn't seem to make much sense to allow these changes.
We do however allow S_CROP with equal width and height to just move the window,
this doesn't affect video buffer management and is usually easy enough to
implement.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12524): soc-camera: S_CROP V4L2 API compliance fix
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:52 +0000 (11:46 -0300)]
V4L/DVB (12524): soc-camera: S_CROP V4L2 API compliance fix

V4L2 API mandates, that drivers do not update the argument of the S_CROP
ioctl() with the actual geometry. Comply.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12523): tw9910: return updated geometry on successful S_FMT and S_CROP
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:52 +0000 (11:46 -0300)]
V4L/DVB (12523): tw9910: return updated geometry on successful S_FMT and S_CROP

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12522): sh-mobile-ceu-camera: implement host-side cropping
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:52 +0000 (11:46 -0300)]
V4L/DVB (12522): sh-mobile-ceu-camera: implement host-side cropping

Not all video capture devices can configure arbitrary cropping, whereas the
CEU module on SuperH CPUs can crop with pixel precision. However, we want to
use camera cropping if possible to save bandwidth and increase the frame-rate.
This patch verifies whether the camera managed to crop exactly the requested
rectangle, and if not, uses host-side cropping. To be able to crop on CEU we
have to preserve camera rectangle too, for which the host_priv member in
struct soc_camera_device is used. We now allocate memory dynamically, thus we
have to use the .put_formats() method from struct soc_camera_host_ops to free
it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12521): soc-camera: use .s_std() from struct v4l2_subdev_core_ops
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:51 +0000 (11:46 -0300)]
V4L/DVB (12521): soc-camera: use .s_std() from struct v4l2_subdev_core_ops

Remove .set_std() method from struct soc_camera_ops, use .s_std() from
struct v4l2_subdev_core_ops instead.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12520): sh-mobile-ceu-camera: do not wait for interrupt when releasing buffers
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:51 +0000 (11:46 -0300)]
V4L/DVB (12520): sh-mobile-ceu-camera: do not wait for interrupt when releasing buffers

Patch

[PATCH] video: use videobuf_waiton() in sh_mobile_ceu free_buffer()

was not quite correct. It closed a race, but introduced a potential
lock-up, if for some reason an interrupt does not come. This has been
observed in tests with tw9910. This patch safely dequeues buffers without
waiting for their completion. It also moves a buffer state assignment
under a spinlock to make it atomic with queuing of the buffer.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12519): soc-camera: put pixel format initialisation back in probe, add ...
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:43 +0000 (11:46 -0300)]
V4L/DVB (12519): soc-camera: put pixel format initialisation back in probe, add .put_formats()

The move of format translation initialisation into soc_camera_open() was
temporary for the soc-camera as platform driver intermediate step, put it back
into soc_camera_probe(). Also add a .put_formats() method to
soc_camera_host_ops to free any resources host driver might have allocated in
.get_formats().

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12518): ov772x: S_CROP must return actually configured geometry
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:42 +0000 (11:46 -0300)]
V4L/DVB (12518): ov772x: S_CROP must return actually configured geometry

V4L2 drivers are allowed to configure a geometry different than what has been
requested by the user with S_CROP, but then they have to adjust the input
rectangle accordingly. Fix ov772x to comply with this requirement.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12517): mt9t031: improve rectangle placement in invalid S_CROP
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:42 +0000 (11:46 -0300)]
V4L/DVB (12517): mt9t031: improve rectangle placement in invalid S_CROP

1. soc-camera always requests a valid rectangle, when calling .s_fmt(), no need
to check and adjust
2. in .s_crop(), if the rectangle exceeds sensor limits, push it to the
respective border instead of centering
3. take into account left and top borders when checking

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12516): ov772x: successful S_FMT and S_CROP must update user-provided rectangle
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:42 +0000 (11:46 -0300)]
V4L/DVB (12516): ov772x: successful S_FMT and S_CROP must update user-provided rectangle

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12515): soc-camera: use struct v4l2_rect in struct soc_camera_device
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:46:17 +0000 (11:46 -0300)]
V4L/DVB (12515): soc-camera: use struct v4l2_rect in struct soc_camera_device

Switch to using struct v4l2_rect in struct soc_camera_device for uniformity and
simplicity.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12514): sh_mobile_ceu_camera: add a control for the camera low-pass filter
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:44:15 +0000 (11:44 -0300)]
V4L/DVB (12514): sh_mobile_ceu_camera: add a control for the camera low-pass filter

Use the V4L2_CID_SHARPNESS control to switch SH-mobile camera low-pass filter.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12513): soc-camera: add support for camera-host controls
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:44:15 +0000 (11:44 -0300)]
V4L/DVB (12513): soc-camera: add support for camera-host controls

Until now soc-camera only supported client (sensor) controls. This patch
enables camera-host drivers to implement their own controls too.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12512): ov772x: implement a band-stop filter support
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:44:14 +0000 (11:44 -0300)]
V4L/DVB (12512): ov772x: implement a band-stop filter support

The V4L2_CID_BAND_STOP_FILTER control is used to switch the "Banding Filter" on
OV772x cameras on and off and to set the minimum AEC value in BDBASE register.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12511): V4L2: add a new V4L2_CID_BAND_STOP_FILTER integer control
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:44:14 +0000 (11:44 -0300)]
V4L/DVB (12511): V4L2: add a new V4L2_CID_BAND_STOP_FILTER integer control

Add a new V4L2_CID_BAND_STOP_FILTER integer control, which either switches the
band-stop filter off, or sets it to a certain strength.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12510): soc-camera: (partially) convert to v4l2-(sub)dev API
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:43:33 +0000 (11:43 -0300)]
V4L/DVB (12510): soc-camera: (partially) convert to v4l2-(sub)dev API

Convert the soc-camera framework to use the v4l2-(sub)dev API. Start using
v4l2-subdev operations. Only a part of the interface between the
soc_camera core, soc_camera host drivers on one side and soc_camera device
drivers on the other side is replaced so far. The rest of the interface
will be replaced in incremental steps, and will require extensions and,
possibly, modifications to the v4l2-subdev code.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12509): sh: prepare board-ap325rxa.c for v4l2-subdev conversion
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:34:18 +0000 (11:34 -0300)]
V4L/DVB (12509): sh: prepare board-ap325rxa.c for v4l2-subdev conversion

We will be registering and unregistering the soc_camera_platform platform
device multiple times, therefore we need a .release() method and have to
nullify the kobj.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12508): soc-camera: remove unused .iface from struct soc_camera_platform_info
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:34:17 +0000 (11:34 -0300)]
V4L/DVB (12508): soc-camera: remove unused .iface from struct soc_camera_platform_info

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12507): sh: soc-camera updates
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:34:17 +0000 (11:34 -0300)]
V4L/DVB (12507): sh: soc-camera updates

Update ap325rxa to specify .bus_id in struct soc_camera_link explicitly, remove
unused .iface from struct soc_camera_platform_info.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12506): soc-camera: convert to platform device
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:28:22 +0000 (11:28 -0300)]
V4L/DVB (12506): soc-camera: convert to platform device

Convert soc-camera core and all drivers to platform device API. We already
converted platforms to register a platform device for each soc-camera client,
now we remove the compatibility code and switch completely to the new scheme.
This is a preparatory step for the v4l2-subdev conversion.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12505): soc_camera_platform: pass device pointer from soc-camera core on...
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:06:22 +0000 (11:06 -0300)]
V4L/DVB (12505): soc_camera_platform: pass device pointer from soc-camera core on .add_device()

Add a struct device pointer to struct soc_camera_platform_info and let the user
(ap325rxa) pass it down to soc_camera_platform.c in its .add_device() method.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12504): soc-camera: prepare soc_camera_platform.c and its users for conversion
Guennadi Liakhovetski [Tue, 25 Aug 2009 14:06:21 +0000 (11:06 -0300)]
V4L/DVB (12504): soc-camera: prepare soc_camera_platform.c and its users for conversion

soc_camera_platform.c is only used by y SuperH ap325rxa board. This patch
converts soc_camera_platform.c and its users for the soc-camera platform-
device conversion and also extends soc-camera core to handle non-I2C cameras.

Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12254): v4l: Makefile and config files for vpfe capture driver
Muralidharan Karicheri [Mon, 6 Jul 2009 18:08:31 +0000 (15:08 -0300)]
V4L/DVB (12254): v4l: Makefile and config files for vpfe capture driver

This adds Makefile and Kconfig changes to build vpfe capture driver.

Reviewed by: Laurent Pinchart <laurent.pinchart@skynet.be>

Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12453a): DaVinci: DM646x: Update the structure name as per header file changes
Chaithrika U S [Mon, 20 Jul 2009 08:03:10 +0000 (05:03 -0300)]
V4L/DVB (12453a): DaVinci: DM646x: Update the structure name as per header file changes

In the platform header file, the subdev_info structure name has been changed
to vpif_subdev_info. Update this change in the driver too.

Applies to v4l-dvb repository.

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12253): v4l: common vpss module for video drivers
Muralidharan Karicheri [Fri, 19 Jun 2009 12:20:16 +0000 (09:20 -0300)]
V4L/DVB (12253): v4l: common vpss module for video drivers

This is a new module added for vpss library functions that are
used for configuring vpss system module. All video drivers will
include vpss.h header file and call functions defined in this
module to configure vpss system module.

Reviewed by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed by: Laurent Pinchart <laurent.pinchart@skynet.be>
Reviewed by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12252): v4l: ccdc types used across ccdc modules for vpfe capture driver
Muralidharan Karicheri [Fri, 19 Jun 2009 12:19:17 +0000 (09:19 -0300)]
V4L/DVB (12252): v4l: ccdc types used across ccdc modules for vpfe capture driver

common types used across CCDC modules

Reviewed by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed by: Laurent Pinchart <laurent.pinchart@skynet.be>

Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12251): v4l: dm644x ccdc module for vpfe capture driver
Muralidharan Karicheri [Fri, 19 Jun 2009 12:18:14 +0000 (09:18 -0300)]
V4L/DVB (12251): v4l: dm644x ccdc module for vpfe capture driver

This is the hw module for DM644x CCDC. This registers with the
vpfe capture driver and provides a set of hw_ops to configure
CCDC for a specific decoder device connected to the VPFE.

Reviewed by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed by: Laurent Pinchart <laurent.pinchart@skynet.be>

Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12250): v4l: dm355 ccdc module for vpfe capture driver
Muralidharan Karicheri [Fri, 3 Jul 2009 08:23:07 +0000 (05:23 -0300)]
V4L/DVB (12250): v4l: dm355 ccdc module for vpfe capture driver

Adds ccdc hw module for DM355 CCDC. This registers with the bridge
driver a set of hw_ops for configuring the CCDC for a specific
decoder device connected to vpfe.

Reviewed by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed by: Laurent Pinchart <laurent.pinchart@skynet.be>
Reviewed by: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12249): v4l: ccdc hw device header file for vpfe capture
Muralidharan Karicheri [Fri, 19 Jun 2009 12:14:10 +0000 (09:14 -0300)]
V4L/DVB (12249): v4l: ccdc hw device header file for vpfe capture

Adds ccdc hw device header for vpfe capture driver

Reviewed by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed by: Laurent Pinchart <laurent.pinchart@skynet.be>

Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12248): v4l: vpfe capture bridge driver for DM355 and DM6446
Muralidharan Karicheri [Mon, 6 Jul 2009 18:04:12 +0000 (15:04 -0300)]
V4L/DVB (12248): v4l: vpfe capture bridge driver for DM355 and DM6446

This the vpfe capture bridge driver for doing video
capture on DM355 and DM6446 evms. The ccdc hw modules register with the
driver and are used for configuring the CCD Controller for a specific
decoder interface. The driver also registers the sub devices required
for a specific evm. More than one sub devices can be registered.
This allows driver to switch dynamically to capture video from
any sub device that is registered. Currently only one sub device
(tvp5146) is supported. But in future this driver is expected
to do capture from sensor devices such as Micron's MT9T001, MT9T031
and MT9P031 etc. The driver currently supports MMAP based IO.

Reviewed by: Laurent Pinchart <laurent.pinchart@skynet.be>
Reviewed by: Alexey Klimov <klimov.linux@gmail.com>

Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12247): tvp514x: formatting comments as per kernel documentation
Muralidharan Karicheri [Wed, 1 Jul 2009 07:20:43 +0000 (04:20 -0300)]
V4L/DVB (12247): tvp514x: formatting comments as per kernel documentation

Fix documentation style based on comments from Mauro.

Reviewed by: Hans Verkuil <hverkuil@xs4all.nl>

Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12246): tvp514x: Migration to sub-device framework
Muralidharan Karicheri [Fri, 19 Jun 2009 10:13:44 +0000 (07:13 -0300)]
V4L/DVB (12246): tvp514x: Migration to sub-device framework

This patch converts TVP514x driver to sub-device framework
from V4L2-int framework.

[hverkuil@xs4all.nl: remove inline from the dump_reg function]
Signed-off-by: Brijesh Jadav <brijesh.j@ti.com>
Signed-off-by: Hardik Shah <hardik.shah@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12201): adv7343: remove unused #include <linux/version.h>
Huang Weiyi [Thu, 2 Jul 2009 19:54:14 +0000 (16:54 -0300)]
V4L/DVB (12201): adv7343: remove unused #include <linux/version.h>

Remove unused #include <linux/version.h>'s in drivers/media/video/adv7343.c.

Cc: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12178): vpif_display: Fix compile time warnings for mutex locking
Chaithrika U S [Mon, 22 Jun 2009 12:02:55 +0000 (09:02 -0300)]
V4L/DVB (12178): vpif_display: Fix compile time warnings for mutex locking

mutex_lock_interruptible return value has to be handled properly to indicate
the status to the higher layers of the kernel.

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12177): dm646x: Add an entry for dm646x EVM card at building system
Chaithrika U S [Tue, 9 Jun 2009 09:38:58 +0000 (06:38 -0300)]
V4L/DVB (12177): dm646x: Add an entry for dm646x EVM card at building system

Makefile and Kconfig changes for DM646x Video Display device, using
davinci/vpif, adv7343 and ths7303 drivers.

Signed-off-by: Manjunath Hadli <mrh@ti.com>
Signed-off-by: Brijesh Jadav <brijesh.j@ti.com>
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12176): davinci/vpif_display: Add VPIF display driver
Chaithrika U S [Tue, 9 Jun 2009 08:55:37 +0000 (05:55 -0300)]
V4L/DVB (12176): davinci/vpif_display: Add VPIF display driver

Adds the VPIF display driver and the associated header file.

Signed-off-by: Manjunath Hadli <mrh@ti.com>
Signed-off-by: Brijesh Jadav <brijesh.j@ti.com>
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12175): davinci/vpif: Add Video Port Interface (VPIF) driver
Chaithrika U S [Tue, 9 Jun 2009 08:54:02 +0000 (05:54 -0300)]
V4L/DVB (12175): davinci/vpif: Add Video Port Interface (VPIF) driver

This code be used by the display and capture drivers.

Signed-off-by: Manjunath Hadli <mrh@ti.com>
Signed-off-by: Brijesh Jadav <brijesh.j@ti.com>
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12992): gspca - m5602-ov7660: Disable red and blue gain for now
Erik Andrén [Mon, 14 Sep 2009 16:14:41 +0000 (13:14 -0300)]
V4L/DVB (12992): gspca - m5602-ov7660: Disable red and blue gain for now

Red and blue gain isn't handled in conformance with the v4l2 specification. Disable them for now.

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12991): gspca - m5602-ov7660: Remove redundant init writes
Erik Andrén [Fri, 26 Jun 2009 12:30:42 +0000 (09:30 -0300)]
V4L/DVB (12991): gspca - m5602-ov7660: Remove redundant init writes

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12990): gspca - m5602-ov7660: Don't set blue and red gain during init
Erik Andrén [Fri, 26 Jun 2009 12:22:59 +0000 (09:22 -0300)]
V4L/DVB (12990): gspca - m5602-ov7660: Don't set blue and red gain during init

Don't set blue and red gain during init as we manuall set it later

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12989): gspca - m5602-ov7660: Don't set gain during init
Erik Andrén [Fri, 26 Jun 2009 12:21:46 +0000 (09:21 -0300)]
V4L/DVB (12989): gspca - m5602-ov7660: Don't set gain during init

We manually set the gain later, no need to do it during init

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12988): gspca - m5602-ov7660: Remove old init
Erik Andrén [Fri, 26 Jun 2009 12:20:04 +0000 (09:20 -0300)]
V4L/DVB (12988): gspca - m5602-ov7660: Remove old init

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12987): gspca - m5602-ov7660: Set the hsync correctly
Erik Andrén [Fri, 26 Jun 2009 07:45:07 +0000 (04:45 -0300)]
V4L/DVB (12987): gspca - m5602-ov7660: Set the hsync correctly

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12986): gspca - m5602-ov7660: Add hflip, vflip controls
Erik Andrén [Fri, 26 Jun 2009 07:35:37 +0000 (04:35 -0300)]
V4L/DVB (12986): gspca - m5602-ov7660: Add hflip, vflip controls

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12985): gspca - m5602-ov7660: Replace magic constants with defines
Erik Andrén [Tue, 23 Jun 2009 05:57:05 +0000 (02:57 -0300)]
V4L/DVB (12985): gspca - m5602-ov7660: Replace magic constants with defines

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12984): gspca - m5602-ov7660: Use a new raw init
Erik Andrén [Sun, 21 Jun 2009 17:58:55 +0000 (14:58 -0300)]
V4L/DVB (12984): gspca - m5602-ov7660: Use a new raw init

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12983): gspca - m5602-ov7660: Add auto exposure ctrl
Erik Andrén [Sat, 20 Jun 2009 16:58:41 +0000 (13:58 -0300)]
V4L/DVB (12983): gspca - m5602-ov7660: Add auto exposure ctrl

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12982): gspca - m5602-ov7660: Add auto gain ctrl
Erik Andrén [Sat, 20 Jun 2009 12:29:00 +0000 (09:29 -0300)]
V4L/DVB (12982): gspca - m5602-ov7660: Add auto gain ctrl

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12981): gspca - m5602-ov7660: Set blue and red gain at init
Erik Andrén [Sat, 20 Jun 2009 11:11:13 +0000 (08:11 -0300)]
V4L/DVB (12981): gspca - m5602-ov7660: Set blue and red gain at init

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12980): gspca - m5602-ov7660: Create auto white balance ctrl
Erik Andrén [Sat, 20 Jun 2009 11:01:27 +0000 (08:01 -0300)]
V4L/DVB (12980): gspca - m5602-ov7660: Create auto white balance ctrl

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12979): gspca - m5602-ov7660: Ensure that the default exposure is set
Erik Andrén [Wed, 17 Jun 2009 16:01:07 +0000 (13:01 -0300)]
V4L/DVB (12979): gspca - m5602-ov7660: Ensure that the default exposure is set

Ensure that the default exposure value is set at startup

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12978): gspca - m5602-ov7660: Add red gain control
Erik Andrén [Wed, 17 Jun 2009 06:14:12 +0000 (03:14 -0300)]
V4L/DVB (12978): gspca - m5602-ov7660: Add red gain control

Hook up the red gain controller

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12977): gspca - m5602-ov7660: Create blue gain control
Erik Andrén [Wed, 17 Jun 2009 06:11:24 +0000 (03:11 -0300)]
V4L/DVB (12977): gspca - m5602-ov7660: Create blue gain control

Hook up a blue gain v4l2 controller

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12976): SAA7164: Removed bus registration messages from driver startup
Steven Toth [Fri, 18 Sep 2009 00:00:40 +0000 (21:00 -0300)]
V4L/DVB (12976): SAA7164: Removed bus registration messages from driver startup

SAA7164: Removed bus registration messages from driver startup

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12975): SAA7164: Remove the i2c client_attach/detach support, no longer...
Steven Toth [Thu, 17 Sep 2009 18:06:45 +0000 (15:06 -0300)]
V4L/DVB (12975): SAA7164: Remove the i2c client_attach/detach support, no longer required.

SAA7164: Remove the i2c client_attach/detach support, no longer required.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12974): SAA7164: Remove the SAA7164 bus id, no longer required.
Steven Toth [Thu, 17 Sep 2009 18:05:38 +0000 (15:05 -0300)]
V4L/DVB (12974): SAA7164: Remove the SAA7164 bus id, no longer required.

SAA7164: Remove the SAA7164 bus id, no longer required.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoDocbook/media: Fix some issues at the docbooks
Mauro Carvalho Chehab [Thu, 17 Sep 2009 16:45:00 +0000 (13:45 -0300)]
Docbook/media: Fix some issues at the docbooks

- Add a few missing entities;
- Some text fixes at remote controllers;
- Add a missing tag at videodev2.h xml version.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12970): saa7164: fix 64bit build warning
Michael Krufky [Sun, 6 Sep 2009 14:13:09 +0000 (11:13 -0300)]
V4L/DVB (12970): saa7164: fix 64bit build warning

Fix the following build warning:

  CC [M]  saa7164-core.o
saa7164-core.c: In function 'saa7164_buffer_deliver':
saa7164-core.c:113: warning: passing argument 2 of 'dvb_dmx_swfilter_packets'
    from incompatible pointer type

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12968): saa7164: fix Kconfig: remove HOTPLUG dependency
Michael Krufky [Sun, 6 Sep 2009 13:59:47 +0000 (10:59 -0300)]
V4L/DVB (12968): saa7164: fix Kconfig: remove HOTPLUG dependency

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12967): saa7164: fix Kconfig: rename DVB_FE_CUSTOMIZE to MEDIA_TUNER_CUSTOMISE
Michael Krufky [Sun, 6 Sep 2009 13:58:42 +0000 (10:58 -0300)]
V4L/DVB (12967): saa7164: fix Kconfig: rename DVB_FE_CUSTOMIZE to MEDIA_TUNER_CUSTOMISE

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12964): tuner-core: add support for NXP TDA18271 without TDA829X demod
Michael Krufky [Wed, 16 Sep 2009 02:04:18 +0000 (23:04 -0300)]
V4L/DVB (12964): tuner-core: add support for NXP TDA18271 without TDA829X demod

Add support for NXP TDA18271 as a standalone tuner, allowing the use of
analog demodulators other than the Philips/NXP TDA829x.

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12962): ce6230: increase BULK transfer size from 512 to 8192
Antti Palosaari [Wed, 16 Sep 2009 23:21:52 +0000 (20:21 -0300)]
V4L/DVB (12962): ce6230: increase BULK transfer size from 512 to 8192

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12960): anysee: coding style fix
Antti Palosaari [Wed, 16 Sep 2009 22:50:25 +0000 (19:50 -0300)]
V4L/DVB (12960): anysee: coding style fix

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12959): anysee: increase BULK transfer size from 512 to 8192
Antti Palosaari [Wed, 16 Sep 2009 22:47:01 +0000 (19:47 -0300)]
V4L/DVB (12959): anysee: increase BULK transfer size from 512 to 8192

increase BULK transfer size from 512 to 8192 to increase wakeups

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12957): Fix MAC address reading from EEPROM in NetUP Dual DVB-S2 CI card.
Abylay Ospan [Wed, 16 Sep 2009 17:11:15 +0000 (14:11 -0300)]
V4L/DVB (12957): Fix MAC address reading from EEPROM in NetUP Dual DVB-S2 CI card.

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12956): Fix gpio mutex in NetUP Dual DVB-S2 CI card.
Abylay Ospan [Wed, 16 Sep 2009 16:08:06 +0000 (13:08 -0300)]
V4L/DVB (12956): Fix gpio mutex in NetUP Dual DVB-S2 CI card.

The card uses the same cx23885 gpio lines for two adapters.
In case of there is several cards in system we must implement
gpio mutex per cx23885 chip.

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12954): gspca - gl860: Addition of GL860 based webcams
Olivier Lorin [Tue, 15 Sep 2009 17:17:07 +0000 (14:17 -0300)]
V4L/DVB (12954): gspca - gl860: Addition of GL860 based webcams

- add the Genesys Logic 05e3:0503 and 05e3:f191 webcam

Signed-off-by: Olivier Lorin <o.lorin@laposte.net>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12953): gspca - vc032x: Bad GPIO of the Samsung Q1 on start/stop streaming.
Jean-Francois Moine [Thu, 3 Sep 2009 16:46:59 +0000 (13:46 -0300)]
V4L/DVB (12953): gspca - vc032x: Bad GPIO of the Samsung Q1 on start/stop streaming.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12951): em28xx: add Reddo DVB-C USB TV Box
Antti Palosaari [Tue, 15 Sep 2009 17:42:13 +0000 (14:42 -0300)]
V4L/DVB (12951): em28xx: add Reddo DVB-C USB TV Box

Support for Reddo DVB-C USB TV Box device. Remote is not working yet.
Thanks to Benjamin Larsson <banan@ludd.ltu.se>

Cc: Benjamin Larsson <banan@ludd.ltu.se>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12950): tuner-simple: add Philips CU1216L
Antti Palosaari [Tue, 15 Sep 2009 17:37:20 +0000 (14:37 -0300)]
V4L/DVB (12950): tuner-simple: add Philips CU1216L

add Philips CU1216L NIM

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoV4L/DVB (12948): v4l1-compat: fix VIDIOC_G_STD handling
Hans Verkuil [Tue, 15 Sep 2009 11:08:20 +0000 (08:08 -0300)]
V4L/DVB (12948): v4l1-compat: fix VIDIOC_G_STD handling

The VIDIOC_G_STD ioctl may not be present in the case of radio receivers.
In that case G_STD will return an error. The v4l1-compat layer should not
attempt to propagate that error to the caller, instead it should be
ignored.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>