Re: [PATCH v4.1 3/3] v4l: Add V4L2_BUF_FLAG_TIMESTAMP_SOF and use it

2014-02-05 Thread Sakari Ailus
On Sun, Feb 02, 2014 at 10:27:49AM +0100, Laurent Pinchart wrote: Hi Hans, On Friday 31 January 2014 18:21:15 Hans Verkuil wrote: On 01/31/2014 05:42 PM, Sakari Ailus wrote: On Fri, Jan 31, 2014 at 04:45:56PM +0100, Hans Verkuil wrote: How about defining a capability for use with

[PATCH 3/9] DocBook: document RF tuner bandwidth controls

2014-02-05 Thread Antti Palosaari
Add documentation for RF tuner bandwidth controls. These controls are used to set filters on tuner signal path. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- Documentation/DocBook/media/v4l/controls.xml | 19 +++ 1 file changed, 19

[PATCH 9/9] msi3101: provide RF tuner bands from sub-device

2014-02-05 Thread Antti Palosaari
Let the msi001 tuner driver report its frequency bands. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 48 + 1 file changed, 15 insertions(+), 33 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c

[PATCH 6/9] rtl2832_sdr: use formats defined in V4L2 API

2014-02-05 Thread Antti Palosaari
Switch new formats V4L2_SDR_FMT_CU8 and V4L2_SDR_FMT_CU16LE as those are now defined in API. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git

[PATCH 8/9] msi001: implement .enum_freq_bands()

2014-02-05 Thread Antti Palosaari
Implement .enum_freq_bands() in order to provide VIDIOC_ENUM_FREQ_BANDS IOCTL from sub-device. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/msi001.c | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH 4/9] v4l: uapi: add SDR formats CU8 and CU16LE

2014-02-05 Thread Antti Palosaari
V4L2_SDR_FMT_CU8 — Complex unsigned 8-bit IQ sample V4L2_SDR_FMT_CU16LE — Complex unsigned 16-bit little endian IQ sample Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- include/uapi/linux/videodev2.h | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 2/9] v4l: reorganize RF tuner control ID numbers

2014-02-05 Thread Antti Palosaari
It appears that controls are ordered by ID number. Change order of controls by reorganizing assigned IDs now as we can. It is not reasonable possible after the API is released. Leave some spare space between IDs too for future extensions. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti

[PATCH 7/9] v4l: add enum_freq_bands support to tuner sub-device

2014-02-05 Thread Antti Palosaari
Add VIDIOC_ENUM_FREQ_BANDS, enumerate supported frequency bands, IOCTL support for sub-device tuners too. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- include/media/v4l2-subdev.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/9] rtl28xxu: fix switch-case style issue

2014-02-05 Thread Antti Palosaari
Use break, not return, for every case. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c index

[PATCH 5/9] msi3101: use formats defined in V4L2 API

2014-02-05 Thread Antti Palosaari
Switch new formats V4L2_SDR_FMT_CU8 and V4L2_SDR_FMT_CU16LE as those are now defined in API. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git

Re: [PATCH] [media] uvcvideo: Enable VIDIOC_CREATE_BUFS

2014-02-05 Thread Hans Verkuil
On 02/05/14 08:57, Hans Verkuil wrote: On 02/05/2014 12:04 AM, Sylwester Nawrocki wrote: Hi, On 02/03/2014 10:03 AM, Hans Verkuil wrote: Hi Philipp, Laurent, On 02/02/2014 02:04 PM, Philipp Zabel wrote: On Sun, Feb 02, 2014 at 11:21:13AM +0100, Laurent Pinchart wrote: Hi Hans, On Friday

Re: [PATCH] e4000: implement controls via v4l2 control framework

2014-02-05 Thread Antti Palosaari
Moi Hans On 05.02.2014 09:28, Hans Verkuil wrote: Hi Antti, Hmm, it's a bit ugly this code. I have some suggestions below... Yeah, there is some redundancy, I though also the same. But functionality is now correct what I see. It is mostly that DVB gate-control logic which I personally

Re: [RFC PATCH 0/4] rc: Adding support for sysfs wakeup scancodes

2014-02-05 Thread Mauro Carvalho Chehab
Hi Antti, Em Wed, 05 Feb 2014 09:03:29 +0200 Antti Seppälä a.sepp...@gmail.com escreveu: On 4 February 2014 19:54, Mauro Carvalho Chehab m.che...@samsung.com wrote: Em Thu, 23 Jan 2014 21:11:09 +0200 Antti Seppälä a.sepp...@gmail.com escreveu: On 23 January 2014 00:01, Mauro Carvalho

Re: [RFC PATCH 0/4] rc: Adding support for sysfs wakeup scancodes

2014-02-05 Thread James Hogan
Hi Antti, On 05/02/14 07:03, Antti Seppälä wrote: To wake up with nuvoton-cir we need to program several raw ir pulse/space lengths to the hardware and not a scancode. James's approach doesn't support this. Do the raw pulse/space lengths your hardware requires correspond to a single IR packet

Re: [RFC PATCH 0/4] rc: Adding support for sysfs wakeup scancodes

2014-02-05 Thread James Hogan
On 05/02/14 09:39, James Hogan wrote: Hi Antti, On 05/02/14 07:03, Antti Seppälä wrote: To wake up with nuvoton-cir we need to program several raw ir pulse/space lengths to the hardware and not a scancode. James's approach doesn't support this. Do the raw pulse/space lengths your

Re: au0828 errors and mangled video with Hauppauge 950Q

2014-02-05 Thread Devin Heitmueller
On Wed, Feb 5, 2014 at 1:05 AM, Connor Behan connor.be...@gmail.com wrote: Ccing Devin. I'm pretty sure the analog side has a problem at the driver level. On most days, one cannot pickup an ATSC signal where I am, so I am trying to capture analog video with a Hauppauge WinTV HVR 950Q. Whether

[linuxtv-media:master 89/499] WARNING: usleep_range should not use min == max args; see Documentation/timers/timers-howto.txt

2014-02-05 Thread Fengguang Wu
Hi Sergio, FYI, there are new warnings show up in tree: git://linuxtv.org/media_tree.git master head: 9fd9330c2d0ae6c149ec817ec71797f943db98b4 commit: b4a0477c0b87c5b7a20a84df8cf81311d1efb226 [89/499] [media] v4l: omap4iss: Add support for OMAP4 camera interface - CSI receivers ::

[linuxtv-media:master 100/499] WARNING: usleep_range should not use min == max args; see Documentation/timers/timers-howto.txt

2014-02-05 Thread Fengguang Wu
Hi Laurent, FYI, there are new warnings show up in tree: git://linuxtv.org/media_tree.git master head: 9fd9330c2d0ae6c149ec817ec71797f943db98b4 commit: ca6f19b1cf0fac0fdf1ef06d6bed0f07f8f37ae9 [100/499] [media] v4l: omap4iss: Replace udelay/msleep with usleep_range :: branch date: 15

[linuxtv-media:master 91/499] WARNING: usleep_range should not use min == max args; see Documentation/timers/timers-howto.txt

2014-02-05 Thread Fengguang Wu
Hi Sergio, FYI, there are new warnings show up in tree: git://linuxtv.org/media_tree.git master head: c29b8f3149f2916e98fc3b8d6c1df2137d003979 commit: b4a0477c0b87c5b7a20a84df8cf81311d1efb226 [91/499] [media] v4l: omap4iss: Add support for OMAP4 camera interface - CSI receivers ::

[media:v4l_for_linus 91/499] WARNING: usleep_range should not use min == max args; see Documentation/timers/timers-howto.txt

2014-02-05 Thread Fengguang Wu
Hi Sergio, FYI, there are new warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus head: 6c3df5da67f1f53df78c7e20cd53a481dc28eade commit: b4a0477c0b87c5b7a20a84df8cf81311d1efb226 [91/499] [media] v4l: omap4iss: Add support for OMAP4

[linuxtv-media:master 224/499] WARNING: Comparing jiffies is almost always wrong; prefer time_after, time_before and friends

2014-02-05 Thread Fengguang Wu
Hi Dinesh, FYI, there are new warnings show up in tree: git://linuxtv.org/media_tree.git master head: c29b8f3149f2916e98fc3b8d6c1df2137d003979 commit: 5173332c1e420d49829bd7e4bc5c83b0205037c5 [224/499] [media] si4713: Modified i2c driver to handle cases where interrupts are not used ::

Re: Conexant PCI-8604PW 4 channel BNC Video capture card (bttv)

2014-02-05 Thread Robert Longbottom
On 28 Jan 2014, at 02:02 AM, Daniel Glöckner daniel...@gmx.net wrote: On Mon, Jan 27, 2014 at 08:55:00PM +, Robert Longbottom wrote: As for the CPLD, there is not much we can do. I count 23 GPIOs going to that chip. And we don't know if some of these are outputs of the CPLD, making it a

[PATCH] media: i2c: Kconfig: create dependency to MEDIA_CONTROLLER for adv7*

2014-02-05 Thread Marcus Folkesson
These chips makes use of the media_entity in the v4l2_subdev struct and is therefor dependent of the MEDIA_CONTROLLER config. Signed-off-by: Marcus Folkesson marcus.folkes...@gmail.com --- drivers/media/i2c/Kconfig |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 39/47] adv7604: Inline the to_sd function

2014-02-05 Thread Laurent Pinchart
This one line function is called in a single location. Inline it. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/media/i2c/adv7604.c

[PATCH 19/47] adv7511: Remove deprecated video-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7511.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/i2c/adv7511.c

[PATCH 21/47] s5p-tv: hdmi: Remove deprecated video-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH 44/47] adv7604: Specify the default input through platform data

2014-02-05 Thread Laurent Pinchart
And set input routing when initializing the device. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 7 +++ include/media/adv7604.h | 2 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/media/i2c/adv7604.c

[PATCH 13/47] tvp7002: Add pad-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings operation is deprecated. Implement the pad-level version of the operation to prepare for the removal of the video version. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/tvp7002.c | 4 1 file changed, 4 insertions(+) diff

[PATCH 23/47] ths8200: Remove deprecated video-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/ths8200.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/i2c/ths8200.c

[PATCH 01/47] v4l: of: Support empty port nodes

2014-02-05 Thread Laurent Pinchart
Empty port nodes are allowed but currently unsupported as the v4l2_of_get_next_endpoint() function assumes that all port nodes have at least an endpoint. Fix this. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/v4l2-core/v4l2-of.c | 52

[PATCH 47/47] adv7604: Add endpoint properties to DT bindings

2014-02-05 Thread Laurent Pinchart
Add support for the hsync-active, vsync-active and pclk-sample properties to the DT bindings and control BT.656 mode implicitly. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- .../devicetree/bindings/media/i2c/adv7604.txt | 13 + drivers/media/i2c/adv7604.c

[PATCH 04/47] v4l: Add 12-bit YUV 4:2:0 media bus pixel codes

2014-02-05 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 288 + include/uapi/linux/v4l2-mediabus.h | 6 +- 2 files changed, 293 insertions(+), 1 deletion(-) diff --git

[PATCH 43/47] adv7604: Control hot-plug detect through a GPIO

2014-02-05 Thread Laurent Pinchart
Replace the ADV7604-specific hotplug notifier with a GPIO to control the HPD pin directly instead of going through the bridge driver. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 47 +

[PATCH 40/47] adv7604: Store I2C addresses and clients in arrays

2014-02-05 Thread Laurent Pinchart
This allows replacing duplicate code blocks by loops over the arrays. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 248 +--- include/media/adv7604.h | 30 +++--- 2 files changed, 88 insertions(+),

[PATCH 28/47] adv7604: Add missing include to linux/types.h

2014-02-05 Thread Laurent Pinchart
From: Lars-Peter Clausen l...@metafoo.de The file is using u8 which is defined in linux/types.h. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/adv7604.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 41/47] adv7604: Replace *_and_or() functions with *_clr_set()

2014-02-05 Thread Laurent Pinchart
The *_and_or() functions take an 'and' bitmask to be ANDed with the register value before ORing it with th 'or' bitmask. As the functions are used to mask and set bits selectively, this requires the caller to invert the 'and' bitmask and is thus error prone. Replace those functions with a

[PATCH 30/47] adv7604: Don't put info string arrays on the stack

2014-02-05 Thread Laurent Pinchart
From: Lars-Peter Clausen l...@metafoo.de We do not want to modify the info string arrays ever, so no need to waste stack space for them. While we are at it also make them const. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[PATCH 00/47] ADV7611 support

2014-02-05 Thread Laurent Pinchart
Hello, This patch set implements support for the ADV7611 in the adv7604 driver. It also comes up with new features such as output format configuration through pad format operations, hot-plug detect control through GPIO and DT support. Patches 06/47 to 27/47 replace the subdev video DV timings

[PATCH 42/47] adv7604: Sort headers alphabetically

2014-02-05 Thread Laurent Pinchart
This helps locating duplicates and inserting new headers. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c

[PATCH 32/47] adv7604: Cache register contents when reading multiple bits

2014-02-05 Thread Laurent Pinchart
When extracting multiple bits from a single register read the register once and extract the bits on the read value. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 33 - 1 file changed, 20 insertions(+), 13

[PATCH 03/47] v4l: Add UYVY10_1X20 and VYUY10_1X20 media bus pixel codes

2014-02-05 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 104 + include/uapi/linux/v4l2-mediabus.h | 4 +- 2 files changed, 107 insertions(+), 1 deletion(-) diff --git

[PATCH 31/47] adv7604: Add 16-bit read functions for CP and HDMI

2014-02-05 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 48 ++--- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index cfcbb6d..3d6876d

[PATCH 38/47] adv7604: Remove deprecated video-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 35 +-- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git

[PATCH 17/47] s5p-tv: mixer: Switch to pad-level DV operations

2014-02-05 Thread Laurent Pinchart
The video-level enum_dv_timings and dv_timings_cap operations are deprecated in favor of the pad-level versions. All subdev drivers implement the pad-level versions, switch to them. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Laurent

[PATCH 25/47] v4l: subdev: Remove deprecated video-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h | 4 1 file changed, 4 deletions(-) diff --git a/include/media/v4l2-subdev.h

[PATCH 27/47] v4l: Add support for DV timings ioctls on subdev nodes

2014-02-05 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- .../DocBook/media/v4l/vidioc-dv-timings-cap.xml| 27 ++ .../DocBook/media/v4l/vidioc-enum-dv-timings.xml | 27 +- drivers/media/v4l2-core/v4l2-subdev.c | 15

[PATCH 35/47] adv7604: Add sink pads

2014-02-05 Thread Laurent Pinchart
The ADV7604 has sink pads for its HDMI and analog inputs. Report them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 71 - include/media/adv7604.h | 14 - 2 files changed, 45

[PATCH 36/47] adv7604: Make output format configurable through pad format operations

2014-02-05 Thread Laurent Pinchart
Replace the dummy video format operations by pad format operations that configure the output format. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 243 +++- include/media/adv7604.h | 47 ++---

[PATCH 34/47] adv7604: Remove subdev control handlers

2014-02-05 Thread Laurent Pinchart
Control operations are handled by the control framework and the subdev control handlers are never called directly. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 18/47] ad9389b: Remove deprecated video-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/ad9389b.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/i2c/ad9389b.c

[PATCH 22/47] s5p-tv: hdmiphy: Remove deprecated video-level DV timings operation

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings operation is deprecated and unused. Remove it. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/platform/s5p-tv/hdmiphy_drv.c | 1 - 1 file

[PATCH 37/47] adv7604: Add pad-level DV timings support

2014-02-05 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 47 + 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 181372a..0925fe8

[PATCH 11/47] s5p-tv: hdmiphy: Add pad-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings operation is deprecated. Implement the pad-level version of the operation to prepare for the removal of the video version. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Laurent Pinchart

[PATCH 05/47] v4l: Add 12-bit YUV 4:2:2 media bus pixel codes

2014-02-05 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 240 + include/uapi/linux/v4l2-mediabus.h | 6 +- 2 files changed, 245 insertions(+), 1 deletion(-) diff --git

[PATCH 09/47] adv7842: Add pad-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated. Implement the pad-level version of those operations to prepare for the removal of the video version. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7842.c | 8 1 file

[PATCH 33/47] adv7604: Add adv7611 support

2014-02-05 Thread Laurent Pinchart
From: Lars-Peter Clausen l...@metafoo.de This patch adds support for the Analog Devices ADV7611 HDMI receiver. The adv7611 is quite similar to the adv7604. It has only one instead of four HDMI inputs and no analog frontend though. Also some register bits have been shuffled around, but large parts

[PATCH 06/47] v4l: Add pad-level DV timings subdev operations

2014-02-05 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h| 4 include/uapi/linux/videodev2.h | 8 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index

[PATCH 02/47] v4l: Add UYVY10_2X10 and VYUY10_2X10 media bus pixel codes

2014-02-05 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 128 + include/uapi/linux/v4l2-mediabus.h | 4 +- 2 files changed, 131 insertions(+), 1 deletion(-) diff --git

[PATCH 08/47] adv7511: Add pad-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated. Implement the pad-level version of those operations to prepare for the removal of the video version. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7511.c | 67

[PATCH 20/47] adv7842: Remove deprecated video-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7842.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/i2c/adv7842.c

[PATCH 16/47] media: staging: davinci: vpfe: Switch to pad-level DV operations

2014-02-05 Thread Laurent Pinchart
The video-level enum_dv_timings and dv_timings_cap operations are deprecated in favor of the pad-level versions. All subdev drivers implement the pad-level versions, switch to them. Cc: Prabhakar Lad prabhakar.cse...@gmail.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH 26/47] v4l: Improve readability by not wrapping ioctl number #define's

2014-02-05 Thread Laurent Pinchart
Wrapping the #define's at a 80 columns boundary just obfuscates the code. Don't do that. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/uapi/linux/v4l2-subdev.h | 33 + 1 file changed, 13 insertions(+), 20 deletions(-) diff --git

[PATCH 15/47] media: davinci: vpif: Switch to pad-level DV operations

2014-02-05 Thread Laurent Pinchart
The video-level enum_dv_timings and dv_timings_cap operations are deprecated in favor of the pad-level versions. All subdev drivers implement the pad-level versions, switch to them. Cc: Prabhakar Lad prabhakar.cse...@gmail.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH 14/47] media: bfin_capture: Switch to pad-level DV operations

2014-02-05 Thread Laurent Pinchart
The video-level enum_dv_timings and dv_timings_cap operations are deprecated in favor of the pad-level versions. All subdev drivers implement the pad-level versions, switch to them. Cc: Scott Jiang scott.jiang.li...@gmail.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH 07/47] ad9389b: Add pad-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated. Implement the pad-level version of those operations to prepare for the removal of the video version. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/ad9389b.c | 69

[PATCH 24/47] tvp7002: Remove deprecated video-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated and unused. Remove them. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/tvp7002.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/tvp7002.c

[PATCH 29/47] adv7604: Add support for asynchronous probing

2014-02-05 Thread Laurent Pinchart
From: Lars-Peter Clausen l...@metafoo.de Signed-off-by: Lars-Peter Clausen l...@metafoo.de Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/i2c/adv7604.c

[PATCH 12/47] ths8200: Add pad-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated. Implement the pad-level version of those operations to prepare for the removal of the video version. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/ths8200.c | 12 1 file

[PATCH 10/47] s5p-tv: hdmi: Add pad-level DV timings operations

2014-02-05 Thread Laurent Pinchart
The video enum_dv_timings and dv_timings_cap operations are deprecated. Implement the pad-level version of those operations to prepare for the removal of the video version. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Laurent Pinchart

[PATCH 46/47] adv7604: Add LLC polarity configuration

2014-02-05 Thread Laurent Pinchart
Add an inv_llc_pol field to platform data to control the clock polarity. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 3 ++- include/media/adv7604.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 00/47] ADV7611 support

2014-02-05 Thread Hans Verkuil
Hi Laurent! On 02/05/2014 05:41 PM, Laurent Pinchart wrote: Hello, This patch set implements support for the ADV7611 in the adv7604 driver. It also comes up with new features such as output format configuration through pad format operations, hot-plug detect control through GPIO and DT

Re: [PATCH 06/47] v4l: Add pad-level DV timings subdev operations

2014-02-05 Thread Hans Verkuil
On 02/05/2014 05:41 PM, Laurent Pinchart wrote: Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h| 4 include/uapi/linux/videodev2.h | 8 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 27/47] v4l: Add support for DV timings ioctls on subdev nodes

2014-02-05 Thread Hans Verkuil
Hi Laurent, Some comments: On 02/05/2014 05:42 PM, Laurent Pinchart wrote: Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- .../DocBook/media/v4l/vidioc-dv-timings-cap.xml| 27 ++ .../DocBook/media/v4l/vidioc-enum-dv-timings.xml | 27

Re: [RFC PATCH 0/4] rc: Adding support for sysfs wakeup scancodes

2014-02-05 Thread Antti Seppälä
On 5 February 2014 11:42, James Hogan james.ho...@imgtec.com wrote: On 05/02/14 09:39, James Hogan wrote: Hi Antti, On 05/02/14 07:03, Antti Seppälä wrote: To wake up with nuvoton-cir we need to program several raw ir pulse/space lengths to the hardware and not a scancode. James's approach

[PATCH] s2255drv: remove redundant parameter

2014-02-05 Thread Dean Anderson
Removing duplicate fmt from buffer structure. Signed-off-by: Dean Anderson linux-...@sensoray.com --- drivers/media/usb/s2255/s2255drv.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/media/usb/s2255/s2255drv.c b/drivers/media/usb/s2255/s2255drv.c index

[PATCH] s2255drv: buffer setup fix

2014-02-05 Thread Dean Anderson
Buffer setup should check if minimum number of buffers is used. Signed-off-by: Dean Anderson linux-...@sensoray.com --- drivers/media/usb/s2255/s2255drv.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/media/usb/s2255/s2255drv.c

[PATCH] s2255drv: fix for return code not checked

2014-02-05 Thread Dean Anderson
Start acquisition return code was not being checked. Return error if start acquisition fails. Signed-off-by: Dean Anderson linux-...@sensoray.com --- drivers/media/usb/s2255/s2255drv.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git

[PATCH] s2255drv: dynamic memory allocation efficiency fix

2014-02-05 Thread Dean Anderson
Driver was allocating a kernel buffer each time it was sending a command. It is better to allocate this buffer once at startup. Signed-off-by: Dean Anderson linux-...@sensoray.com --- drivers/media/usb/s2255/s2255drv.c | 67 1 file changed, 37

[PATCH v2] s2255drv: fix for return code not checked

2014-02-05 Thread Dean Anderson
Start acquisition return code was not being checked. Return error if start acquisition fails. Signed-off-by: Dean Anderson linux-...@sensoray.com --- drivers/media/usb/s2255/s2255drv.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git

Re: [RFC PATCH 0/4] rc: Adding support for sysfs wakeup scancodes

2014-02-05 Thread Mauro Carvalho Chehab
Em Wed, 05 Feb 2014 20:16:04 +0200 Antti Seppälä a.sepp...@gmail.com escreveu: On 5 February 2014 11:42, James Hogan james.ho...@imgtec.com wrote: On 05/02/14 09:39, James Hogan wrote: Hi Antti, On 05/02/14 07:03, Antti Seppälä wrote: To wake up with nuvoton-cir we need to program

[PATCH] s2255drv: cleanup of s2255_fh

2014-02-05 Thread Dean Anderson
Removal of unnecessary parameters from s2255_fh. Signed-off-by: Dean Anderson linux-...@sensoray.com --- drivers/media/usb/s2255/s2255drv.c | 94 +--- 1 file changed, 44 insertions(+), 50 deletions(-) diff --git a/drivers/media/usb/s2255/s2255drv.c

Re: [PATCH] s2255drv: port to videobuf2

2014-02-05 Thread Dean Anderson
On 2014-02-04 04:04, Hans Verkuil wrote: Hi Dean, On 02/03/14 18:06, Dean Anderson wrote: On 2014-02-03 03:51, Hans Verkuil wrote: Hi Dean, Some specific comments below, but first two general comments: It is easier to review if at least the removal of the old s2255_fh struct was done as a

[PATCH] rc: ir-raw: Load ir-sharp-decoder module at init

2014-02-05 Thread James Hogan
Commit 1d184b0bc13d ([media] media: rc: add raw decoder for Sharp protocol) added a new raw IR decoder for the sharp protocol, but didn't add the code to load the module at init as is done for other raw decoders, so add that code now. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro

Re: [PATCH] s2255drv: port to videobuf2

2014-02-05 Thread Hans Verkuil
On 02/05/2014 10:44 PM, Dean Anderson wrote: On 2014-02-04 04:04, Hans Verkuil wrote: Hi Dean, On 02/03/14 18:06, Dean Anderson wrote: On 2014-02-03 03:51, Hans Verkuil wrote: Hi Dean, Some specific comments below, but first two general comments: It is easier to review if at least the

affiliate

2014-02-05 Thread SA
May I request for your cooperation to move funds and invest same in your country. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

cron job: media_tree daily build: WARNINGS

2014-02-05 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Thu Feb 6 04:00:37 CET 2014 git branch: test git hash: 261cb200e7227820cd0056435d7c1a3a9c476766 gcc

[patch] [media] dvb-frontends: decimal vs hex typo in ChannelConfiguration()

2014-02-05 Thread Dan Carpenter
From the context this should be hex 0x80 instead of decimal 80. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Untested. diff --git a/drivers/media/dvb-frontends/tda18271c2dd.c b/drivers/media/dvb-frontends/tda18271c2dd.c index 2c54586ac07f..de0a1c110972 100644 ---