Re: [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig

2013-04-18 Thread Simon Horman
On Thu, Apr 18, 2013 at 06:21:12PM +0400, Sergei Shtylyov wrote: > On 18-04-2013 17:30, Simon Horman wrote: > > >>From: Vladimir Barinov > > >>Add the VIN and ADV7180 drivers to 'marzen_defconfig'. > > >>Signed-off-by: Vladimir Barinov > >>Signed-off-by: Sergei Shtylyov > > >>--- > >> arch/

Re: AT91SAM9M10: Problem porting driver for MT9P031 sensor

2013-04-18 Thread Marcio Campos de Lima
Hi Guennadi Thanks a lot for your attention. I think I cannot apply the patches. My Linux sources, downloaded from www.at91.com, does not have the V4l2-async.h header and, I suppose, many others headers. The MT9P031 sources have been modified and it is in a different tree. Can you tell me where I

Re: [PATCH 09/12] v4l2: Add a V4L2 driver for SI476X MFD

2013-04-18 Thread Samuel Ortiz
Hi Andrey, On Thu, Apr 18, 2013 at 09:58:35AM -0700, Andrey Smirnov wrote: > diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig > index ead9928..170460d 100644 > --- a/drivers/media/radio/Kconfig > +++ b/drivers/media/radio/Kconfig > @@ -18,6 +18,23 @@ config RADIO_SI470X > >

Re: [PATCH 23/24] V4L2: mt9p031: add struct v4l2_subdev_platform_data to platform data

2013-04-18 Thread Guennadi Liakhovetski
On Thu, 18 Apr 2013, Guennadi Liakhovetski wrote: > Adding struct v4l2_subdev_platform_data to mt9p031's platform data allows > the driver to use generic functions to manage sensor power supplies. > > Signed-off-by: Guennadi Liakhovetski A small addition to this one too: to be absolutely honest

Re: [PATCH 24/24] ARM: pcm037: support mt9p031 / mt9p006 camera sensors

2013-04-18 Thread Guennadi Liakhovetski
Forgot to mention explicitly: this patch is only an example, not even nearly to be considered for applying. Thanks Guennadi On Thu, 18 Apr 2013, Guennadi Liakhovetski wrote: > We don't know how to support pluggable camera sensors yet. This is just > an example, how support for an mt9p031 or mt9

Re: AT91SAM9M10: Problem porting driver for MT9P031 sensor

2013-04-18 Thread Guennadi Liakhovetski
Hi Marcio On Thu, 18 Apr 2013, Marcio Campos de Lima wrote: > >Hi > > > >I am porting the MT9P031 sensor device driver for a custom designed board > >based at the AT91SAM9M45-EK development board and Linux 3.6.9. > >The driver detects the sensor but does not create /dev/video1. > > > >Can anybody

[PATCH 06/24] V4L2: add a common V4L2 subdevice platform data type

2013-04-18 Thread Guennadi Liakhovetski
This struct shall be used by subdevice drivers to pass per-subdevice data, e.g. power supplies, to generic V4L2 methods, at the same time allowing optional host-specific extensions via the host_priv pointer. To avoid having to pass two pointers to those methods, add a pointer to this new struct to

[PATCH 05/24] V4L2: allow dummy file-handle initialisation by v4l2_fh_init()

2013-04-18 Thread Guennadi Liakhovetski
v4l2_fh_init() can be used to initialise dummy file-handles with vdev == NULL. Signed-off-by: Guennadi Liakhovetski --- drivers/media/v4l2-core/v4l2-fh.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-fh.c b/drivers/media/v4l2-core/v

[PATCH 04/24] V4L2: fix Oops on rmmod path

2013-04-18 Thread Guennadi Liakhovetski
v4l2_async_cleanup() clears the sd->dev pointer, avoid dereferencing it in v4l2_async_unregister(). Signed-off-by: Guennadi Liakhovetski --- drivers/media/v4l2-core/v4l2-async.c | 18 ++ 1 files changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/media/v4l2-core/v4l

[PATCH 07/24] soc-camera: switch to using the new struct v4l2_subdev_platform_data

2013-04-18 Thread Guennadi Liakhovetski
This prepares soc-camera to use struct v4l2_subdev_platform_data for its subdevice-facing API, which would allow subdevice driver re-use. Signed-off-by: Guennadi Liakhovetski --- drivers/media/platform/soc_camera/soc_camera.c | 20 ++-- include/media/soc_camera.h

[PATCH 09/24] SH: update all soc-camera users to new platform data layout

2013-04-18 Thread Guennadi Liakhovetski
This patch moves almost all SH soc-camera users towards re-using subdevice drivers. Only mach-ap325rxa/setup.c will be updated separately, together with other soc-camera-platform users. Signed-off-by: Guennadi Liakhovetski --- arch/sh/boards/mach-ecovec24/setup.c | 51 ++---

[PATCH 24/24] ARM: pcm037: support mt9p031 / mt9p006 camera sensors

2013-04-18 Thread Guennadi Liakhovetski
We don't know how to support pluggable camera sensors yet. This is just an example, how support for an mt9p031 or mt9p006 camera sensor could be added to pcm037. not-Signed-off-by: Guennadi Liakhovetski --- arch/arm/mach-imx/mach-pcm037.c | 44 +- 1 files ch

[PATCH 00/24] V4L2: subdevice pad-level API wrapper

2013-04-18 Thread Guennadi Liakhovetski
This is the first very crude shot at the subdevice pad-level API wrapper. The actual wrapper is added in patch #21, previous 20 patches are preparation... They apply on top of the last version of my async / clock patch series, respectively, on top of the announced branch of my linuxtv git-tree. Pat

[PATCH 16/24] V4L2: mt9p031: add support for V4L2 clock and asynchronous probing

2013-04-18 Thread Guennadi Liakhovetski
This adds support for V4L2 clock and asynchronous subdevice probing. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/mt9p031.c | 31 +-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/mt9p031.c b/drivers/media/i2c/mt9p03

[PATCH 23/24] V4L2: mt9p031: add struct v4l2_subdev_platform_data to platform data

2013-04-18 Thread Guennadi Liakhovetski
Adding struct v4l2_subdev_platform_data to mt9p031's platform data allows the driver to use generic functions to manage sensor power supplies. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/mt9p031.c |1 + include/media/mt9p031.h |3 +++ 2 files changed, 4 insertions(+),

[PATCH 01/24] V4L2: (cosmetic) remove redundant use of unlikely()

2013-04-18 Thread Guennadi Liakhovetski
BUG*() and WARN*() macros specify their conditions as unlikely, using BUG_ON(unlikely(condition)) is redundant, remove it. Signed-off-by: Guennadi Liakhovetski --- include/media/v4l2-subdev.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/media/v4l2-subdev.h

[PATCH 11/24] soc-camera: completely remove struct soc_camera_link

2013-04-18 Thread Guennadi Liakhovetski
This updates the last user of struct soc_camera_link and finally removes it. Signed-off-by: Guennadi Liakhovetski --- Documentation/video4linux/soc-camera.txt |2 +- drivers/media/usb/em28xx/em28xx-camera.c | 12 +-- include/media/soc_camera.h | 48 -

[PATCH 20/24] V4L2: add a subdev pointer to struct v4l2_subdev_fh

2013-04-18 Thread Guennadi Liakhovetski
This is useful for cases, when there's no video-device associated with a V4L2 file-handle, e.g. in case of a dummy file-handle. Signed-off-by: Guennadi Liakhovetski --- drivers/media/v4l2-core/v4l2-subdev.c |1 + include/media/v4l2-subdev.h |4 ++-- 2 files changed, 3 insertion

[PATCH 17/24] V4L2: mt9p031: add support for .g_mbus_config() video operation

2013-04-18 Thread Guennadi Liakhovetski
.g_mbus_config() subdevice video operation is required for subdevice drivers to be used with the soc-camera framework. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/mt9p031.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/media/i2c/mt9p

[PATCH 21/24] V4L2: add a subdevice-driver pad-operation wrapper

2013-04-18 Thread Guennadi Liakhovetski
Some subdevice drivers implement only the pad-level API, making them unusable with V4L2 camera host drivers, using the plain subdevice video API. This patch implements a wrapper to allow those two types of drivers to be used together. So far only a subset of operations is supported, the rest shall

[PATCH 18/24] V4L2: mt9p031: power down the sensor if no supported device has been detected

2013-04-18 Thread Guennadi Liakhovetski
The mt9p031 driver first accesses the I2C device in its .registered() method. While doing that it furst powers the device up, but if probing fails, it doesn't power the chip back down. This patch fixes that bug. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/mt9p031.c | 10 ++--

[PATCH 10/24] soc-camera: update soc-camera-platform & its users to a new platform data layout

2013-04-18 Thread Guennadi Liakhovetski
This patch completes removal of struct soc_camera_link by all platforms. Signed-off-by: Guennadi Liakhovetski --- arch/arm/mach-shmobile/board-mackerel.c | 23 ++-- arch/sh/boards/mach-ap325rxa/setup.c| 43 +++--- include/media/soc_camera_platform.h

[PATCH 13/24] ARM: pcm037: convert custom GPIO-based power function to a regulator

2013-04-18 Thread Guennadi Liakhovetski
Add a fixed-voltage GPIO-enabled regulator to switch the camera on and off instead of using a .power() platform callback. Signed-off-by: Guennadi Liakhovetski --- arch/arm/mach-imx/mach-pcm037.c | 54 --- 1 files changed, 39 insertions(+), 15 deletions(-) d

[PATCH 12/24] V4L2: soc-camera: retrieve subdevice platform data from struct v4l2_subdev

2013-04-18 Thread Guennadi Liakhovetski
Instead of expecting subdevice drivers to have a standard type as their platform data, use the new .pdata member of struct v4l2_subdev. This allows the use of arbitrary subdevice drivers with soc-camera in asynchronous mode. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/i

[PATCH 14/24] mx3-camera: clean up the use of platform data, add driver owner

2013-04-18 Thread Guennadi Liakhovetski
During probe verify availability of platform data before dereferencing it, then use the stored pointer instead of re-calculating it. Also add an .owner field to the driver object for proper module locking. Signed-off-by: Guennadi Liakhovetski --- drivers/media/platform/soc_camera/mx3_camera.c |

[PATCH 08/24] ARM: update all soc-camera users to new platform data layout

2013-04-18 Thread Guennadi Liakhovetski
This patch moves almost all ARM soc-camera users towards re-using subdevice drivers. Only mach-shmobile/board-mackerel.c will be updated separately, together with other soc-camera-platform users. Signed-off-by: Guennadi Liakhovetski --- arch/arm/mach-at91/board-sam9m10g45ek.c| 19 +

[PATCH 15/24] mx3-camera: support asynchronous subdevice registration

2013-04-18 Thread Guennadi Liakhovetski
To support asynchronous subdevice registration we only have to pass a subdevice descriptor array from driver platform data to soc-camera for camera host driver registration. Signed-off-by: Guennadi Liakhovetski --- drivers/media/platform/soc_camera/mx3_camera.c |6 ++ include/linux/platf

[PATCH 22/24] V4L2: soc-camera: use the pad-operation wrapper

2013-04-18 Thread Guennadi Liakhovetski
This patch adds support for the pad-operation wrapper to soc-camera, which allows pure pad-level subdevice drivers, e.g. mt9p031 to be used with soc-camera. Signed-off-by: Guennadi Liakhovetski --- drivers/media/platform/soc_camera/soc_camera.c | 19 +-- 1 files changed, 17 ins

[PATCH 19/24] V4L2: add struct v4l2_subdev_try_buf

2013-04-18 Thread Guennadi Liakhovetski
This patch adds struct v4l2_subdev_try_buf, used as a temporary buffer for "try" pad configuration data. Defining such a struct will simplify memory allocation for such buffers. Signed-off-by: Guennadi Liakhovetski --- include/media/v4l2-subdev.h | 12 +++- 1 files changed, 7 insertion

[PATCH 03/24] mt9t031: fix NULL dereference during probe()

2013-04-18 Thread Guennadi Liakhovetski
When .s_power() is called during probing, the video device isn't available yet. Fix Oops, caused by dereferencing it. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/mt9t031.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/s

[PATCH 02/24] imx074: fix error handling for failed async subdevice registration

2013-04-18 Thread Guennadi Liakhovetski
If v4l2_async_register_subdev() fails, don't skip the clean up. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/imx074.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/media/i2c/soc_camera/imx074.c b/drivers/media/i2c/soc_camera/imx074.

Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-18 Thread Sylwester Nawrocki
Hi Scott, On 04/17/2013 08:57 AM, Scott Jiang wrote: Hi Sylwester , @@ -9,7 +9,18 @@ config VIDEO_BLACKFIN_CAPTURE To compile this driver as a module, choose M here: the module will be called bfin_capture. +config VIDEO_BLACKFIN_DISPLAY + tristate "Blackfin Video D

[patch 2/2] [media] r820t: memory leak in release()

2013-04-18 Thread Dan Carpenter
I've moved the kfree(fe->tuner_priv) one line earlier, otherwise it is a no-op. Signed-off-by: Dan Carpenter --- This is a static checker fix and I have not tested it. diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index ba033fd..36ddbf1 100644 --- a/drivers/media/tuner

[patch 1/2] [media] r820t: precendence bug in r820t_xtal_check()

2013-04-18 Thread Dan Carpenter
The test as written is always false. It looks like the intent was to test that the bit was not set. Signed-off-by: Dan Carpenter diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 905a106..ba033fd 100644 --- a/drivers/media/tuners/r820t.c +++ b/drivers/media/tuners/r

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

2013-04-18 Thread Samuel Ortiz
On Thu, Apr 18, 2013 at 08:17:18PM +0200, Samuel Ortiz wrote: > On Thu, Apr 18, 2013 at 02:57:53PM -0300, Mauro Carvalho Chehab wrote: > > Em Thu, 18 Apr 2013 19:45:47 +0200 > > Samuel Ortiz escreveu: > > > > > On Thu, Apr 18, 2013 at 02:28:00PM -0300, Mauro Carvalho Chehab wrote: > > > > Em Thu,

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

2013-04-18 Thread Samuel Ortiz
On Thu, Apr 18, 2013 at 02:57:53PM -0300, Mauro Carvalho Chehab wrote: > Em Thu, 18 Apr 2013 19:45:47 +0200 > Samuel Ortiz escreveu: > > > On Thu, Apr 18, 2013 at 02:28:00PM -0300, Mauro Carvalho Chehab wrote: > > > Em Thu, 18 Apr 2013 09:58:26 -0700 > > > Andrey Smirnov escreveu: > > > > > > >

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

2013-04-18 Thread Mauro Carvalho Chehab
Em Thu, 18 Apr 2013 19:45:47 +0200 Samuel Ortiz escreveu: > On Thu, Apr 18, 2013 at 02:28:00PM -0300, Mauro Carvalho Chehab wrote: > > Em Thu, 18 Apr 2013 09:58:26 -0700 > > Andrey Smirnov escreveu: > > > > > Driver for Si476x series of chips > > > > > > This is a eight version of the patchset

Re: [PATCH 11/12] si476x: Fix some config dependencies and a compile warnings

2013-04-18 Thread Samuel Ortiz
On Thu, Apr 18, 2013 at 09:58:37AM -0700, Andrey Smirnov wrote: > From: Hans Verkuil > > radio-si476x depends on SND and SND_SOC, the mfd driver should select > REGMAP_I2C. > > Also fix a small compile warning in a debug message: > > drivers/mfd/si476x-i2c.c: In function ‘si476x_core_drain_rds_

Re: [PATCH 12/12] radio-si476x: Fix incorrect pointer checking

2013-04-18 Thread Dan Carpenter
On Thu, Apr 18, 2013 at 09:58:38AM -0700, Andrey Smirnov wrote: > Fix incorrect pointer checking and make some minor code improvements: > > * Remove unnecessary elements from function pointer table(vtable), > that includes all the elements that are FM-only, this allows for not > checking of th

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

2013-04-18 Thread Samuel Ortiz
On Thu, Apr 18, 2013 at 02:28:00PM -0300, Mauro Carvalho Chehab wrote: > Em Thu, 18 Apr 2013 09:58:26 -0700 > Andrey Smirnov escreveu: > > > Driver for Si476x series of chips > > > > This is a eight version of the patchset originaly posted here: > > https://lkml.org/lkml/2012/9/13/590 > > > > S

cron job: media_tree daily build: ERRORS

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

Re: [PATCH v2 00/31] Add r820t support at rtl28xxu

2013-04-18 Thread Juergen Lock
In article <516df31a.3030...@iki.fi> you write: >Tested-by: Antti Palosaari > Tested-by: Juergen Lock > >On 04/17/2013 03:42 AM, Mauro Carvalho Chehab wrote: >> Add a tuner driver for Rafael Micro R820T silicon tuner. >> >> This tuner seems to be popular those days. Add support for it >> at rtl28

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-18 Thread Ville Syrjälä
On Wed, Apr 17, 2013 at 09:08:17PM +0200, Daniel Vetter wrote: > On Wed, Apr 10, 2013 at 12:28 AM, Steven Rostedt wrote: > > On Thu, Apr 04, 2013 at 06:41:02PM +0200, Peter Zijlstra wrote: > >> On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > >> > The thing is now that you're not expected

[RFC v2] video: ARM CLCD: Add DT & CDF support

2013-04-18 Thread Pawel Moll
This patch adds basic DT bindings for the PL11x CLCD cells and make their fbdev driver use them, together with the Common Display Framework. The DT provides information about the hardware configuration and limitations (eg. the largest supported resolution) but the video modes come exclusively from

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

2013-04-18 Thread Mauro Carvalho Chehab
Em Thu, 18 Apr 2013 09:58:26 -0700 Andrey Smirnov escreveu: > Driver for Si476x series of chips > > This is a eight version of the patchset originaly posted here: > https://lkml.org/lkml/2012/9/13/590 > > Second version of the patch was posted here: > https://lkml.org/lkml/2012/10/5/598 > > Th

[PATCH 01/12] mfd: Add commands abstraction layer for SI476X MFD

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all the functions used for exchanging commands with the chip. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1553 ++ 1 file changed, 1553 insertions(+) create mode 100644 dr

[PATCH 04/12] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it that provides all the necessary func

[PATCH 06/12] v4l2: Add standard controls for FM receivers

2013-04-18 Thread Andrey Smirnov
This commit introduces new class of standard controls V4L2_CTRL_CLASS_FM_RX. This class is intended to all controls pertaining to FM receiver chips. Also, two controls belonging to said class are added as a part of this commit: V4L2_CID_TUNE_DEEMPHASIS and V4L2_CID_RDS_RECEPTION. This patch is bas

[PATCH 02/12] mfd: Add the main bulk of core driver for SI476x code

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 886 ++ 1 file changed, 886 insertions(+) create mode

[PATCH 05/12] v4l2: Fix the type of V4L2_CID_TUNE_PREEMPHASIS in the documentation

2013-04-18 Thread Andrey Smirnov
Change the type of V4L2_CID_TUNE_PREEMPHASIS from 'integer' to 'enum v4l2_preemphasis' Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- Documentation/DocBook/media/v4l/controls.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/con

[PATCH 03/12] mfd: Add chip properties handling code for SI476X MFD

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds code related to manipulation of the properties of SI476X chips. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 241 + 1 file changed, 241 insertions(+) create mode 100644 d

[PATCH 08/12] v4l2: Add private controls base for SI476X

2013-04-18 Thread Andrey Smirnov
Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- include/uapi/linux/v4l2-controls.h |4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/incl

[PATCH 11/12] si476x: Fix some config dependencies and a compile warnings

2013-04-18 Thread Andrey Smirnov
From: Hans Verkuil radio-si476x depends on SND and SND_SOC, the mfd driver should select REGMAP_I2C. Also fix a small compile warning in a debug message: drivers/mfd/si476x-i2c.c: In function ‘si476x_core_drain_rds_fifo’: drivers/mfd/si476x-i2c.c:391:4: warning: field width specifier ‘*’ expect

[PATCH 10/12] radio-si476x: vidioc_s* now uses a const parameter

2013-04-18 Thread Andrey Smirnov
From: Mauro Carvalho Chehab vidioc_s_tuner, vidioc_s_frequency and vidioc_s_register now uses a constant argument. So, the driver reports warnings: drivers/media/radio/radio-si476x.c:1196:2: warning: initialization from incompatible pointer type [enabled by default] drivers/medi

[PATCH 07/12] v4l2: Add documentation for the FM RX controls

2013-04-18 Thread Andrey Smirnov
Add appropriate documentation for all the newly added standard controls. Based on the patch by Manjunatha Halli [1] [1] http://lists-archives.com/linux-kernel/27641303-media-update-docs-for-v4l2-fm-new-features.html Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- Documentation/DocBo

[PATCH 12/12] radio-si476x: Fix incorrect pointer checking

2013-04-18 Thread Andrey Smirnov
Fix incorrect pointer checking and make some minor code improvements: * Remove unnecessary elements from function pointer table(vtable), that includes all the elements that are FM-only, this allows for not checking of the fucntion pointer and calling of the function directly(THe check if the

[PATCH 09/12] v4l2: Add a V4L2 driver for SI476X MFD

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This commit adds a driver that exposes all the radio related functionality of the Si476x series of chips via the V4L2 subsystem. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- Documentation/video4linux/si476x.txt | 187 drivers/media/radio/Kconfig

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

2013-04-18 Thread Andrey Smirnov
Driver for Si476x series of chips This is a eight version of the patchset originaly posted here: https://lkml.org/lkml/2012/9/13/590 Second version of the patch was posted here: https://lkml.org/lkml/2012/10/5/598 Third version of the patch was posted here: https://lkml.org/lkml/2012/10/23/510

Re: [PATCH 04/28] proc: Supply PDE attribute setting accessor functions [RFC]

2013-04-18 Thread Bjorn Helgaas
On Tue, Apr 16, 2013 at 12:26 PM, David Howells wrote: > Supply accessor functions to set attributes in proc_dir_entry structs. > > The following are supplied: proc_set_size() and proc_set_user(). > > Signed-off-by: David Howells > cc: linuxppc-...@lists.ozlabs.org > cc: linux-media@vger.kernel.o

AT91SAM9M10: Problem porting driver for MT9P031 sensor

2013-04-18 Thread Marcio Campos de Lima
>Hi > >I am porting the MT9P031 sensor device driver for a custom designed board >based at the AT91SAM9M45-EK development board and Linux 3.6.9. >The driver detects the sensor but does not create /dev/video1. > >Can anybody help me? >Thanks >Marcio This is the probe code fo the driver if this can

[PATCH] solo6x10: Fix pixelformat accepted/reported by the encoder

2013-04-18 Thread Ismael Luceno
The 6010 produces MPEG-4 part 2, while 6110 produces H.264. Signed-off-by: Ismael Luceno --- drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c | 43 -- 1 file changed, 32 insertions(+), 11 deletions(-) diff --git a/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c b/drive

Re: [PATCH 1/4] V4L2: soc_camera: Renesas R-Car VIN driver

2013-04-18 Thread Sergei Shtylyov
On 18-04-2013 2:11, Sergei Shtylyov wrote: From: Vladimir Barinov Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy . Signed-off-by: Vladimir Barinov [Sergei: some formatting cleanup] Signed-off-by: Sergei Shtylyov [...] +static int rcar_vin_probe(

Re: [PATCH 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support

2013-04-18 Thread Sergei Shtylyov
On 18-04-2013 2:15, I wrote: From: Vladimir Barinov Add ADV7180 platform devices on the Marzen board, configure VIN1/3 pins, and register VIN1/3 devices with the ADV7180 specific platform data. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov I'm going to repost this

Re: [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig

2013-04-18 Thread Sergei Shtylyov
On 18-04-2013 17:30, Simon Horman wrote: From: Vladimir Barinov Add the VIN and ADV7180 drivers to 'marzen_defconfig'. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- arch/arm/configs/marzen_defconfig |7 +++ 1 file changed, 7 insertions(+) Thanks, qu

Re: [PATCH v2] media: davinci: vpif: align the buffers size to page page size boundary

2013-04-18 Thread Laurent Pinchart
On Thursday 18 April 2013 11:08:28 Mauro Carvalho Chehab wrote: > Em Thu, 18 Apr 2013 15:22:16 +0200 Laurent Pinchart escreveu: > > On Thursday 18 April 2013 08:35:47 Mauro Carvalho Chehab wrote: > > > Em Thu, 18 Apr 2013 08:21:21 -0300 Mauro Carvalho Chehab escreveu: > > > > Em Thu, 18 Apr 2013 10

Re: [PATCH v2] media: davinci: vpif: align the buffers size to page page size boundary

2013-04-18 Thread Mauro Carvalho Chehab
Em Thu, 18 Apr 2013 15:22:16 +0200 Laurent Pinchart escreveu: > Hi Mauro, > > On Thursday 18 April 2013 08:35:47 Mauro Carvalho Chehab wrote: > > Em Thu, 18 Apr 2013 08:21:21 -0300 Mauro Carvalho Chehab escreveu: > > > Em Thu, 18 Apr 2013 10:17:14 +0530 Prabhakar Lad escreveu: > > > > On Tue, Ap

Re: mt9v034 driver

2013-04-18 Thread Laurent Pinchart
Hi Igor, On Wednesday 17 April 2013 16:15:59 Guennadi Liakhovetski wrote: > On Wed, 17 Apr 2013, Igor Kugasyan wrote: > > Dear Mr. Guennadi, > > > > Please tell me can I use the soc_camera_ (soc_camera.h, soc_camera.c) > > interface for a mt9v034 driver as a mt9v022 driver or not? > > I don't kn

Re: [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig

2013-04-18 Thread Simon Horman
On Thu, Apr 18, 2013 at 02:17:27AM +0400, Sergei Shtylyov wrote: > From: Vladimir Barinov > > Add the VIN and ADV7180 drivers to 'marzen_defconfig'. > > Signed-off-by: Vladimir Barinov > Signed-off-by: Sergei Shtylyov > > --- > arch/arm/configs/marzen_defconfig |7 +++ > 1 file chang

Re: [PATCH v2] media: davinci: vpif: align the buffers size to page page size boundary

2013-04-18 Thread Laurent Pinchart
Hi Mauro, On Thursday 18 April 2013 08:35:47 Mauro Carvalho Chehab wrote: > Em Thu, 18 Apr 2013 08:21:21 -0300 Mauro Carvalho Chehab escreveu: > > Em Thu, 18 Apr 2013 10:17:14 +0530 Prabhakar Lad escreveu: > > > On Tue, Apr 16, 2013 at 4:48 PM, Laurent Pinchart wrote: > > > > Hi Prabhakar, > > >

[PATCH] videodev2.h: Make V4L2_PIX_FMT_MPEG4 comment more specific about its usage

2013-04-18 Thread Ismael Luceno
Signed-off-by: Ismael Luceno --- include/uapi/linux/videodev2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 97fb392..e2ae95f 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev

Re: [PATCH v2] media: davinci: vpif: align the buffers size to page page size boundary

2013-04-18 Thread Mauro Carvalho Chehab
Em Thu, 18 Apr 2013 08:21:21 -0300 Mauro Carvalho Chehab escreveu: > Em Thu, 18 Apr 2013 10:17:14 +0530 > Prabhakar Lad escreveu: > > > Hi Marek, > > > > On Tue, Apr 16, 2013 at 4:48 PM, Laurent Pinchart > > wrote: > > > Hi Prabhakar, > > ... > > > >> *nbuffers = config_params.min_numbuffer

Re: [PATCH v2] media: davinci: vpif: align the buffers size to page page size boundary

2013-04-18 Thread Mauro Carvalho Chehab
Em Thu, 18 Apr 2013 10:17:14 +0530 Prabhakar Lad escreveu: > Hi Marek, > > On Tue, Apr 16, 2013 at 4:48 PM, Laurent Pinchart > wrote: > > Hi Prabhakar, ... > >> *nbuffers = config_params.min_numbuffers; > >> > >> *nplanes = 1; > >> + size = PAGE_ALIGN(size); > > > > I wonder if that

Re: [RFC 06/10] video: ARM CLCD: Add DT & CDF support

2013-04-18 Thread Russell King - ARM Linux
On Wed, Apr 17, 2013 at 04:17:18PM +0100, Pawel Moll wrote: > +#if defined(CONFIG_OF) > +static int clcdfb_of_get_tft_parallel_panel(struct clcd_panel *panel, > + struct display_entity_interface_params *params) > +{ > + int r = params->p.tft_parallel.r_bits; > + int g = params->