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/
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
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
>
>
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
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
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
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
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
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
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
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 ++---
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
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
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
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(+),
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
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 -
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
.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
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
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 ++--
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
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
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
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 |
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 +
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
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
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
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
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.
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
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
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
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,
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:
> > >
> > > >
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
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_
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>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
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
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(
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
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
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
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
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
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
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,
> >
>
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
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
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
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->
73 matches
Mail list logo