[PATCH RFC v3 0/4] media: davinci: vpif: capture/display support for async subdevice probing

From: Lad Prabhakar
Date: Tue May 14 2013 - 02:48:01 EST


From: Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx>

This patch series adds support for vpif capture and display
driver to support asynchronously register subdevices.
The first two patches adds asynchronous probing for adv7343
and tvp514x respectively.

Need for this support:
Currently bridge device drivers register devices for all subdevices
synchronously, typically, during their probing. E.g. if an I2C CMOS sensor
is attached to a video bridge device, the bridge driver will create an I2C
device and wait for the respective I2C driver to probe. This makes linking
of devices straight forward, but this approach cannot be used with
intrinsically asynchronous and unordered device registration systems like
the Flattened Device Tree.

This series is dependent on following patches:
1: https://patchwork.kernel.org/patch/2437111/
2: https://patchwork.linuxtv.org/patch/18096/

Changes for v3:
1: Fixed review comment pointed out by Guennadi.

Changes for v2:
1: added support v4l-async support for vpif display driver.
2: added asynchronous probing for adv7343.


Lad, Prabhakar (4):
media: i2c: adv7343: add support for asynchronous probing
media: i2c: tvp514x: add support for asynchronous probing
media: davinci: vpif: capture: add V4L2-async support
media: davinci: vpif: display: add V4L2-async support

drivers/media/i2c/adv7343.c | 16 ++-
drivers/media/i2c/tvp514x.c | 23 ++-
drivers/media/platform/davinci/vpif_capture.c | 151 ++++++++++++------
drivers/media/platform/davinci/vpif_capture.h | 2 +
drivers/media/platform/davinci/vpif_display.c | 219 +++++++++++++++----------
drivers/media/platform/davinci/vpif_display.h | 3 +-
include/media/davinci/vpif_types.h | 4 +
7 files changed, 272 insertions(+), 146 deletions(-)

--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/