Re: [PATCH RFCv3 02/10] [media] videodev2.h: Remove the unused old V4L1 buffer types

2013-04-21 Thread Hans Verkuil
On Sun April 21 2013 21:00:31 Mauro Carvalho Chehab wrote: > Those aren't used anywhere for a long time. Drop it. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil > --- > include/uapi/linux/videodev2.h | 21 - > 1 file changed, 21 deletions(-) > > diff --gi

Re: [PATCH RFCv3 01/10] [media] Add initial SDR support at V4L2 API

2013-04-21 Thread Hans Verkuil
On Sun April 21 2013 21:00:30 Mauro Carvalho Chehab wrote: > Adds the basic API bits for Software Digital Radio (SDR) at > the V4L2 API. > > A normal radio device is actually radio and hardware demod. As the demod > is in hardware, several things that are required for the demodulate the > signal (

Re: [PATCH v2 1/5] V4L2: I2C: ML86V7667 video decoder driver

2013-04-21 Thread Hans Verkuil
On Sun April 21 2013 20:40:30 Sergei Shtylyov wrote: > From: Vladimir Barinov > > Add OKI Semiconductor ML86V7667 video decoder driver. > > Signed-off-by: Vladimir Barinov > [Sergei: added v4l2_device_unregister_subdev() call to the error cleanup path > of > ml86v7667_probe(); some cleanup.] >

RE: [PATCH v3] drm/exynos: enable FIMD clocks

2013-04-21 Thread Inki Dae
Hi, Mr. Vikas Please fix the below typos Viresh pointed out and my comments. > -Original Message- > From: Viresh Kumar [mailto:viresh.ku...@linaro.org] > Sent: Monday, April 01, 2013 5:51 PM > To: Vikas Sajjan > Cc: dri-de...@lists.freedesktop.org; linux-samsung-...@vger.kernel.org; > jy0

Re: [PATCH RFC] media: videobuf2: fix the length check for mmap

2013-04-21 Thread Prabhakar Lad
On Fri, Apr 19, 2013 at 4:48 PM, Mauro Carvalho Chehab wrote: > Em Fri, 19 Apr 2013 15:16:56 +0530 > Prabhakar lad escreveu: > >> From: Lad, Prabhakar >> >> From commit 068a0df76023926af958a336a78bef60468d2033 >> "[media] media: vb2: add length check for mmap" >> patch verifies that the mmap() s

Re: [PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-21 Thread Viresh Kumar
On 21 April 2013 20:13, Tomasz Figa wrote: > 3) after those two changes, all that remains is to fix compliance with > Common Clock Framework, in other words: > > s/clk_enable/clk_prepare_enable/ > > and > > s/clk_disable/clk_disable_unprepare/ We don't have to call clk_{un}prepare() everytime fo

Re: [PATCH v2 2/4] ARM: shmobile: r8a7779: add VIN support

2013-04-21 Thread Simon Horman
On Sat, Apr 20, 2013 at 04:10:45AM +0400, Sergei Shtylyov wrote: > Hello. > > On 04/20/2013 02:32 AM, Sergei Shtylyov wrote: > > >From: Vladimir Barinov > > > >Add VIN clocks and platform devices for R8A7779 SoC; add function to register > >the VIN platform devices. > > > >Signed-off-by: Vladimi

Re: [PATCH 0/5] OKI ML86V7667 driver and R8A7778/BOCK-W VIN support

2013-04-21 Thread Simon Horman
On Sun, Apr 21, 2013 at 12:13:45AM +0400, Sergei Shtylyov wrote: > Hello. > >Here's the set of 4 patches against the Simon Horman's 'renesas.git' repo, > 'renesas-next-20130419' tag and my recent yet unapplied patches. Here we > add the OKI ML86V7667 video decoder driver and the VIN platform c

Re: [PATCH v9 00/12] Driver for Si476x series of chips

2013-04-21 Thread Andrey Smirnov
On Sun, Apr 21, 2013 at 2:33 AM, Mauro Carvalho Chehab wrote: > Em 21-04-2013 02:53, Andrey Smirnov escreveu: > >>> I applied all the MFD patches from this patchset (All 4 first ones), plus >>> a >>> follow up one for fixing the i2c related warning. >>> I also squashed the REGMAP_I2C dependency in

Re: [GIT PULL FOR v3.10] Camera sensors patches

2013-04-21 Thread Laurent Pinchart
Hi Mauro, On Wednesday 17 April 2013 11:36:39 Mauro Carvalho Chehab wrote: > Em Wed, 17 Apr 2013 14:55:03 +0100 Mark Brown escreveu: > > On Tue, Apr 16, 2013 at 08:04:52PM +0200, Sylwester Nawrocki wrote: > > > It's probably more clean to provide a dummy clock/regulator in a host > > > driver (pla

Re: [PATCH] [media] uvcvideo: quirk PROBE_DEF for Dell Studio / OmniVision webcam

2013-04-21 Thread Laurent Pinchart
Hi Kamal, On Wednesday 17 April 2013 09:38:43 Kamal Mostafa wrote: > On Wed, 2013-04-17 at 01:05 +0200, Laurent Pinchart wrote: > > Hi Kamal, > > > > On Monday 15 April 2013 12:01:51 Kamal Mostafa wrote: > > > BugLink: https://bugs.launchpad.net/bugs/1168430 > > > > > > OminiVision webcam 0x05a9

Re: [PATCH RFC] media: videobuf2: fix the length check for mmap

2013-04-21 Thread Laurent Pinchart
Hi Mauro, On Friday 19 April 2013 08:18:01 Mauro Carvalho Chehab wrote: > Em Fri, 19 Apr 2013 15:16:56 +0530 Prabhakar lad escreveu: > > From: Lad, Prabhakar > > > > From commit 068a0df76023926af958a336a78bef60468d2033 > > "[media] media: vb2: add length check for mmap" > > patch verifies that t

[PATCH] MAINTAINERS: Add linux-samsung-soc list to all related entries

2013-04-21 Thread Tomasz Figa
Several entries in MAINTAINERS file related to Samsung SoCs do not point to linux-samsung-soc mailing list, which is supposed to collect all Samsung SoC-related threads, to ease following of Samsung SoC-related work. This leads to a problem with people skipping this mailing list in their posts, eve

Re: [PATCH v2 4/5] ARM: shmobile: BOCK-W: add VIN and ML86V7667 support

2013-04-21 Thread Sergei Shtylyov
Hello. On 04/21/2013 10:42 PM, Sergei Shtylyov wrote: From: Vladimir Barinov Add ML86V7667 platform devices on BOCK-W board, configure VIN0/1 pins, and register VIN0/1 devices with the ML86V7667 specific platform data. Signed-off-by: Vladimir Barinov [Sergei: some macro/comment cleanup; upd

[PATCH RFCv3 00/10] Add SDR at V4L2 API

2013-04-21 Thread Mauro Carvalho Chehab
This is a version 3 of the V4L2 API bits to support Software Digital Radio (SDR). Changes from version 2: - Patches got better described and named; - Merged all SDR analog TV into just one field; - Documented what parts of the [RFC v2013-04-11] SDR API REQUIREMEN

[PATCH RFCv3 08/10] [media] tuner-core: store tuner ranges at tuner struct

2013-04-21 Thread Mauro Carvalho Chehab
Instead of using global values for tuner ranges, store them internally. That fixes the need of using a different range for SDR radio, and will help to latter add a tuner ops to retrieve the tuner range for SDR mode. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/v4l2-core/tuner-core.c |

[PATCH RFCv3 03/10] [media] V4L2 api: Add a buffer capture type for SDR

2013-04-21 Thread Mauro Carvalho Chehab
As SDR devices are not video, VBI or RDS devices, it needs its own buffer type for capture. Also, as discussed at: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/63123 It should be a way to enumerate and select the formats that the hardware supports, as one hard

[PATCH RFCv3 10/10] [media] tuner-core: add support for SDR set_tuner

2013-04-21 Thread Mauro Carvalho Chehab
Most SDR devices use TV tuners. Those generally require to know what is the type of the envelope, in order to adjust their PLL's and filters. Add support to tune them via tuner-core. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/v4l2-core/tuner-core.c | 220 ++--

[PATCH RFCv3 04/10] [media] V4L2 sdr API: Add fields for VIDIOC_[G|S]_TUNER

2013-04-21 Thread Mauro Carvalho Chehab
As discussed at: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/63123 SDR radio require some other things at to set. VIDIOC_[G|S]_TUNER is currently not enough. I proposed there to create an extra ioctl for it, but the thing is that VIDIOC_[G|S]_TUNER is meant t

[PATCH RFCv3 06/10] [media] tuner-core: consider SDR as radio

2013-04-21 Thread Mauro Carvalho Chehab
There are several tests at tuner-core for radio. Extend it to also cover SDR radio. Some of the changes here may need to be reviewed, SDR support will actually be implemented there. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/v4l2-core/tuner-core.c | 22 -- includ

[PATCH RFCv3 01/10] [media] Add initial SDR support at V4L2 API

2013-04-21 Thread Mauro Carvalho Chehab
Adds the basic API bits for Software Digital Radio (SDR) at the V4L2 API. A normal radio device is actually radio and hardware demod. As the demod is in hardware, several things that are required for the demodulate the signal (IF, bandwidth, sample rate, RF/IF filters, etc) are internal to the dev

[PATCH RFCv3 02/10] [media] videodev2.h: Remove the unused old V4L1 buffer types

2013-04-21 Thread Mauro Carvalho Chehab
Those aren't used anywhere for a long time. Drop it. Signed-off-by: Mauro Carvalho Chehab --- include/uapi/linux/videodev2.h | 21 - 1 file changed, 21 deletions(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 4aa24c3..5d8ee92 100644 ---

[PATCH RFCv3 07/10] [media] tuner-core: add SDR support for g_tuner

2013-04-21 Thread Mauro Carvalho Chehab
Properly initialize the fields for VIDIOC_G_TUNER, if the device is in SDR mode. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/v4l2-core/tuner-core.c | 29 + 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/drivers/media/v4l2-core/tuner-core.c

[PATCH RFCv3 05/10] [media] v4l2-ioctl: Add tuner ioctl support for SDR radio type

2013-04-21 Thread Mauro Carvalho Chehab
The tuner ioctl's are optimized to handle internally the differences between TV and normal AM/FM radio. SDR is different than both, so it needs its own way of doing things. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/v4l2-core/v4l2-ioctl.c | 89 ++-- i

[PATCH RFCv3 09/10] [media] tuner-core: add support to get the tuner frequency range

2013-04-21 Thread Mauro Carvalho Chehab
For SDR, the tuner range is different than TV or radio ranges. Only the actual tuner driver knows what's the range supported by the device. So, call the tuner to get it, if the tuner supports. Otherwise, keep the TV range, as is it broader than the radio one. Signed-off-by: Mauro Carvalho Chehab

[PATCH v2 5/5] ARM: shmobile: BOCK-W: enable VIN and ML86V7667 in defconfig

2013-04-21 Thread Sergei Shtylyov
From: Vladimir Barinov Add the VIN and ML86V7667 drivers to 'bockw_defconfig'. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- arch/arm/configs/bockw_defconfig |7 +++ 1 file changed, 7 insertions(+) Index: renesas/arch/arm/configs/bockw_defconfig

[PATCH v2 4/5] ARM: shmobile: BOCK-W: add VIN and ML86V7667 support

2013-04-21 Thread Sergei Shtylyov
From: Vladimir Barinov Add ML86V7667 platform devices on BOCK-W board, configure VIN0/1 pins, and register VIN0/1 devices with the ML86V7667 specific platform data. Signed-off-by: Vladimir Barinov [Sergei: some macro/comment cleanup; updated the copyrights.] Signed-off-by: Sergei Shtylyov ---

[PATCH v2 3/5] ARM: shmobile: r8a7778: add VIN support

2013-04-21 Thread Sergei Shtylyov
From: Vladimir Barinov Add VIN clocks and platform devices on R8A7778 SoC; add function to register the VIN platform devices. Signed-off-by: Vladimir Barinov [Sergei: added 'id' parameter check to r8a7779_add_vin_device(), used '*pdata' in *sizeof* operator there, renamed some variables, marked

[PATCH v2 1/5] V4L2: I2C: ML86V7667 video decoder driver

2013-04-21 Thread Sergei Shtylyov
From: Vladimir Barinov Add OKI Semiconductor ML86V7667 video decoder driver. Signed-off-by: Vladimir Barinov [Sergei: added v4l2_device_unregister_subdev() call to the error cleanup path of ml86v7667_probe(); some cleanup.] Signed-off-by: Sergei Shtylyov --- Changes since the original posting

[PATCH v2 0/5] OKI ML86V7667 driver and R8A7778/BOCK-W VIN support

2013-04-21 Thread Sergei Shtylyov
Hello. Here's the set of 5 patches against the Simon Horman's 'renesas.git' repo, 'renesas-next-20130419' tag and my recent yet unapplied patches. Here we add the OKI ML86V7667 video decoder driver and the VIN platform code working on the R8A7778/BOCK-W with ML86V7667. The driver patch also app

cron job: media_tree daily build: WARNINGS

2013-04-21 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: Sun Apr 21 19:00:22 CEST 2013 git branch: test git hash: 6695be6863b75620ffa6d422965680ce785cb7c8 gcc versi

Re: [patch] [media] media: info leak in media_device_enum_entities()

2013-04-21 Thread Dan Carpenter
On Sun, Apr 21, 2013 at 01:51:56PM +0200, walter harms wrote: > > > Am 21.04.2013 13:10, schrieb Dan Carpenter: > > The last part of the "u_ent.name" buffer isn't cleared so it still has > > uninitialized stack memory. > > > > Signed-off-by: Dan Carpenter > > > > diff --git a/drivers/media/med

Re: [PATCH RFCv1] [media] V4L2 sdr API: Add fields for VIDIOC_[G|S]_TUNER

2013-04-21 Thread Mauro Carvalho Chehab
Em 20-04-2013 17:10, Mauro Carvalho Chehab escreveu: SDR radio requires some other things at VIDIOC_[G|S]_TUNER. Change the ioctl to support them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/media/v4l/vidioc-g-tuner.xml | 30 +--- drivers/media/tuners/tuner-xc2

Re: [PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-21 Thread Tomasz Figa
Hi Inki, On Sunday 21 of April 2013 22:36:08 Inki Dae wrote: > 2013/4/21 Tomasz Figa > > > Hi, > > > > On Monday 08 of April 2013 16:41:54 Viresh Kumar wrote: > > > On 8 April 2013 16:37, Vikas Sajjan wrote: > > > > While migrating to common clock framework (CCF), I found that the > > > > FIMD

Re: [PATCH RFC v2 0/3] Add SDR at V4L2 API

2013-04-21 Thread Mauro Carvalho Chehab
Em 21-04-2013 09:03, Antti Palosaari escreveu: You just jumped over all my previous hard work and introduced implementation, as I tried still to study and finalize all requirements As it is posted on the topics, this is RFC. I'm sure changes will be needed there before having it on some st

Re: [RFC] Motion Detection API

2013-04-21 Thread Ismael Luceno
On Fri, 12 Apr 2013 17:36:16 +0200 Hans Verkuil wrote: > This RFC looks at adding support for motion detection to V4L2. This > is the main missing piece that prevents the go7007 and solo6x10 > drivers from being moved into mainline from the staging directory. <...> > Comment? Questions? +1. I lik

Re: [PATCH RFC v2 0/3] Add SDR at V4L2 API

2013-04-21 Thread Antti Palosaari
You just jumped over all my previous hard work and introduced implementation, as I tried still to study and finalize all requirements http://palosaari.fi/linux/kernel_sdr_api_requirement_specification.txt I don't like that. I want just study all requirements and implement those as a once a

Re: [patch] [media] media: info leak in media_device_enum_entities()

2013-04-21 Thread walter harms
Am 21.04.2013 13:10, schrieb Dan Carpenter: > The last part of the "u_ent.name" buffer isn't cleared so it still has > uninitialized stack memory. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c > index 99b80b6..1957c0d 100644 > ---

[patch] [media] media: info leak in media_device_enum_entities()

2013-04-21 Thread Dan Carpenter
The last part of the "u_ent.name" buffer isn't cleared so it still has uninitialized stack memory. Signed-off-by: Dan Carpenter diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c index 99b80b6..1957c0d 100644 --- a/drivers/media/media-device.c +++ b/drivers/media/media-devi

Re: [PATCH RFC v2 0/3] Add SDR at V4L2 API

2013-04-21 Thread Mauro Carvalho Chehab
Em 21-04-2013 07:34, Hans Verkuil escreveu: On Sun April 21 2013 12:09:51 Mauro Carvalho Chehab wrote: Em 21-04-2013 06:34, Hans Verkuil escreveu: Hi Mauro, On Sat April 20 2013 19:51:11 Mauro Carvalho Chehab wrote: This is a version 2 of the V4L2 API bits to support Software Digital Radio (S

Re: [PATCH RFC v2 0/3] Add SDR at V4L2 API

2013-04-21 Thread Hans Verkuil
On Sun April 21 2013 12:09:51 Mauro Carvalho Chehab wrote: > Em 21-04-2013 06:34, Hans Verkuil escreveu: > > Hi Mauro, > > > > On Sat April 20 2013 19:51:11 Mauro Carvalho Chehab wrote: > >> This is a version 2 of the V4L2 API bits to support Software Digital > >> Radio (SDR). > > > > It looks pret

Re: [PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-21 Thread Tomasz Figa
Hi, On Monday 08 of April 2013 16:41:54 Viresh Kumar wrote: > On 8 April 2013 16:37, Vikas Sajjan wrote: > > While migrating to common clock framework (CCF), I found that the FIMD > > clocks were pulled down by the CCF. > > If CCF finds any clock(s) which has NOT been claimed by any of the > > dr

Re: [PATCH 1/5] V4L2: I2C: ML86V7667 video decoder driver

2013-04-21 Thread Vladimir Barinov
Hi Sylwester, Thank you for the review. Sylwester Nawrocki wrote +static struct v4l2_subdev_video_ops ml86v7667_subdev_video_ops = { +.querystd = ml86v7667_querystd, +.g_input_status = ml86v7667_g_input_status, +.enum_mbus_fmt = ml86v7667_enum_mbus_fmt, +.try_mbus_fmt = ml86v7

Re: [PATCH RFC v2 0/3] Add SDR at V4L2 API

2013-04-21 Thread Mauro Carvalho Chehab
Em 21-04-2013 06:34, Hans Verkuil escreveu: Hi Mauro, On Sat April 20 2013 19:51:11 Mauro Carvalho Chehab wrote: This is a version 2 of the V4L2 API bits to support Software Digital Radio (SDR). It looks pretty good to me. Just one question though: what is your rationale for choosing a new de

Re: [PATCH RFC v2 0/3] Add SDR at V4L2 API

2013-04-21 Thread Hans Verkuil
Hi Mauro, On Sat April 20 2013 19:51:11 Mauro Carvalho Chehab wrote: > This is a version 2 of the V4L2 API bits to support Software Digital > Radio (SDR). It looks pretty good to me. Just one question though: what is your rationale for choosing a new device name (/dev/sdrX) instead of using the e

Re: [PATCH v9 00/12] Driver for Si476x series of chips

2013-04-21 Thread Mauro Carvalho Chehab
Em 21-04-2013 02:53, Andrey Smirnov escreveu: I applied all the MFD patches from this patchset (All 4 first ones), plus a follow up one for fixing the i2c related warning. I also squashed the REGMAP_I2C dependency into patch #4. It's all in mfd-next now, I'd appreciate if you could double check i

Re: [PATCH RFC v1] Add SDR at V4L2 API

2013-04-21 Thread Mauro Carvalho Chehab
Em 21-04-2013 06:16, Oliver Schinagl escreveu: On 04/20/13 23:44, Oliver Schinagl wrote: -- 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 Not sure w

Re: [PATCH RFC v1] Add SDR at V4L2 API

2013-04-21 Thread Oliver Schinagl
On 04/20/13 23:44, Oliver Schinagl wrote: -- 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 Not sure what happened there, I know I typed a bit more th