Re: Anchor Chips V4L2 driver

2011-06-06 Thread Hans de Goede
Hi, On 06/06/2011 07:40 AM, John McMaster wrote: On 06/03/2011 06:22 AM, Hans de Goede wrote: Hi, On 06/03/2011 02:15 PM, Mauro Carvalho Chehab wrote: Em 03-06-2011 02:40, John McMaster escreveu: I'd like to write a driver for an Anchor Chips (seems to be bought by Cypress) USB camera Linux

EM28188 and TDA18271HDC2

2011-06-06 Thread Kristoffer Edwardsson
HI I Noticed the em28xx driver in kernel but the EM28188 is not supported. I dont know if it can be supported but here is some info about the device. Its a DVB-CT hybrid device without analog from Sundtek. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB

Re: [RFC 0/6] iommu: generic api migration and grouping

2011-06-06 Thread Arnd Bergmann
On Sunday 05 June 2011, Ohad Ben-Cohen wrote: As far as I can tell, once we have that in place, we you can migrate omap3isp from iovmm to dma-mapping and remove iovmm. Sounds like a plan. I'd still prefer us to take small steps here, and not gate the omap iommu cleanups with Marek's

Re: [PATCH v9] Add support for M-5MOLS 8 Mega Pixel camera ISP

2011-06-06 Thread Kim HeungJun
Hi Sakari, 2011. 6. 5., 오후 8:55, Sakari Ailus 작성: On Thu, May 26, 2011 at 04:12:47PM +0900, Kim, HeungJun wrote: Hi Sakari, Hi HeungJun, 2011-05-25 ?? 10:54, Sakari Ailus ??? ???: Hi HeungJun, Thanks for the patch! Also, thanks for the interests of this driver! [snip]

Re: [PATCH] media: soc_camera_video_start - type should be const

2011-06-06 Thread Guennadi Liakhovetski
Hi Geert On Sun, 5 Jun 2011, Geert Uytterhoeven wrote: drivers/media/video/soc_camera.c: In function ‘soc_camera_video_start’: drivers/media/video/soc_camera.c:1515: warning: initialization discards qualifiers from pointer target type Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org

Re: [RFCv2 PATCH 08/11] v4l2-ctrls: simplify event subscription.

2011-06-06 Thread Sakari Ailus
On Sat, Jun 04, 2011 at 12:28:04PM +0200, Hans Verkuil wrote: On Friday, June 03, 2011 21:55:10 Laurent Pinchart wrote: [clip] +{ + int ret = 0; + + if (!fh-events) + ret = v4l2_event_init(fh); + if (!ret) + ret = v4l2_event_alloc(fh, n); + if (!ret) +

Re: [RFC 0/6] iommu: generic api migration and grouping

2011-06-06 Thread Roedel, Joerg
Hi, On Thu, Jun 02, 2011 at 06:27:37PM -0400, Ohad Ben-Cohen wrote: First stab at iommu consolidation: - Migrate OMAP's iommu driver to the generic iommu API. With this in hand, users can now start using the generic iommu layer instead of calling omap-specific iommu API. New code

Re: [PATCH v9] Add support for M-5MOLS 8 Mega Pixel camera ISP

2011-06-06 Thread Sakari Ailus
On Sun, Jun 05, 2011 at 03:13:40PM +0200, Sylwester Nawrocki wrote: Hi Sakari, Hi Sylwester, On 06/05/2011 01:55 PM, Sakari Ailus wrote: On Thu, May 26, 2011 at 04:12:47PM +0900, Kim, HeungJun wrote: Hi Sakari, Hi HeungJun, 2011-05-25 ?? 10:54, Sakari Ailus ??? ???: Hi

Re: [PATCH v2 3/4] m5mols: remove union in the m5mols_get_version(), and VERSION_SIZE

2011-06-06 Thread Kim HeungJun
2011. 6. 5., 오후 9:11, Sakari Ailus 작성: On Sun, Jun 05, 2011 at 03:03:47PM +0300, Sakari Ailus wrote: [clip] - /* store version information swapped for being readable */ - info-ver = version.ver; info-ver.fw= be16_to_cpu(info-ver.fw); info-ver.hw=

Re: v4l2 device property framework in userspace

2011-06-06 Thread Sakari Ailus
On Tue, May 31, 2011 at 01:33:32PM +0200, Martin Strubel wrote: Hi, Hi Martin, Not religion, it's experience. I understand what you want to do and it is just a bad idea in the long term. Mind you, it's great for prototyping and experimentation. But if you want to get stable sensor

[bug]? cx23885 - tries to create duplicate (firmware) filename in sysfs

2011-06-06 Thread Vincent McIntyre
Hi, I just noticed this starting to happen - I can't see any sign of it in syslog before I rebuilt the modules (git commit tags are listed below). I don't know if this is a backporting issue or a bug in mainline. The system in question has two dual-tuner cards, one a USB (mounted on a PCI card)

[PATCH/RFC] V4L: add media bus configuration subdev operations

2011-06-06 Thread Guennadi Liakhovetski
Add media bus configuration types and two subdev operations to get supported mediabus configurations and to set a specific configuration. Subdevs can support several configurations, e.g., they can send video data on 1 or several lanes, can be configured to use a specific CSI-2 channel, in such

Re: [PATCH/RFC] V4L: add media bus configuration subdev operations

2011-06-06 Thread Hans Verkuil
Add media bus configuration types and two subdev operations to get supported mediabus configurations and to set a specific configuration. Subdevs can support several configurations, e.g., they can send video data on 1 or several lanes, can be configured to use a specific CSI-2 channel, in

Re: [PATCH/RFC] V4L: add media bus configuration subdev operations

2011-06-06 Thread Guennadi Liakhovetski
Hi Hans Thanks for your comments On Mon, 6 Jun 2011, Hans Verkuil wrote: Add media bus configuration types and two subdev operations to get supported mediabus configurations and to set a specific configuration. Subdevs can support several configurations, e.g., they can send video data

Re: [PATCH/RFC 1/4] V4L: add three new ioctl()s for multi-size videobuffer management

2011-06-06 Thread Guennadi Liakhovetski
On Wed, 18 May 2011, Sakari Ailus wrote: Hi Guennadi and Laurent, Guennadi Liakhovetski wrote: On Wed, 18 May 2011, Laurent Pinchart wrote: On Tuesday 17 May 2011 07:52:28 Sakari Ailus wrote: Guennadi Liakhovetski wrote: [snip] What about making it possible to pass an array

Re: [PATCH/RFC] V4L: add media bus configuration subdev operations

2011-06-06 Thread Hans Verkuil
Hi Hans Thanks for your comments On Mon, 6 Jun 2011, Hans Verkuil wrote: Add media bus configuration types and two subdev operations to get supported mediabus configurations and to set a specific configuration. Subdevs can support several configurations, e.g., they can send video data

Re: EM28188 and TDA18271HDC2

2011-06-06 Thread Magnus Alm
Hi! Doesn't Sundtek make their own closed drivers? 2011/6/6 Kristoffer Edwardsson kriss...@gmail.com: HI I Noticed the em28xx driver in kernel but the EM28188 is not supported. I dont know if it can be supported but here is some info about the device. Its a DVB-CT hybrid device without

Re: [PATCH/RFC] V4L: add media bus configuration subdev operations

2011-06-06 Thread Aguirre, Sergio
Hi Guennadi, Thanks for the patch. On Mon, Jun 6, 2011 at 7:31 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Add media bus configuration types and two subdev operations to get supported mediabus configurations and to set a specific configuration. Subdevs can support several

Re: [PATCH/RFC] V4L: add media bus configuration subdev operations

2011-06-06 Thread Guennadi Liakhovetski
Hi Sergio On Mon, 6 Jun 2011, Aguirre, Sergio wrote: Hi Guennadi, Thanks for the patch. On Mon, Jun 6, 2011 at 7:31 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Add media bus configuration types and two subdev operations to get supported mediabus configurations and to set a

Re: [bug]? cx23885 - tries to create duplicate (firmware) filename in sysfs

2011-06-06 Thread Mauro Carvalho Chehab
Em 06-06-2011 08:32, Vincent McIntyre escreveu: Hi, I just noticed this starting to happen - I can't see any sign of it in syslog before I rebuilt the modules (git commit tags are listed below). I don't know if this is a backporting issue or a bug in mainline. The system in question has

Re: [RFC 0/6] iommu: generic api migration and grouping

2011-06-06 Thread Ohad Ben-Cohen
Hi Joerg, On Mon, Jun 6, 2011 at 1:09 PM, Roedel, Joerg joerg.roe...@amd.com wrote: The IOMMU-API already supports multiple page-sizes. See the 'order'-parameter of the map/unmap functions. This is insufficient; users need somehow to tell what page sizes are supported by the underlying

Re: [RFC 0/6] iommu: generic api migration and grouping

2011-06-06 Thread Ohad Ben-Cohen
On Mon, Jun 6, 2011 at 12:10 PM, Arnd Bergmann a...@arndb.de wrote: I'd still prefer us to take small steps here, and not gate the omap iommu cleanups with Marek's generic dma_map_ops work though. Let's go forward and migrate omap's iommu to the generic iommu API, so new code will be able to

Re: [RFC 0/6] iommu: generic api migration and grouping

2011-06-06 Thread Roedel, Joerg
On Mon, Jun 06, 2011 at 11:15:30AM -0400, Ohad Ben-Cohen wrote: This is insufficient; users need somehow to tell what page sizes are supported by the underlying hardware (we can't assume host page-sizes, and we want to use bigger pages whenever possible, to relax the TLB pressure). / What

[PATCH 1/4] XC4000: code cleanup

2011-06-06 Thread Istvan Varga
Various coding style changes: - removed unused / commented out code - changed C++ style comments to C format - renamed functions and variables that included upper case letters in the name - removed tabs from module parameter descriptions - replaced the use of XC_RESULT_* with standard

[PATCH 2/4] XC4000: auto-select XC4000 tuner

2011-06-06 Thread Istvan Varga
Automatically select the xc4000 module for dib0700 if the tuner selection is not customized. Signed-off-by: Istvan Varga istva...@mailbox.hu diff -uNr xc4000_orig/drivers/media/dvb/dvb-usb/Kconfig xc4000/drivers/media/dvb/dvb-usb/Kconfig --- xc4000_orig/drivers/media/dvb/dvb-usb/Kconfig

[PATCH 3/4] XC4000: check firmware version

2011-06-06 Thread Istvan Varga
Enabled code to check if the version of the firmware reported by the hardware is correct after uploading it. Signed-off-by: Istvan Varga istva...@mailbox.hu diff -uNr xc4000_orig/drivers/media/common/tuners/xc4000.c xc4000/drivers/media/common/tuners/xc4000.c ---

[PATCH 4/4] XC4000: removed card_type

2011-06-06 Thread Istvan Varga
Removed the use of 'card_type' from the tuner configuration structure, and replaced it with separate parameters to set board-specific configuration. Signed-off-by: Istvan Varga istva...@mailbox.hu diff -uNr xc4000_orig/drivers/media/common/tuners/xc4000.c

[PATCH]drivers:media:dvb:frontends:s5h1420.c Change: clock_settting to clock_setting

2011-06-06 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com The below patch, changes clock_settting to clock_setting. Note: This could be intentionally set this way from the beginning and/or is a typo. Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- drivers/media/dvb/frontends/s5h1420.c |

Re: HVR-1300 analog inputs

2011-06-06 Thread Florent Audebert
On 06/01/2011 05:49 PM, Devin Heitmueller wrote: On Wed, Jun 1, 2011 at 11:36 AM, Florent Audebert florent.audeb...@anevia.com wrote: I'm experimenting around with an Hauppauge HVR-1300 (cx88_blackbird) analog inputs (PAL-I signal). You probably won't be able to go any higher than a width of

Re: HVR-1300 analog inputs

2011-06-06 Thread Devin Heitmueller
On Mon, Jun 6, 2011 at 12:45 PM, Florent Audebert florent.audeb...@anevia.com wrote: Nonetheless, I have vertical lines when using s-video at MPEG device output (more visible in white areas)[1]. Reading from capture device is alright whether s-video (input=2) or composite (input=1) is

[PATCH] V4L: mx3_camera: remove redundant calculations

2011-06-06 Thread Guennadi Liakhovetski
soc_camera core now performs the standard .bytesperline and .sizeimage calculations internally, no need to duplicate in drivers. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/mx3_camera.c | 12 1 files changed, 0 insertions(+), 12 deletions(-)

[PATCH] V4L: pxa_camera: remove redundant calculations

2011-06-06 Thread Guennadi Liakhovetski
soc_camera core now performs the standard .bytesperline and .sizeimage calculations internally, no need to duplicate in drivers. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/pxa_camera.c | 24 +--- 1 files changed, 13 insertions(+), 11

[PATCH] V4L: mx2_camera: .try_fmt shouldn't fail

2011-06-06 Thread Guennadi Liakhovetski
If the user is requesting too large a frame, instead of failing select an acceptable geometry, preserving the requested aspect ratio. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Attention: completely untested! Please, give it a spin on an i.MX25, specifically, please, try to

[PATCH] V4L: sh_mobile_ceu_camera: remove redundant calculations

2011-06-06 Thread Guennadi Liakhovetski
soc_camera core now performs the standard .bytesperline and .sizeimage calculations internally, no need to duplicate in drivers. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_ceu_camera.c |5 - 1 files changed, 0 insertions(+), 5

Re: HVR-1300 analog inputs

2011-06-06 Thread Florent Audebert
On 06/06/2011 06:55 PM, Devin Heitmueller wrote: On Mon, Jun 6, 2011 at 12:45 PM, Florent Audebert florent.audeb...@anevia.com wrote: Nonetheless, I have vertical lines when using s-video at MPEG device output (more visible in white areas)[1]. Reading from capture device is alright whether

[PATCH] V4L: tw9910: remove bogus ENUMINPUT implementation

2011-06-06 Thread Guennadi Liakhovetski
tw9910 is a TV decoder, it doesn't have a tuner. Besides, the .enum_input soc-camera operation is optional and normally not needed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/tw9910.c | 11 --- 1 files changed, 0 insertions(+), 11 deletions(-)

[PATCH] V4L: soc-camera: MIPI flags are not sensor flags

2011-06-06 Thread Guennadi Liakhovetski
SOCAM_MIPI_[1234]LANE flags are not board-specific sensor flags, they are bus configuration flags. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- include/media/soc_camera.h | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 2/2] V4L: mt9m111: switch to v4l2-subdev .s_power() method

2011-06-06 Thread Guennadi Liakhovetski
Eliminate soc-camera specific .suspend() and .restore() methods in favour of the standard v4l2-subdev .s_power() method Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Please, test both these mt9m111 patches. drivers/media/video/mt9m111.c | 51

[PATCH] V4L: soc-camera: remove now unused soc-camera .enum_input() operation

2011-06-06 Thread Guennadi Liakhovetski
Also this functionality should be implemented, if needed, using the v4l2-subdev API. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/soc_camera.c | 13 - include/media/soc_camera.h |1 - 2 files changed, 4 insertions(+), 10 deletions(-)

Re: HVR-1300 analog inputs

2011-06-06 Thread Devin Heitmueller
On Mon, Jun 6, 2011 at 1:17 PM, Florent Audebert florent.audeb...@anevia.com wrote: That's right. RAW output seems clean so far in all cases.  - When selecting composite input, MPEG encoder output is clean  - When selecting s-video input, MPEG encoder output have lines Oh, that is

Re: [PATCH] V4L: tw9910: remove bogus ENUMINPUT implementation

2011-06-06 Thread Guennadi Liakhovetski
Morimoto-san, sorry, that was a wrong address of yours again in the original mail. With the correct request also comes a request: would it be difficult for you to give this patch a try? If you don't happen to have a set up ready at hand, no problem, I'll dig out some video signal source myself

Re: [PATCH/RFC 1/4] V4L: add three new ioctl()s for multi-size videobuffer management

2011-06-06 Thread Sakari Ailus
Hi Guennadi, On Mon, Jun 06, 2011 at 03:10:54PM +0200, Guennadi Liakhovetski wrote: On Wed, 18 May 2011, Sakari Ailus wrote: Hi Guennadi and Laurent, Guennadi Liakhovetski wrote: On Wed, 18 May 2011, Laurent Pinchart wrote: On Tuesday 17 May 2011 07:52:28 Sakari Ailus wrote:

[PATCH for 3.0] pwc fix oops / reference of free-ed memory on unplug

2011-06-06 Thread Hans de Goede
Hi Mauro et all, I'm working on (much needed) large cleanup + v4l2 compliance series for the pwc driver, more on that later (targetting 3.1). But this particular patch (the first of the series) seems one which we should have in 3.0 and stable releases for older kernels too, since it fixes a real

[PATCH] pwc: better usb disconnect handling

2011-06-06 Thread Hans de Goede
Unplugging a pwc cam while an app has the /dev/video# node open leads to an oops in pwc_video_close when the app closes the node, because the disconnect handler has free-ed the pdev struct pwc_video_close tries to use. Instead of adding some sort of bandaid for this. fix it properly using the v4l2

Which error code to return when a usb camera gets unplugged

2011-06-06 Thread Hans de Goede
Hi, While working on my cleanup / v4l2 compliance series for the pwc driver I've noticed that the pwc and gspca drivers are doing different things wrt what error they return to an app is using the device while it gets unplugged. gspca returns -ENODEV, where as pwc returns -EPIPE. Both make some

Re: Which error code to return when a usb camera gets unplugged

2011-06-06 Thread Devin Heitmueller
On Mon, Jun 6, 2011 at 1:56 PM, Hans de Goede hdego...@redhat.com wrote: Hi, While working on my cleanup / v4l2 compliance series for the pwc driver I've noticed that the pwc and gspca drivers are doing different things wrt what error they return to an app is using the device while it gets

Last key repeated after every keypress on remote control (saa7134 lirc devinput driver)

2011-06-06 Thread Radim
Hello to everybody, I was redirected here from lirc mailinglist (reason is at the end). I'm asking for any help because I wasn't able to solve this problem by my self (and google of course). When I'm testing lirc configuration using irw, last pressed key is repeated just befor the new one:

Re: Last key repeated after every keypress on remote control (saa7134 lirc devinput driver)

2011-06-06 Thread Devin Heitmueller
On Mon, Jun 6, 2011 at 2:13 PM, Radim radim...@seznam.cz wrote: Hello to everybody, I was redirected here from lirc mailinglist (reason is at the end). I'm asking for any help because I wasn't able to solve this problem by my self (and google of course). When I'm testing lirc configuration

[cron job] v4l-dvb daily build: ERRORS

2011-06-06 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 Jun 6 19:00:16 CEST 2011 git hash:eeb14a926c357a1d912358541dfd4098dba96b52 gcc version: i686-linux-gcc (GCC)

[PATCH] cx231xx: Add support for Hauppauge WinTV USB2-FM

2011-06-06 Thread Peter Moon
This patch adds support for the Hauppauge WinTV USB2-FM Analog Stick. Signed-off-by: Peter Moon pom...@gmail.com diff -ru linux.orig/drivers/media/video/cx231xx/cx231xx-avcore.c linux/drivers/media/video/cx231xx/cx231xx-avcore.c --- linux.orig/drivers/media/video/cx231xx/cx231xx-avcore.c    

PATCH] [media] xc4000: make checkpatch.pl happy

2011-06-06 Thread Mauro Carvalho Chehab
While here, remove a few printk noise by converting some msgs into debug ones. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/common/tuners/xc4000.c b/drivers/media/common/tuners/xc4000.c index 479c198..634f4d9 100644 ---

Re: [PATCH] cx231xx: Add support for Hauppauge WinTV USB2-FM

2011-06-06 Thread Devin Heitmueller
On Mon, Jun 6, 2011 at 3:22 PM, Peter Moon pom...@gmail.com wrote: This patch adds support for the Hauppauge WinTV USB2-FM Analog Stick. Signed-off-by: Peter Moon pom...@gmail.com I basically have the same patch sitting in my one of my Hauppauge private repos, but hadn't gotten around to

Re: [RFC 0/6] iommu: generic api migration and grouping

2011-06-06 Thread Ohad Ben-Cohen
On Mon, Jun 6, 2011 at 10:20 PM, Roedel, Joerg joerg.roe...@amd.com wrote: Well, it certainly makes sense to have a single implementation for this. But I want to hide this complexity to the user of the IOMMU-API. The best choice is to put this into the layer between the IOMMU-API and the

Re: [PATCH 1/2] V4L: mt9m111: propagate higher level abstraction down in functions

2011-06-06 Thread Robert Jarzmik
On 06/06/2011 07:20 PM, Guennadi Liakhovetski wrote: It is more convenient to propagate the higher level abstraction - the struct mt9m111 object into functions and then retrieve a pointer to the i2c client, if needed, than to do the reverse. Agreed. One minor point, you ofter replace : -

Re: [PATCH] V4L: pxa_camera: remove redundant calculations

2011-06-06 Thread Robert Jarzmik
On 06/06/2011 07:02 PM, Guennadi Liakhovetski wrote: soc_camera core now performs the standard .bytesperline and .sizeimage calculations internally, no need to duplicate in drivers. Haven't I noticed that this patch is twofold : - the calculation duplication - the suspend/resume change from

Re: [PATCH] V4L: pxa_camera: remove redundant calculations

2011-06-06 Thread Guennadi Liakhovetski
On Mon, 6 Jun 2011, Robert Jarzmik wrote: On 06/06/2011 07:02 PM, Guennadi Liakhovetski wrote: soc_camera core now performs the standard .bytesperline and .sizeimage calculations internally, no need to duplicate in drivers. Haven't I noticed that this patch is twofold : - the calculation

Re: [PATCH/RFC] V4L: add media bus configuration subdev operations

2011-06-06 Thread Sylwester Nawrocki
Hi Guennadi, On 06/06/2011 02:31 PM, Guennadi Liakhovetski wrote: Add media bus configuration types and two subdev operations to get supported mediabus configurations and to set a specific configuration. Subdevs can support several configurations, e.g., they can send video data on 1 or

Re: Which error code to return when a usb camera gets unplugged

2011-06-06 Thread Andy Walls
On Mon, 2011-06-06 at 13:59 -0400, Devin Heitmueller wrote: On Mon, Jun 6, 2011 at 1:56 PM, Hans de Goede hdego...@redhat.com wrote: Hi, While working on my cleanup / v4l2 compliance series for the pwc driver I've noticed that the pwc and gspca drivers are doing different things wrt

Re: Remote control TechnoTrend S2-3650 CI not working

2011-06-06 Thread Andreas Steinel
Hi Jürgen, Hi List, Thank you for your answer. On Sat, Jun 4, 2011 at 4:34 PM, Juergen Lock n...@jelal.kn-bremen.de wrote: Ok let me try... 1. Your remote is the same as in this (googled) picture?        

Re: [stable] [PATCH] pwc: better usb disconnect handling

2011-06-06 Thread Greg KH
On Mon, Jun 06, 2011 at 07:43:39PM +0200, Hans de Goede wrote: Unplugging a pwc cam while an app has the /dev/video# node open leads to an oops in pwc_video_close when the app closes the node, because the disconnect handler has free-ed the pdev struct pwc_video_close tries to use. Instead of

[RFC] Refactor the cafe_ccic driver and add Armada 610 support

2011-06-06 Thread Jonathan Corbet
Hello, all, As I promised last week, here's the state of my work refactoring the Cafe driver and adding Armada 610 support. I intend to have them ready for 3.1, but they are not ready for merging yet. There's a couple of things I'd like to clean up, and I'd like to let the OLPC people test

[PATCH 4/7] marvell-cam: Remove the untested comment

2011-06-06 Thread Jonathan Corbet
This code is, indeed, tested :) Signed-off-by: Jonathan Corbet cor...@lwn.net --- drivers/media/video/marvell-ccic/cafe-driver.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/marvell-ccic/cafe-driver.c

[PATCH 5/7] marvell-cam: Move Cafe-specific register definitions to cafe-driver.c

2011-06-06 Thread Jonathan Corbet
Nobody else ever needs to see these, so let's hide them. Signed-off-by: Jonathan Corbet cor...@lwn.net --- drivers/media/video/marvell-ccic/cafe-driver.c | 63 drivers/media/video/marvell-ccic/mcam-core.h | 56 +- 2 files changed, 64

[PATCH 3/7] marvell-cam: Pass sensor parameters from the platform

2011-06-06 Thread Jonathan Corbet
Depending on the controller, the ov7670 sensor may be told to work with a different clock speed or to use the SMBUS protocol. Remove the wired-in code and pass that information from the platform layer. The Cafe driver now just assumes it's running on an OLPC XO 1; I do not believe it has ever

[PATCH 6/7] marvell-cam: Right-shift i2c slave ID's in the cafe driver

2011-06-06 Thread Jonathan Corbet
This makes the cafe i2c implement consistent with the rest of Linux so that the core can use the same slave ID everywhere. Signed-off-by: Jonathan Corbet cor...@lwn.net --- drivers/media/video/marvell-ccic/cafe-driver.c |9 - drivers/media/video/marvell-ccic/mcam-core.c |2 +-

[PATCH 7/7] marvell-cam: Basic working MMP camera driver

2011-06-06 Thread Jonathan Corbet
Now we have a camera working over the marvell cam controller core. It works like the cafe driver and has all the same limitations, contiguous DMA only being one of them. But it's a start. Signed-off-by: Jonathan Corbet cor...@lwn.net --- drivers/media/video/Makefile |1 +

Re: [PATCH/RFC] V4L: add media bus configuration subdev operations

2011-06-06 Thread Guennadi Liakhovetski
On Mon, 6 Jun 2011, Sylwester Nawrocki wrote: Hi Guennadi, On 06/06/2011 02:31 PM, Guennadi Liakhovetski wrote: Add media bus configuration types and two subdev operations to get supported mediabus configurations and to set a specific configuration. Subdevs can support several

Re: DM04 USB DVB-S TUNER

2011-06-06 Thread Mehmet Altan Pire
06-06-2011 00:47, Malcolm Priestley yazmış: On Sun, 2011-06-05 at 21:42 +0100, Malcolm Priestley wrote: On Sun, 2011-06-05 at 19:34 +0300, Mehmet Altan Pire wrote: 05-06-2011 17:16, Malcolm Priestley yazmış: On Sun, 2011-06-05 at 03:35 +0300, Mehmet Altan Pire wrote: Hi, I have DM04 USB DVBS

[PATCH] add support for the dvb-t part of CT-3650

2011-06-06 Thread Jose Alberto Reguero
This patch add suport for the dvb-t part of CT-3650. Jose Alberto Signed-off-by: Jose Alberto Reguero jaregu...@telefonica.net diff -urN linux/drivers/media/common/tuners/tda827x.c linux.new/drivers/media/common/tuners/tda827x.c --- linux/drivers/media/common/tuners/tda827x.c 2010-07-03

Re: [PATCH] V4L: tw9910: remove bogus ENUMINPUT implementation

2011-06-06 Thread Kuninori Morimoto
Dear Guennadi Thank you for your email. Morimoto-san, sorry, that was a wrong address of yours again in the original mail. With the correct request also comes a request: would it be difficult for you to give this patch a try? If you don't happen to have a set up ready at hand, no

Re: [PATCH] V4L: soc-camera: MIPI flags are not sensor flags

2011-06-06 Thread Kassey Lee
hi, Guennadi: I'm a little confused. there is possible that a board will connect the sensor with [1234] lanes. so this means it could be a board-specific flags too ? thanks! Best regards Kassey Application Processor Systems Engineering, Marvell Technology Group Ltd.

Re: Anchor Chips V4L2 driver

2011-06-06 Thread John McMaster
On 06/06/2011 12:43 AM, Hans de Goede wrote: Hi, On 06/06/2011 07:40 AM, John McMaster wrote: On 06/03/2011 06:22 AM, Hans de Goede wrote: Hi, On 06/03/2011 02:15 PM, Mauro Carvalho Chehab wrote: Em 03-06-2011 02:40, John McMaster escreveu: I'd like to write a driver for an Anchor Chips

Re: DM04 USB DVB-S TUNER

2011-06-06 Thread Malcolm Priestley
On Tue, 2011-06-07 at 02:28 +0300, Mehmet Altan Pire wrote: 06-06-2011 00:47, Malcolm Priestley yazmış: On Sun, 2011-06-05 at 21:42 +0100, Malcolm Priestley wrote: On Sun, 2011-06-05 at 19:34 +0300, Mehmet Altan Pire wrote: 05-06-2011 17:16, Malcolm Priestley yazmış: On Sun, 2011-06-05 at