[RFC][media] s5p-fimc : Need to modify for s5pv310

2010-12-02 Thread Sungchun Kang
Hi Sylwester Nawrocki, I have some suggestion about s5p-fimc camera driver. As you know, FIMC have 32 ping-pong register(CIOYSA1~CIOYSA32) for output buffer in v310 chip. It is different from v210. It is not necessary to change address at ping-pong register. If request buffer number is 8, 8 buffe

RE: Translation Faults on OMAP ISP update

2010-12-02 Thread Aguirre, Sergio
Hi, > -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Lane Brooks > Sent: Thursday, December 02, 2010 11:34 AM > To: Laurent Pinchart > Cc: linux-media@vger.kernel.org > Subject: Re: Translation Faults on OMAP ISP upda

Re: [PATCH] mx2_camera: fix pixel clock polarity configuration

2010-12-02 Thread Guennadi Liakhovetski
On Thu, 2 Dec 2010, Baruch Siach wrote: > Hi Guennadi, > > On Wed, Nov 17, 2010 at 08:09:09AM +0100, Guennadi Liakhovetski wrote: > > On Wed, 10 Nov 2010, Baruch Siach wrote: > > > Guennadi Liakhovetski gmx.de> writes: > > > > On Wed, 27 Oct 2010, Baruch Siach wrote: > > > > > When SOCAM_PCLK_SA

Re: [PATCH] mx2_camera: fix pixel clock polarity configuration

2010-12-02 Thread Baruch Siach
Hi Guennadi, On Wed, Nov 17, 2010 at 08:09:09AM +0100, Guennadi Liakhovetski wrote: > On Wed, 10 Nov 2010, Baruch Siach wrote: > > Guennadi Liakhovetski gmx.de> writes: > > > On Wed, 27 Oct 2010, Baruch Siach wrote: > > > > When SOCAM_PCLK_SAMPLE_FALLING, just leave CSICR1_REDGE unset, > > > > o

Re: [PATCH] media: rc: ir-lirc-codec: fix potential integer overflow

2010-12-02 Thread Andy Walls
64 bit value / 4 = 62 bit value, right? Jarod Wilson wrote: >On Thu, Dec 02, 2010 at 07:51:26AM +0300, Dan Carpenter wrote: >> On Fri, Nov 26, 2010 at 08:06:35PM +0300, Vasiliy Kulikov wrote: >> >count = n / sizeof(int); >> > - if (count > LIRCBUF_SIZE || count % 2 == 0) >> > + if (count

Re: mx3_camera and DMA / double buffering

2010-12-02 Thread Guennadi Liakhovetski
On Thu, 2 Dec 2010, Markus Niebel wrote: > Hello, > > we're working with a special cameraboard (CCD + Analog Frontend IC). Using the > soc_camera stack on the i.MX35 (mx3_camera) the following problem arises: > > VIDIOC_STREAMON calls soc_camera_streamon which calls videobuf_streamon - when > it

Re: [PATCH] media: rc: ir-lirc-codec: fix potential integer overflow

2010-12-02 Thread Jarod Wilson
On Dec 2, 2010, at 10:00 AM, Jarod Wilson wrote: > On Thu, Dec 02, 2010 at 07:51:26AM +0300, Dan Carpenter wrote: >> On Fri, Nov 26, 2010 at 08:06:35PM +0300, Vasiliy Kulikov wrote: >>> count = n / sizeof(int); >>> - if (count > LIRCBUF_SIZE || count % 2 == 0) >>> + if (count > LIRCBUF_SIZ

[cron job] v4l-dvb daily build: WARNINGS

2010-12-02 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:Thu Dec 2 19:00:15 CET 2010 git master: 59365d136d205cc20fe666ca7f89b1c5001b0d5a git media-master: gcc version: i6

Re: Translation Faults on OMAP ISP update

2010-12-02 Thread Lane Brooks
On 12/02/2010 07:35 AM, Laurent Pinchart wrote: [snip] Any ideas on the problem? Is there a way to force a reset to the CCDC so that it will become IDLE? Would you expect the ISP to recover gracefully if you removed the OMAP3530 or the RAM from the board and plugged it back ? The same applies to

Re: [PATCH] ir-nec-decoder: fix extended NEC scancodes

2010-12-02 Thread Mauro Carvalho Chehab
Em 26-11-2010 19:12, James Hogan escreveu: > (expanded cc list) > > On Fri, Nov 26, 2010 at 08:39:25AM -0500, Andy Walls wrote: >> You might want to check the handling against this NEC datasheet >> >> http://www.datasheetcatalog.org/datasheet/nec/UPD6122G-002.pdf >> >> The datasheet calls the addr

ispvideo patch

2010-12-02 Thread Lane Brooks
Laurent, Attached is a patch that enables purely V4L2 applications to work if the media pipeline has been previously setup using media-ctl. I have tested it with both ffmpeg and gstreamer. It works by querying the linked subdev's format when the ispvideo device is opened. If there is no link

Re: [PATCH 1/1] radio-timb: Add tuner and DSP to the I2C bus

2010-12-02 Thread Mauro Carvalho Chehab
Em 26-11-2010 07:54, Richard Röjfors escreveu: > This patch adds an open function to the radio-timb, which adds the DSP an > tuner > to the I2C bus. > > Signed-off-by: Richard Röjfors > --- > diff --git a/drivers/media/radio/radio-timb.c > b/drivers/media/radio/radio-timb.c > index a185610..2b7

Re: PCI: make pci_restore_state return void

2010-12-02 Thread Bjorn Helgaas
On Tuesday, November 30, 2010 04:43:26 pm Jon Mason wrote: > pci_restore_state only ever returns 0, thus there is no benefit in > having it return any value. Also, a large majority of the callers do > not check the return code of pci_restore_state. Make the > pci_restore_state a void return and a

Re: [PATCH] media: rc: ir-lirc-codec: fix potential integer overflow

2010-12-02 Thread Jarod Wilson
On Thu, Dec 02, 2010 at 07:51:26AM +0300, Dan Carpenter wrote: > On Fri, Nov 26, 2010 at 08:06:35PM +0300, Vasiliy Kulikov wrote: > > count = n / sizeof(int); > > - if (count > LIRCBUF_SIZE || count % 2 == 0) > > + if (count > LIRCBUF_SIZE || count % 2 == 0 || n % sizeof(int) != 0) >

[PATCH v2] V4L2: Add a v4l2-subdev (soc-camera) driver for OmniVision OV2640 sensor

2010-12-02 Thread Alberto Panizzo
Signed-off-by: Alberto Panizzo --- v2 changes: - Fixed addressed errors. - Added trivial .cropcap and .g_crop functions based on the whole size of sensor. drivers/media/video/Kconfig |6 + drivers/media/video/Makefile|1 + drivers/media/video/ov2640.c| 1205 +

RE: [PATCH v3 6/6] davinci vpbe: Build infrastructure for VPBE driver

2010-12-02 Thread Karicheri, Muralidharan
Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 phone: 301-407-9583 email: m-kariche...@ti.com >-Original Message- >From: Hadli, Manjunath >Sent: Thursday, December 02, 2010 7:40 AM >To: LMML >Cc: dlos; Mauro Carvalho Chehab; Hans Verkuil; Hadli, Man

RE: [PATCH v3 5/6] davinci vpbe: platform specific additions

2010-12-02 Thread Karicheri, Muralidharan
>-Original Message- >From: Hadli, Manjunath >Sent: Thursday, December 02, 2010 7:39 AM >To: LMML >Cc: dlos; Mauro Carvalho Chehab; Hans Verkuil; Hadli, Manjunath; Karicheri, >Muralidharan >Subject: [PATCH v3 5/6] davinci vpbe: platform specific additions > >This patch implements the over

RE: [PATCH 4/6] davinci vpbe: VENC( Video Encoder) implementation

2010-12-02 Thread Karicheri, Muralidharan
Acked-by Muralidharan Karicheri Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 phone: 301-407-9583 email: m-kariche...@ti.com >-Original Message- >From: Hadli, Manjunath >Sent: Thursday, December 02, 2010 7:39 AM >To: LMML >Cc: dlos; Mauro Carvalho

mx3_camera and DMA / double buffering

2010-12-02 Thread Markus Niebel
Hello, we're working with a special cameraboard (CCD + Analog Frontend IC). Using the soc_camera stack on the i.MX35 (mx3_camera) the following problem arises: VIDIOC_STREAMON calls soc_camera_streamon which calls videobuf_streamon - when iterating the buffers in the queue the function mx3_

RE: [PATCH v3 2/6] davinci vpbe: VPBE display driver

2010-12-02 Thread Karicheri, Muralidharan
Acked-by Muralidharan Karicheri Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 phone: 301-407-9583 email: m-kariche...@ti.com >-Original Message- >From: Hadli, Manjunath >Sent: Thursday, December 02, 2010 7:39 AM >To: LMML >Cc: dlos; Mauro Carvalho

Re: Translation Faults on OMAP ISP update

2010-12-02 Thread Laurent Pinchart
Hi Lane, On Wednesday 01 December 2010 23:23:51 Lane Brooks wrote: > Laurent, > > Previously I was getting iommu translation faults when switching from > the RESIZER output to the CCDC output. > > I have finally pulled in all the changes on the > git://gitorious.org/maemo-multimedia/omap3isp-rx5

Re: omap3-isp: can't register subdev for new sensor driver mt9t001

2010-12-02 Thread Stefan Steuerwald
Got my problem solved. Bastian had me peek at his code, result is another forehead slap. For the record: This error message while modprobing the omap3-isp driver (-EBUSY): >>> r...@overo:~# modprobe omap3-isp >>> Linux media interface: v0.10 >>> Linux video capture interface: v2.00 >>> omap3isp

Re: Unsafe to reinsert HVR-1850 kernel modules?

2010-12-02 Thread Andy Walls
On Wed, 2010-12-01 at 21:52 -0800, David Liontooth wrote: > On 11/29/2010 04:38 AM, Andy Walls wrote: > > On Sun, 2010-11-28 at 23:49 -0800, David Liontooth wrote: > > For a quick band-aid, use "pci=nomsi" on your kernel command line, and > > reboot to reset the CX23888 hardware. > > > > The probl

[PATCH v3 5/6] davinci vpbe: platform specific additions

2010-12-02 Thread Manjunath Hadli
This patch implements the overall device creation for the Video display driver, and addition of tables for the mode and output list Signed-off-by: Manjunath Hadli Signed-off-by: Muralidharan Karicheri --- arch/arm/mach-davinci/board-dm644x-evm.c| 79 +++-- arch/arm/mach-davinci/dm

[PATCH v3 6/6] davinci vpbe: Build infrastructure for VPBE driver

2010-12-02 Thread Manjunath Hadli
This patch adds the build infra-structure for Davinci VPBE dislay driver Signed-off-by: Manjunath Hadli Signed-off-by: Muralidharan Karicheri --- drivers/media/video/davinci/Kconfig| 22 + drivers/media/video/davinci/Makefile |2 + .../media/video/davinci

[PATCH 4/6] davinci vpbe: VENC( Video Encoder) implementation

2010-12-02 Thread Manjunath Hadli
This patch adds the VENC or the Video encoder, whichis responsible for the blending of al source planes and timing generation for Video modes like NTSC, PAL and other digital outputs. the VENC implementation currently supports COMPOSITE and COMPONENT outputs and NTSC and PAL resolutions through the

[PATCH v3 3/6] davinci vpbe: OSD(On Screen Display) block

2010-12-02 Thread Manjunath Hadli
This patch implements the functionality of the OSD block of the VPBE.The OSD in total supports 4 planes or Video sources - 2 mainly RGB and 2 Video. The patch implements general handling of all the planes, with specific emphasis on the Video plane capabilities as the Video planes are supported thro

[PATCH v3 2/6] davinci vpbe: VPBE display driver

2010-12-02 Thread Manjunath Hadli
This patch implements the coe functionality of the dislay driver, mainly controlling the VENC and other encoders, and acting as the one point interface for the man V4L2 driver.This implements the cre of each of the V4L2 IOCTLs. Signed-off-by: Manjunath Hadli Signed-off-by: Muralidharan Karicheri

[PATCH v3 0/6] davinci vpbe: DM6446 V4l2 display driver

2010-12-02 Thread Manjunath Hadli
V4L2 Display driver for Davici vpbe IP. Dtails in the readme.txt update on 6th patch. version3 : addressed Sekhar,Hans's and Murali's comments on: 1. removing the unwanted if_config 2. using core-assisted locking 3. simplifying the code by reducing the length 4. introdcuing spinlock for shared acce

[PATCH v3] soc_camera: Add the ability to bind regulators to soc_camedra devices

2010-12-02 Thread Alberto Panizzo
In certain machines, camera devices are supplied directly by a number of regulators. This patch add the ability to drive these regulators directly by the soc_camera driver. Signed-off-by: Alberto Panizzo --- v2 changes: It is used the more standard regulator_bulk API, thanks to Mark Brown for po

Re: [PATCH 3/3] V4L2: Add a v4l2-subdev (soc-camera) driver for OmniVision OV2640 sensor

2010-12-02 Thread Alberto Panizzo
Hello Guennadi, On gio, 2010-12-02 at 00:32 +0100, Guennadi Liakhovetski wrote: > Well, I have no secrets, but I'm not sure everyone on the CC list is > really interested in this thread(s)... So, please consider dropping some > of them when replying, they might be grateful;) I Followed an old s

Re: [PATCH 2/2] [media] Add v4l2 subdev driver for NOON010PC30L image sensor

2010-12-02 Thread Sylwester Nawrocki
Hi Hans, On 12/01/2010 05:52 PM, Hans Verkuil wrote: > >> Add I2C/V4L2 subdev driver for Siliconfile NOON010PC30 CIF camera. >> The driver implements basic functionality, i.e. CIF/QCIF/QQCIF >> resolution and color format selection, automatic/manual color >> balance control. Other functions like