Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753384Ab3DVKRq (ORCPT ); Mon, 22 Apr 2013 06:17:46 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:39102 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753285Ab3DVKRo (ORCPT ); Mon, 22 Apr 2013 06:17:44 -0400 From: Prabhakar Lad To: LMML Cc: DLOS , LKML , "Lad, Prabhakar" Subject: [PATCH RFC v2 0/4] media: davinci: vpif: capture/display support for async subdevice probing Date: Mon, 22 Apr 2013 15:47:24 +0530 Message-Id: <1366625848-743-1-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.7.4.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2002 Lines: 47 From: Lad, Prabhakar 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 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 | 17 ++- 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, 273 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/