RE: [PATCH 2/7] davinci: eliminate use of IO_ADDRESS() on sysmod

2011-03-14 Thread Nori, Sekhar
Hi Arnd, On Mon, Mar 14, 2011 at 21:51:51, Arnd Bergmann wrote: > On Monday 14 March 2011, Manjunath Hadli wrote: > > Current devices.c file has a number of instances where > > IO_ADDRESS() is used for system module register > > access. Eliminate this in favor of a ioremap() > > based access. > >

Re: [PATCH] fix of mutex locking bug in fops_read

2011-03-14 Thread Kyungmin Park
Acked-by: Kyungmin Park On Tue, Mar 15, 2011 at 6:03 AM, Tobias Lorenz wrote: > This patch fixes a mutex locking bug causing userspace processes > to hang indefinitely upon reading the radio device for RDS data. > > Signed-off-by: Nils Faerber > Acked-by: Tobias Lorenz > --- >  drivers/media/r

Re: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-14 Thread Subash Patel
> Also, there might still be situations where being able to STREAMON > without buffers queued would be beneficial. For example, enabling the > device might be a slow/expensive operation and we might prefer to keep > it running even if we don't want any data at the moment. Even for > faster devices,

Re: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-14 Thread Pawel Osciak
Hi, On Mon, Mar 14, 2011 at 03:49, Subash Patel wrote: > VIDIOC_STREAMON expects buffers to be queued before hardware part of > image/video pipe is enabled. From my experience of V4L2 user space, I > have always QBUFfed before invoking the STREAMON. Below is the API > specification which also spe

Re: [Security] [PATCH 00/20] world-writable files in sysfs and debugfs

2011-03-14 Thread Greg KH
On Mon, Mar 14, 2011 at 10:26:05PM -0400, James Bottomley wrote: > On Sat, 2011-03-12 at 23:23 +0300, Vasiliy Kulikov wrote: > > > Vasiliy Kulikov (20): > > > mach-ux500: mbox-db5500: world-writable sysfs fifo file > > > leds: lp5521: world-writable sysfs engine* files > > > leds: lp5523: world-

Re: [PATCH 00/20] world-writable files in sysfs and debugfs

2011-03-14 Thread James Bottomley
On Sat, 2011-03-12 at 23:23 +0300, Vasiliy Kulikov wrote: > > Vasiliy Kulikov (20): > > mach-ux500: mbox-db5500: world-writable sysfs fifo file > > leds: lp5521: world-writable sysfs engine* files > > leds: lp5523: world-writable engine* sysfs files > > misc: ep93xx_pwm: world-writable sysfs fi

Re: [PATCH 3/7] ARM: Samsung: update/rewrite Samsung SYSMMU (IOMMU) driver

2011-03-14 Thread InKi Dae
2011/3/14 Russell King - ARM Linux : > On Mon, Mar 14, 2011 at 09:37:51PM +0900, KyongHo Cho wrote: >> I have also noticed that dma_map_single/page/sg() can map physical >> memory into an arbitrary device address region. >> But it is not enough solution for various kinds of IOMMUs. >> As Kukjin Kim

[PATCH v2] New Jeilin dual-mode camera support

2011-03-14 Thread Patrice Chotard
I have forgotten to include the Documentation/video4linux/gspca.txt modification in my previous patch Patrice. Signed-off-by: Patrice CHOTARD Theodore Kilgore --- Documentation/video4linux/gspca.txt |1 + drivers/media/video/gspca/jeilinj.c | 396 ++---

[PATCH] New Jeilin dual-mode camera support

2011-03-14 Thread Patrice Chotard
Add a new Jeilin dual mode camera support and specific control settings. Signed-off-by: Patrice CHOTARD Theodore Kilgore --- drivers/media/video/gspca/jeilinj.c | 396 ++- 1 files changed, 344 insertions(+), 52 deletions(-) diff --git a/drivers/media/v

Re: [Security] [PATCH 00/20] world-writable files in sysfs and debugfs

2011-03-14 Thread Andrew Morton
On Sat, 12 Mar 2011 23:23:06 +0300 Vasiliy Kulikov wrote: > > Vasiliy Kulikov (20): > > mach-ux500: mbox-db5500: world-writable sysfs fifo file > > leds: lp5521: world-writable sysfs engine* files > > leds: lp5523: world-writable engine* sysfs files > > misc: ep93xx_pwm: world-writable sysfs

[PATCH] fix of mutex locking bug in fops_read

2011-03-14 Thread Tobias Lorenz
This patch fixes a mutex locking bug causing userspace processes to hang indefinitely upon reading the radio device for RDS data. Signed-off-by: Nils Faerber Acked-by: Tobias Lorenz --- drivers/media/radio/si470x/radio-si470x-common.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-)

Re: [PATCH 09/10] MCDE: Add build files and bus

2011-03-14 Thread Rob Clark
On Mon, Mar 14, 2011 at 9:03 AM, Marcus Lorentzon wrote: > On 03/12/2011 04:59 PM, Rob Clark wrote: >> >> On Sun, Dec 5, 2010 at 5:28 AM, Daniel Vetter  wrote: >> >>> >>> On Sat, Dec 04, 2010 at 04:34:22PM -0500, Alex Deucher wrote: >>> This doesn't seem that different from the graphics

[cron job] v4l-dvb daily build: ERRORS

2011-03-14 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Mon Mar 14 19:00:29 CET 2011 git hash:41f3becb7bef489f9e8c35284dd88a1ff59b190c gcc version: i686-linux-gcc (GCC) 4.5.

Preliminary proposal, new APIs for HDMI and DVI control in v4l2

2011-03-14 Thread Martin Bugge (marbugge)
This is a preliminary proposal for an extension to the v4l2 api. To be discussed at the V4L2 'brainstorming' meeting in Warsaw, March 2011 Purpose: Provide basic controls for HDMI and DVI devices. sink : HDMI/DVI/VGA receiver source: HDMI/DVI/VGA transmitter New Controls: = Th

Re: [PATCH 2/7] davinci: eliminate use of IO_ADDRESS() on sysmod

2011-03-14 Thread Arnd Bergmann
On Monday 14 March 2011, Manjunath Hadli wrote: > Current devices.c file has a number of instances where > IO_ADDRESS() is used for system module register > access. Eliminate this in favor of a ioremap() > based access. > > Consequent to this, a new global pointer davinci_sysmodbase > has been int

RE: [PATCH 1/7] davinci: move DM64XX_VDD3P3V_PWDN to devices.c

2011-03-14 Thread Hadli, Manjunath
Please ignore this platform patch series. I will repost it with the core driver patch series as well. Thx, -Manju On Mon, Mar 14, 2011 at 19:25:18, Hadli, Manjunath wrote: > Move the definition of DM64XX_VDD3P3V_PWDN from hardware.h to devices.c since > it is used only there. > > Signed-off-b

Re: [PATCH 2/7] davinci: eliminate use of IO_ADDRESS() on sysmod

2011-03-14 Thread Sergei Shtylyov
Hello. Manjunath Hadli wrote: Current devices.c file has a number of instances where IO_ADDRESS() is used for system module register access. Eliminate this in favor of a ioremap() based access. Consequent to this, a new global pointer davinci_sysmodbase has been introduced which gets initial

Re: [PATCH 09/10] MCDE: Add build files and bus

2011-03-14 Thread Marcus Lorentzon
On 03/12/2011 04:59 PM, Rob Clark wrote: On Sun, Dec 5, 2010 at 5:28 AM, Daniel Vetter wrote: On Sat, Dec 04, 2010 at 04:34:22PM -0500, Alex Deucher wrote: This doesn't seem that different from the graphics chips we support with kms. I don't think it would require much work to use K

[PATCH 7/7] davinci: dm644x EVM: add support for VPBE display

2011-03-14 Thread Manjunath Hadli
This patch adds support for V4L2 video display to DM6446 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs. Signed-off-by: Manjunath Hadli --- arch/arm/mach-davinci/board-dm644x-evm.c| 108 ++- arch/arm/mach-davinci/dm644x.c

[PATCH 6/7] davinci: dm644x: add support for v4l2 video display

2011-03-14 Thread Manjunath Hadli
Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm644x. Signed-off-by: Manjunath Hadli --- arch/arm/mach-davinci/dm644x.c | 130 ++- arch/arm/mach-davinci/include/mach/dm644x.h |4 + 2 files changed, 131 insertio

[PATCH 5/7] davinci: dm644x: move vpfe init from soc to board specific files

2011-03-14 Thread Manjunath Hadli
Move all vpfe platform device registrations to the board specific file like the rest of the devices, and have all of them together. This would remove the restriction of inclusion and registration of vpfe platform devices for non-vpfe boards. Signed-off-by: Manjunath Hadli --- arch/arm/mach-dav

[PATCH 4/7] davinci: dm644x: change vpfe capture structure variables for consistency

2011-03-14 Thread Manjunath Hadli
change the vpfe capture related configuration structure variables from to dm644xevm_ to make it consistent with the rest of the file. Signed-off-by: Manjunath Hadli --- arch/arm/mach-davinci/board-dm644x-evm.c | 24 arch/arm/mach-davinci/dm644x.c | 12

[PATCH 3/7] davinci: dm644x: Replace register base value with a defined macro

2011-03-14 Thread Manjunath Hadli
Replace hard coded value of vpss register base to a define macro DM644X_VPSS_REG_BASE for proper readability Signed-off-by: Manjunath Hadli --- arch/arm/mach-davinci/dm644x.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm

[PATCH 2/7] davinci: eliminate use of IO_ADDRESS() on sysmod

2011-03-14 Thread Manjunath Hadli
Current devices.c file has a number of instances where IO_ADDRESS() is used for system module register access. Eliminate this in favor of a ioremap() based access. Consequent to this, a new global pointer davinci_sysmodbase has been introduced which gets initialized during the initialization of ea

[PATCH 1/7] davinci: move DM64XX_VDD3P3V_PWDN to devices.c

2011-03-14 Thread Manjunath Hadli
Move the definition of DM64XX_VDD3P3V_PWDN from hardware.h to devices.c since it is used only there. Signed-off-by: Manjunath Hadli --- arch/arm/mach-davinci/devices.c |1 + arch/arm/mach-davinci/include/mach/hardware.h |3 --- 2 files changed, 1 insertions(+), 3 deletions(

[PATCH 2/2] [media] videobuf2-dma-contig: make cookie() return a pointer to dma_addr_t

2011-03-14 Thread Pawel Osciak
dma_addr_t may not fit into void* on some architectures. To be safe, make vb2_dma_contig_cookie() return a pointer to dma_addr_t and dereference it in vb2_dma_contig_plane_paddr() back to dma_addr_t. Signed-off-by: Pawel Osciak Reported-by: Hans Verkuil --- drivers/media/video/videobuf2-dma-con

[PATCH 1/2] [media] sh_mobile_ceu_camera: Do not call vb2's mem_ops directly

2011-03-14 Thread Pawel Osciak
Use vb2_dma_contig_plane_paddr to retrieve a physical address for a plane instead of calling an internal mem_ops callback. Signed-off-by: Pawel Osciak --- drivers/media/video/sh_mobile_ceu_camera.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/sh

Re: [PATCH 3/7] ARM: Samsung: update/rewrite Samsung SYSMMU (IOMMU) driver

2011-03-14 Thread Arnd Bergmann
On Monday 14 March 2011, KyongHo Cho wrote: > I think we can consider another solution for the various requirements. > I think one of the most possible solutions is VCMM. > Or we can enhance include/linux/iommu.h with reference of VCMM. I think extending or changing the existing interface would be

RE: [PATCH v2 1/8] media: Changes in include/linux/videodev2.h for MFC 5.1

2011-03-14 Thread Kamil Debski
Hi, Please see my comments below. > -Original Message- > From: Jeongtae Park [mailto:jtp.p...@samsung.com] > Sent: 09 March 2011 14:16 > To: linux-media@vger.kernel.org; linux-samsung-...@vger.kernel.org > Cc: k.deb...@samsung.com; jaeryul...@samsung.com; > kgene@samsung.com; ben-li..

Re: [PATCH 3/7] ARM: Samsung: update/rewrite Samsung SYSMMU (IOMMU) driver

2011-03-14 Thread Russell King - ARM Linux
On Mon, Mar 14, 2011 at 09:37:51PM +0900, KyongHo Cho wrote: > I have also noticed that dma_map_single/page/sg() can map physical > memory into an arbitrary device address region. > But it is not enough solution for various kinds of IOMMUs. > As Kukjin Kim addressed, we need to support larger page

Re: [PATCH 3/7] ARM: Samsung: update/rewrite Samsung SYSMMU (IOMMU) driver

2011-03-14 Thread KyongHo Cho
2011/3/12 Arnd Bergmann : > On Friday 11 March 2011, Marek Szyprowski wrote: >> > > > does not support IOMMUs, but that could be changed by wrapping it >> > > > using the include/asm-generic/dma-mapping-common.h infrastructure. >> > > >> > > ARM dma-mapping framework also requires some additional r

Re: [alsa-devel] radio-maestro broken (conflicts with snd-es1968)

2011-03-14 Thread Hans Verkuil
> On Monday 14 March 2011, Hans Verkuil wrote: >> > At Sat, 12 Mar 2011 19:52:39 +0100, >> > >> > Hans Verkuil wrote: >> >> On Saturday, March 12, 2011 19:19:00 Ondrej Zary wrote: >> >> > Hello, >> >> > the radio-maestro driver is badly broken. It's intended to drive >> the >> >> >> >> radio on >>

[GIT PATCHES FOR 2.6.39] gspca for_v2.6.39

2011-03-14 Thread Jean-Francois Moine
The following changes since commit 41f3becb7bef489f9e8c35284dd88a1ff59b190c: [media] V4L DocBook: update V4L2 version (2011-03-11 18:09:02 -0300) are available in the git repository at: git://linuxtv.org/jfrancois/gspca.git for_v2.6.39 Hans de Goede (1): gspca - sonixb: Update inactive

Re: [Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-14 Thread Subash Patel
VIDIOC_STREAMON expects buffers to be queued before hardware part of image/video pipe is enabled. From my experience of V4L2 user space, I have always QBUFfed before invoking the STREAMON. Below is the API specification which also speaks something same: http://linuxtv.org/downloads/v4l-dvb-apis/vi

Re: [alsa-devel] radio-maestro broken (conflicts with snd-es1968)

2011-03-14 Thread Takashi Iwai
At Mon, 14 Mar 2011 11:28:01 +0100, Ondrej Zary wrote: > > On Monday 14 March 2011, Hans Verkuil wrote: > > > At Sat, 12 Mar 2011 19:52:39 +0100, > > > > > > Hans Verkuil wrote: > > >> On Saturday, March 12, 2011 19:19:00 Ondrej Zary wrote: > > >> > Hello, > > >> > the radio-maestro driver is badl

Re: [alsa-devel] radio-maestro broken (conflicts with snd-es1968)

2011-03-14 Thread Ondrej Zary
On Monday 14 March 2011, Hans Verkuil wrote: > > At Sat, 12 Mar 2011 19:52:39 +0100, > > > > Hans Verkuil wrote: > >> On Saturday, March 12, 2011 19:19:00 Ondrej Zary wrote: > >> > Hello, > >> > the radio-maestro driver is badly broken. It's intended to drive the > >> > >> radio on > >> > >> > Medi

Re: Missing V4L2_PIX_FMT_JPGL

2011-03-14 Thread Hans de Goede
Hi, On 03/14/2011 11:16 AM, Hans Verkuil wrote: Hi Hans, I just copied the latest videobuf2.h to v4l-utils and tried to compile, but it fails with: make[2]: Entering directory `/home/hve/work/src/v4l/v4l-utils/lib/libv4lconvert' cc -Wp,-MMD,"libv4lconvert.d",-MQ,"libv4lconvert.o",-MP -c -I../i

Missing V4L2_PIX_FMT_JPGL

2011-03-14 Thread Hans Verkuil
Hi Hans, I just copied the latest videobuf2.h to v4l-utils and tried to compile, but it fails with: make[2]: Entering directory `/home/hve/work/src/v4l/v4l-utils/lib/libv4lconvert' cc -Wp,-MMD,"libv4lconvert.d",-MQ,"libv4lconvert.o",-MP -c -I../include -fvisibility=hidden -fPIC -DLIBDIR=\"/usr/lo

[Query] VIDIOC_QBUF and VIDIOC_STREAMON order

2011-03-14 Thread Sylwester Nawrocki
Hello, As far as I know V4L2 applications are allowed to call VIDIOC_STREAMON before queuing buffers with VIDIOC_QBUF. This leads to situation that a H/W is attempted to be enabled by the driver when it has no any buffer ownership. Effectively actual activation of the data pipeline has to be de

Re: [alsa-devel] radio-maestro broken (conflicts with snd-es1968)

2011-03-14 Thread Takashi Iwai
At Mon, 14 Mar 2011 10:59:47 +0100, Hans Verkuil wrote: > > > At Sat, 12 Mar 2011 19:52:39 +0100, > > Hans Verkuil wrote: > >> > >> On Saturday, March 12, 2011 19:19:00 Ondrej Zary wrote: > >> > Hello, > >> > the radio-maestro driver is badly broken. It's intended to drive the > >> radio on > >> >

Re: [alsa-devel] radio-maestro broken (conflicts with snd-es1968)

2011-03-14 Thread Hans Verkuil
> At Sat, 12 Mar 2011 19:52:39 +0100, > Hans Verkuil wrote: >> >> On Saturday, March 12, 2011 19:19:00 Ondrej Zary wrote: >> > Hello, >> > the radio-maestro driver is badly broken. It's intended to drive the >> radio on >> > MediaForte ESS Maestro-based sound cards with integrated radio (like >> >

Re: [alsa-devel] radio-maestro broken (conflicts with snd-es1968)

2011-03-14 Thread Takashi Iwai
At Sat, 12 Mar 2011 19:52:39 +0100, Hans Verkuil wrote: > > On Saturday, March 12, 2011 19:19:00 Ondrej Zary wrote: > > Hello, > > the radio-maestro driver is badly broken. It's intended to drive the radio > > on > > MediaForte ESS Maestro-based sound cards with integrated radio (like > > SF64-

Re: [alsa-devel] radio-maestro broken (conflicts with snd-es1968)

2011-03-14 Thread Takashi Iwai
At Sat, 12 Mar 2011 19:19:00 +0100, Ondrej Zary wrote: > > Hello, > the radio-maestro driver is badly broken. It's intended to drive the radio on > MediaForte ESS Maestro-based sound cards with integrated radio (like > SF64-PCE2-04). But it conflicts with snd_es1968, ALSA driver for the sound >

RE: [PATCH v2 2/8] ARM: S5PV310: Add clock support for MFC v5.1

2011-03-14 Thread Kamil Debski
> From: Kukjin Kim [mailto:kgene@samsung.com] > > Jeongtae Park wrote: > > > > This patch adds clock support for MFC v5.1. > > > > Reviewed-by: Peter Oh > > Signed-off-by: Jeongtae Park > > Cc: Marek Szyprowski > > Cc: Kamil Debski > > --- > > arch/arm/mach-s5pv310/clock.c

Add support for [non-standard?] DiSEqC switch "MAXIMUM DiSEqC 4/1"

2011-03-14 Thread Hans Petter Selasky
Hi, The local guy over here mounted what he claimed is a fully standard 4/1 DiSEqC switch which works with every sat-receiver around. After some brief investigation, it appears this DiSEqC switch is using a non-standard? scheme, which is not supported by w_scan nor vdr. Correct me if I'm wrong. T

RE: [PATCH v2 3/8] ARM: S5PV310: Add memory map support for MFC v5.1

2011-03-14 Thread Kamil Debski
Hi, It looks ok for me. Thanks for fixing the patch. > From: Jeongtae Park [mailto:jtp.p...@samsung.com] > Subject: [PATCH v2 3/8] ARM: S5PV310: Add memory map support for MFC > v5.1 > > This patch adds memroy map support for MFC v5.1. > > Reviewed-by: Peter Oh > Signed-off-by: Jeongtae Park

[GIT PATCHES FOR 2.6.39] Add support for cpia1 camera button

2011-03-14 Thread Hans de Goede
Hi Mauro, Please pull from my gspca tree, for a single patch adding support for the button on cpia1 based cameras. The following changes since commit 41f3becb7bef489f9e8c35284dd88a1ff59b190c: [media] V4L DocBook: update V4L2 version (2011-03-11 18:09:02 -0300) are available in the git reposi

RE: [PATCH v2 2/8] ARM: S5PV310: Add clock support for MFC v5.1

2011-03-14 Thread Kamil Debski
Hi, It looks ok for me. Thanks for fixing the clock patch. > From: Jeongtae Park [mailto:jtp.p...@samsung.com] > Subject: [PATCH v2 2/8] ARM: S5PV310: Add clock support for MFC v5.1 > > This patch adds clock support for MFC v5.1. > > Reviewed-by: Peter Oh > Signed-off-by: Jeongtae Park > Cc:

[PATCH] ARM: Samsung: Add MFC 5.1 platform device to plat-s5p

2011-03-14 Thread Kamil Debski
This patch adds platform support for Multi Format Codec 5.1. MFC 5.1 is capable of handling a range of video codecs and this driver provides V4L2 interface for video decoding. Signed-off-by: Kamil Debski Signed-off-by: Kyungmin Park --- arch/arm/plat-s5p/Kconfig |5 +++ arch

Re: [RFC] HDMI-CEC proposal, ver 2

2011-03-14 Thread Martin Bugge (marbugge)
Hi Daniel and thank you, On 03/12/2011 01:42 AM, Daniel Glöckner wrote: Hi Martin, On Fri, Mar 11, 2011 at 12:36:09PM +0100, Martin Bugge (marbugge) wrote: Not every tx status is applicable for all modes, see table 1. |-| |Av link Mo

RE: [git:v4l-dvb/for_v2.6.39] [media] v4l: Documentation for the NV12MT format

2011-03-14 Thread Kamil Debski
Hi Mauro, I have noticed that two files from this commit are missing. These are two images: nv12mt.gif and nv12mt_example.gif. This is the original commit: http://git.infradead.org/users/kmpark/linux-2.6-samsung/commit/3e087ac2834b9 0c876fc1dbdb9e7d0b2c475d43c Best regards, -- Kamil Debski Linux

Re: [ANN] Agenda for the Warsaw meeting.

2011-03-14 Thread Hans Verkuil
On Monday, March 14, 2011 05:10:53 Jason Hecker wrote: > > B) Use of V4L2 as a frontend for SW/DSP codecs > > (Laurent) > > This would be good. Realtek's RT2832U chip can tune to and possibly > demodulate DAB/DAB+ and FM along with the usual DVB-T. Realtek does > support DAB and FM in Windows

Re: [ANN] Agenda for the Warsaw meeting.

2011-03-14 Thread Hans Verkuil
On Monday, March 14, 2011 06:33:46 Alex Deucher wrote: > On Sun, Mar 13, 2011 at 8:31 AM, Hans Verkuil wrote: > > Agenda for V4L2 brainstorm meeting in Warsaw, March 16-18 2011. > > > > Purpose of the meeting: to brainstorm about current V4L2 API limitations > > with regards to required functional

the focus terms or sequences

2011-03-14 Thread Kim, HeungJun
Hi Laurent, I heard of that there was a chance between you and Sylwester telling about the menu entries focus, and so after that, probably this menu style of the patch I sent, need to be more upgraded. So, can you tell me the kind or sequence of the UVC device breifly? I guess the word *AUTO* a