ove it
anyway within the next couple of days.
Thanks
Guennadi
>
> Thanks
> Marcio
>
> On 19/04/13 10:42, "Guennadi Liakhovetski" wrote:
>
> >On Thu, 18 Apr 2013, Marcio Campos de Lima wrote:
> >
> >> Hi Guennadi
> >>
> >> Tha
Hi Laurent
On Mon, 22 Apr 2013, Laurent Pinchart wrote:
> Hi Guennadi and Sylwester,
>
> On Monday 15 April 2013 13:57:17 Sylwester Nawrocki wrote:
> > On 04/12/2013 05:40 PM, Guennadi Liakhovetski wrote:
[snip]
> > > +
> > > + if (notifier->unbi
fter 3.9 is released we can also send
them to stable, do you think they are important enough?
Thanks
Guennadi
> drivers/media/platform/sh_veu.c | 15 ++-
> 1 files changed, 6 insertions(+), 9 deletions(-)
>
> ---
> Katsuya Matsubara / IGEL Co., Ltd
---
Guennadi Liak
On Mon, 22 Apr 2013, Laurent Pinchart wrote:
> Hi Guennadi,
>
> On Thursday 18 April 2013 23:47:26 Guennadi Liakhovetski wrote:
> > On Thu, 18 Apr 2013, Guennadi Liakhovetski wrote:
> > > Adding struct v4l2_subdev_platform_data to mt9p031's platform data allows
&g
Hi Laurent
On Mon, 22 Apr 2013, Laurent Pinchart wrote:
> Hi Guennadi,
>
> Thanks for the patch.
>
> On Thursday 18 April 2013 23:35:39 Guennadi Liakhovetski wrote:
> > The mt9p031 driver first accesses the I2C device in its .registered()
> > method. While doing that
On Mon, 22 Apr 2013, Laurent Pinchart wrote:
> Hi Guennadi,
>
> On Friday 19 April 2013 16:41:02 Guennadi Liakhovetski wrote:
> > A wrapped list iterating loop hasn't been correctly recognised in
> > v4l2_async_belongs(), which led to false positives. Fix the bug
Hi Prabhakar
On Mon, 22 Apr 2013, Prabhakar Lad wrote:
> From: Lad, Prabhakar
>
> Both synchronous and asynchronous adv7343 subdevice probing is supported by
> this patch.
>
> Signed-off-by: Lad, Prabhakar
> Cc: Guennadi Liakhovetski
> Cc: Laurent Pinchart
> Cc:
A wrapped list iterating loop hasn't been correctly recognised in
v4l2_async_belongs(), which led to false positives. Fix the bug by
verifying the loop termination condition.
Reported-by: Prabhakar Lad
Signed-off-by: Guennadi Liakhovetski
---
Prabhakar, please, check, whether this fixes
viado via iPhone
>
> Em 19/04/2013, às 09:42, Guennadi Liakhovetski
> escreveu:
>
> > On Thu, 18 Apr 2013, Marcio Campos de Lima wrote:
> >
> >> Hi Guennadi
> >>
> >> Thanks a lot for your attention.
> >> I think I cannot apply the patche
el.
Thanks
Guennadi
> By the way, our MT9P031 sensor board has 10-bit format. I have fixed
> already.
>
> Regards
> MArcio
>
> On 18/04/13 19:44, "Guennadi Liakhovetski" wrote:
>
> >Hi Marcio
> >
> >On Thu, 18 Apr 2013, Marcio Campos de Lim
On Fri, 19 Apr 2013, Hans Verkuil wrote:
> On Thu April 18 2013 23:35:42 Guennadi Liakhovetski wrote:
> > 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 im
Hi Hans
Thanks for reviewing.
On Fri, 19 Apr 2013, Hans Verkuil wrote:
> On Thu April 18 2013 23:35:27 Guennadi Liakhovetski wrote:
> > This struct shall be used by subdevice drivers to pass per-subdevice data,
> > e.g. power supplies, to generic V4L2 methods, at the sam
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:
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
= V4L2_FIELD_NONE;
> mt9p031->format.colorspace = V4L2_COLORSPACE_SRGB;
> isi_set_clk();
> mt9p031->pdata->ext_freq=2100;
> mt9p031->pdata->target_freq=4800;
> ret = mt9p031_pll_get_divs(mt9p031);
>
> done:
> if (
struct v4l2_subdev.
Signed-off-by: Guennadi Liakhovetski
---
include/media/v4l2-subdev.h | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index eb91366..b15c6e0 100644
--- a/include/media/v4l2-subdev.h
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
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-c
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
ntation details, but comments to general concepts
would be appreciated.
Further note, that patches 8-12 aren't really required. We can keep the
deprecated struct soc_camera_link for now, or use a more gentle and slow
way to remove it.
Guennadi Liakhovetski (24):
V4L2: (cosmetic) remove
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
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 inser
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 chang
.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
be added as needed.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/v4l2-core/Makefile|3 +
drivers/media/v4l2-core/v4l2-pad-wrap.c | 329 +++
include/media/v4l2-pad-wrap.h | 23 +++
include/media/v4l2-subdev.h |2 +
4
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 |
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
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
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
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
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
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/medi
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/i
va 7
>
> Ukraine
>
>
>
> T +38 032 2952597
>
> F +38 032 2954879
>
> E d...@conecs.lviv.ua
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
Hi all
On Tue, 2 Apr 2013, Guennadi Liakhovetski wrote:
> On Tue, 2 Apr 2013, Arnd Bergmann wrote:
>
> > On Tuesday 02 April 2013, Guennadi Liakhovetski wrote:
> > > Currently modular V4L2 build with enabled OF is broken dur to the
> > > of_get_next_parent()
) subdevice drivers must register themselves with the framework.
A bridge driver on the other hand must register notification callbacks,
that will be called upon various related events.
Signed-off-by: Guennadi Liakhovetski
---
v9: addressed Laurent's comments (thanks)
1. moved valid hw->bus_type
04-08
07:28:01 -0300)
are available in the git repository at:
git://linuxtv.org/gliakhovetski/v4l-dvb.git for-3.10-3
Guennadi Liakhovetski (1):
soc-camera: fix typos in the default format-conversion table
Laurent Pinchart (1):
MAINTAINERS: Mark the SH VOU driver as Odd Fixes
MAINTA
only start and stop the clock without and client-specific
configuration.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/platform/soc_camera/soc_camera.c | 19 +--
include/media/soc_camera.h |2 ++
2 files changed, 19 insertions(+), 2 deletions
All soc-camera host drivers include a pointer to an soc-camera device in
their host private struct to check, that only one client is connected.
Move this common code to soc_camera.c.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/platform/soc_camera/atmel-isi.c | 10
When adding and removing a client, the mx2-camera driver only activates
and deactivates its camera interface respectively, which doesn't include
any client-specific actions. Move this functionality into .clock_start()
and .clock_stop() callbacks.
Signed-off-by: Guennadi Liakhovetski
---
dr
Some CEU implementations have non-standard (larger) maximum supported
width and height values. Add two OF properties to specify them.
Signed-off-by: Guennadi Liakhovetski
---
.../devicetree/bindings/media/sh_mobile_ceu.txt| 18 +++
.../platform/soc_camera
Use the v4l2-async API to support asynchronous subdevice probing,
including the CSI2 subdevice. Synchronous probing is still supported too.
Signed-off-by: Guennadi Liakhovetski
---
.../platform/soc_camera/sh_mobile_ceu_camera.c | 134 -
drivers/media/platform/soc_camera
Add an OF hook to sh_mobile_ceu_camera.c, no properties so far. Booting
with DT also requires platform data to be optional.
Signed-off-by: Guennadi Liakhovetski
---
.../platform/soc_camera/sh_mobile_ceu_camera.c | 33 ++--
1 files changed, 23 insertions(+), 10 deletions
During client probing we only have to turn on the host's clock, no need to
actually attach the client to the host.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/platform/soc_camera/soc_camera.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/
Instead of centrally enabling and disabling subdevice master clocks in
soc-camera core, let subdevice drivers do that themselves, using the
V4L2 clock API and soc-camera convenience wrappers.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/i2c/soc_camera/imx074.c | 18
, even when there are multiple such instances registered with a
single soc-camera host simultaneously.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/platform/soc_camera/soc_camera.c | 526
include/media/soc_camera.h | 23 +-
2 files changed
All existing soc-camera host drivers use .clock_start() and .clock_stop()
callbacks to activate and deactivate their camera interfaces, whereas
.add() and .remove() callbacks are usually dummy. Make the former two
compulsory and the latter two optional.
Signed-off-by: Guennadi Liakhovetski
so far only very few systems have been ported to that framework. This patch
adds a set of temporary helpers, mimicking the generic clock API, to V4L2.
Platforms, adopting the clock API, should switch to using it. Eventually
this temporary API should be removed.
Signed-off-by: Guennadi Liakhovetski
ublished earlier too, nothing extraordinary there.
These patches are also available from
git://linuxtv.org/gliakhovetski/v4l-dvb.git v4l2-async
Cc: Guennadi Liakhovetski
Guennadi Liakhovetski (20):
V4L2: add temporary clock helpers
V4L2: support asynchronous subdevice registration
soc-came
When adding and removing a client, the atmel-isi camera host driver only
activates and deactivates its camera interface respectively, which doesn't
include any client-specific actions. Move this functionality into
.clock_start() and .clock_stop() callbacks.
Signed-off-by: Guennadi Liakhov
Both synchronous and asynchronous imx074 subdevice probing is supported by
this patch.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/i2c/soc_camera/imx074.c | 22 +++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/drivers/media/i2c/soc_camera
. Move
the rest to .clock_start() and .clock_stop() callbacks.
Signed-off-by: Guennadi Liakhovetski
---
.../platform/soc_camera/sh_mobile_ceu_camera.c | 58
1 files changed, 35 insertions(+), 23 deletions(-)
diff --git a/drivers/media/platform/soc_camera
When adding and removing a client, the omap1-camera driver only activates
and deactivates its camera interface respectively, which doesn't include
any client-specific actions. Move this functionality into .clock_start()
and .clock_stop() callbacks.
Signed-off-by: Guennadi Liakhov
When adding and removing a client, the pxa-camera driver only activates
and deactivates its camera interface respectively, which doesn't include
any client-specific actions. Move this functionality into .clock_start()
and .clock_stop() callbacks.
Signed-off-by: Guennadi Liakhovetski
---
dr
Register the imx074 camera I2C and the CSI-2 platform devices directly
in board platform data instead of letting the sh_mobile_ceu_camera driver
and the soc-camera framework register them at their run-time. This uses
the V4L2 asynchronous subdevice probing capability.
Signed-off-by: Guennadi
When adding and removing a client, the mx1-camera driver only activates
and deactivates its camera interface respectively, which doesn't include
any client-specific actions. Move this functionality into .clock_start()
and .clock_stop() callbacks.
Signed-off-by: Guennadi Liakhovetski
---
dr
When adding and removing a client, the mx3-camera driver only activates
and deactivates its camera interface respectively, which doesn't include
any client-specific actions. Move this functionality into .clock_start()
and .clock_stop() callbacks.
Signed-off-by: Guennadi Liakhovetski
---
dr
> > + */
> > +struct v4l2_async_notifier {
> > + int subdev_num;
>
> The number of subdevs can't be negative, could this be unsigned ?
yes, here it makes sense. a simple
int i;
for (i = 0; i < N; i++)
...
is just not worth it imho :
urn PTR_ERR(veu->base);
>
> ret = devm_request_threaded_irq(&pdev->dev, irq, sh_veu_isr, sh_veu_bh,
> 0, "veu", veu);
> --
> 1.7.9.5
>
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http:/
Hi Sylwester
On Thu, 11 Apr 2013, Sylwester Nawrocki wrote:
> Hi Guennadi,
>
> On 04/11/2013 11:59 AM, Guennadi Liakhovetski wrote:
> > Hi all
> >
> > On Mon, 8 Apr 2013, Guennadi Liakhovetski wrote:
> >
> > > > Mostly just a re-spin of v7 with m
Hi all
On Mon, 8 Apr 2013, Guennadi Liakhovetski wrote:
> Mostly just a re-spin of v7 with minor modifications.
>
> Guennadi Liakhovetski (7):
> media: V4L2: add temporary clock helpers
> media: V4L2: support asynchronous subdevice registration
> media: soc-camera: sw
On Thu, 11 Apr 2013, Barry Song wrote:
> 2013/4/11 Guennadi Liakhovetski :
> > Hi Barry
> >
> > On Thu, 11 Apr 2013, Barry Song wrote:
> >
> >> Hi Guennadi,
> >>
> >> > Typical video devices like camera sensors require an external clock
&
tforms, adopting the clock API, should switch to using it. Eventually
> > this temporary API should be removed.
>
> > Signed-off-by: Guennadi Liakhovetski
> > ---
>
> for your patch 1/8 and 3/8, i think it makes a lot of senses to let
> the object manages its own c
On Wed, 10 Apr 2013, Barry Song wrote:
> 2013/4/10 Guennadi Liakhovetski :
> > On Wed, 10 Apr 2013, Barry Song wrote:
[snip]
> >> > This cannot work, because some I2C devices, e.g. sensors, need a clock
> >> > signal from the camera interface to pr
On Wed, 10 Apr 2013, Barry Song wrote:
> Hi Guennadia,
There's a typo above.
> Thanks!
>
> 2013/4/10 Guennadi Liakhovetski :
> > Hi Barry
> >
> > On Wed, 10 Apr 2013, Barry Song wrote:
> >
> >> Hi Guennadia,
> >>
> >> 2012/9
Hi Barry
On Wed, 10 Apr 2013, Barry Song wrote:
> Hi Guennadia,
>
> 2012/9/27 Guennadi Liakhovetski :
> > Currently soc-camera doesn't work with independently registered I2C client
> > devices, it has to register them itself. This patch adds support for such
> &g
Hi Simon
On Tue, 9 Apr 2013, Simon Horman wrote:
> On Mon, Apr 08, 2013 at 05:05:31PM +0200, Guennadi Liakhovetski wrote:
> > Mostly just a re-spin of v7 with minor modifications.
> >
> > Guennadi Liakhovetski (7):
> > media: V4L2: add temporary clock helpers
Mostly just a re-spin of v7 with minor modifications.
Guennadi Liakhovetski (7):
media: V4L2: add temporary clock helpers
media: V4L2: support asynchronous subdevice registration
media: soc-camera: switch I2C subdevice drivers to use v4l2-clk
soc-camera: add V4L2-async support
Use the v4l2-async API to support asynchronous subdevice probing,
including the CSI2 subdevice. Synchronous probing is still supported too.
Signed-off-by: Guennadi Liakhovetski
---
.../platform/soc_camera/sh_mobile_ceu_camera.c | 134 -
drivers/media/platform/soc_camera
Both synchronous and asynchronous imx074 subdevice probing is supported by
this patch.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/i2c/soc_camera/imx074.c | 24 +---
1 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/drivers/media/i2c/soc_camera
Register the imx074 camera I2C and the CSI-2 platform devices directly
in board platform data instead of letting the sh_mobile_ceu_camera driver
and the soc-camera framework register them at their run-time. This uses
the V4L2 asynchronous subdevice probing capability.
Signed-off-by: Guennadi
) subdevice drivers must register themselves with the framework.
A bridge driver on the other hand must register notification callbacks,
that will be called upon various related events.
Signed-off-by: Guennadi Liakhovetski
---
v8: Really renamed V4L2_ASYNC_BUS_SPECIAL to V4L2_ASYNC_BUS_CUSTOM
drivers
Instead of centrally enabling and disabling subdevice master clocks in
soc-camera core, let subdevice drivers do that themselves, using the
V4L2 clock API and soc-camera convenience wrappers.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/i2c/soc_camera/imx074.c | 18
so far only very few systems have been ported to that framework. This patch
adds a set of temporary helpers, mimicking the generic clock API, to V4L2.
Platforms, adopting the clock API, should switch to using it. Eventually
this temporary API should be removed.
Signed-off-by: Guennadi Liakhovetski
, even when there are multiple such instances registered with a
single soc-camera host simultaneously.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/platform/soc_camera/soc_camera.c | 526
include/media/soc_camera.h | 23 +-
2 files changed
Hi Sylwester
On Mon, 8 Apr 2013, Sylwester Nawrocki wrote:
> Hi Guennadi,
>
> On 04/08/2013 01:07 PM, Guennadi Liakhovetski wrote:
> > Currently bridge device drivers register devices for all subdevices
> > synchronously, tupically, during their probing. E.g. if an I
Hi Barry
On Mon, 8 Apr 2013, Barry Song wrote:
> hi Guennadi,
>
> 2012/9/27 Guennadi Liakhovetski :
> > With OF we aren't getting platform data any more. To minimise changes we
> > create all the missing data ourselves, including compulsory struct
> > soc_
Instead of centrally enabling and disabling subdevice master clocks in
soc-camera core, let subdevice drivers do that themselves, using the
V4L2 clock API and soc-camera convenience wrappers.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/i2c/soc_camera/imx074.c | 18
) subdevice drivers must register themselves with the framework.
A bridge driver on the other hand must register notification callbacks,
that will be called upon various related events.
Signed-off-by: Guennadi Liakhovetski
---
v7:
1. Removed bogus device reprobing from v4l2_async_unregister_subdev()
2
, even when there are multiple such instances registered with a
single soc-camera host simultaneously.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/platform/soc_camera/soc_camera.c | 526
include/media/soc_camera.h | 23 +-
2 files changed
mainly addressed the API itself,
users have been updated to reflect the changes.
Guennadi Liakhovetski (7):
media: V4L2: add temporary clock helpers
media: V4L2: support asynchronous subdevice registration
media: soc-camera: switch I2C subdevice drivers to use v4l2-clk
soc-camera: add V4L2
Register the imx074 camera I2C and the CSI-2 platform devices directly
in board platform data instead of letting the sh_mobile_ceu_camera driver
and the soc-camera framework register them at their run-time. This uses
the V4L2 asynchronous subdevice probing capability.
Signed-off-by: Guennadi
Use the v4l2-async API to support asynchronous subdevice probing,
including the CSI2 subdevice. Synchronous probing is still supported too.
Signed-off-by: Guennadi Liakhovetski
---
.../platform/soc_camera/sh_mobile_ceu_camera.c | 134 -
drivers/media/platform/soc_camera
so far only very few systems have been ported to that framework. This patch
adds a set of temporary helpers, mimicking the generic clock API, to V4L2.
Platforms, adopting the clock API, should switch to using it. Eventually
this temporary API should be removed.
Signed-off-by: Guennadi Liakhovetski
Both synchronous and asynchronous imx074 subdevice probing is supported by
this patch.
Signed-off-by: Guennadi Liakhovetski
---
drivers/media/i2c/soc_camera/imx074.c | 24 +---
1 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/drivers/media/i2c/soc_camera
On Wed, 27 Mar 2013, Laurent Pinchart wrote:
> Hi Guennadi,
>
> Thanks for the patch.
>
> On Friday 15 March 2013 22:27:49 Guennadi Liakhovetski wrote:
> > Instead of centrally enabling and disabling subdevice master clocks in
> > soc-camera core, let subdevice driver
; or return value type of this function needs to be 'long'. Otherwise
> we'll get insanely large frequency value by casting this error code
> to unsigned long.
Comparing to the CCF: AFAICS, they do the same, you're supposed to use
IS_ERR_VALUE() on the clock rate, obtaine
lable in the git repository at:
git://linuxtv.org/gliakhovetski/v4l-dvb.git for-3.10-2
Fabio Porcedda (2):
drivers: media: use module_platform_driver_probe()
mx2_camera: use module_platform_driver_probe()
Guennadi Liakhovetski (1):
soc-camera: protect against racing open(
On Wed, 3 Apr 2013, Fabio Porcedda wrote:
> On Mon, Mar 18, 2013 at 11:09 AM, Guennadi Liakhovetski
> wrote:
> > Hi Fabio
> >
> > On Mon, 18 Mar 2013, Fabio Porcedda wrote:
> >
> >> The commit 39793c6 "[media] mx2_camera: Convert it to platform driver
Guennadi Liakhovetski (1):
soc-camera: protect against racing open(2) and rmmod
Phil Edworthy (1):
soc_camera: Add RGB666 & RGB888 formats
Tushar Behera (1):
atmel-isi: Update error check for unsigned variables
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelan
On Tue, 2 Apr 2013, Arnd Bergmann wrote:
> On Tuesday 02 April 2013, Guennadi Liakhovetski wrote:
> > Currently modular V4L2 build with enabled OF is broken dur to the
> > of_get_next_parent() function being unavailable to modules. Export it to
> > fix the build.
> >
Currently modular V4L2 build with enabled OF is broken dur to the
of_get_next_parent() function being unavailable to modules. Export it to
fix the build.
Cc: Sylwester Nawrocki
Signed-off-by: Guennadi Liakhovetski
---
This is for 3.10
drivers/of/base.c |1 +
1 files changed, 1 insertions
On Tue, 2 Apr 2013, Sylwester Nawrocki wrote:
> Hi Guennadi,
>
> On 04/02/2013 04:54 PM, Guennadi Liakhovetski wrote:
> > On Tue, 2 Apr 2013, Sylwester Nawrocki wrote:
> >
> >> > v4l2_of_parse_parallel_bus() function is now static and
> >> > EXPOR
601 - 700 of 2736 matches
Mail list logo