From patchwork Fri Nov 16 14:45:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 1755621 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id E49E1DF230 for ; Fri, 16 Nov 2012 14:48:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752256Ab2KPOrh (ORCPT ); Fri, 16 Nov 2012 09:47:37 -0500 Received: from mail-da0-f46.google.com ([209.85.210.46]:32926 "EHLO mail-da0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751955Ab2KPOrg (ORCPT ); Fri, 16 Nov 2012 09:47:36 -0500 Received: by mail-da0-f46.google.com with SMTP id n41so1173649dak.19 for ; Fri, 16 Nov 2012 06:47:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=sOOuRuGhHqKDxwpVSzTkVsuJMx5nsOPJaXGFO/+/fp4=; b=tNDTMACC6vSkemHUk8G1HN9uM9eUREmKECKDcOQd4TpviKI4LHzW9kd/6g6Yd87mZY H4nNKin/4/v6A7+ZGpUE+YWnrsHMbwAllQIWeIJTOwxB0PGr8aoCTyhdM32qFNbpO19Y sIfm1i1YN+6VXQWnhRLZOFSHlETz4VV2VklgICZ4mkSZ7jmkthpfsozPUPLZbhJhIL2Q 6c8rSDPbGXYvhYMjEzAb1ityuDpSKcRF0QLcCAddWErpgONWF7IaZ2TDwjQXmD6DSb+H Cz/5f2QLBSE+Bn5TkOuiyJ4ttm9kXIPUFTbf4M3mfPJW+pAHZapQzLOQGRYCMwo0915W H+UA== Received: by 10.68.83.68 with SMTP id o4mr16003222pby.25.1353077256192; Fri, 16 Nov 2012 06:47:36 -0800 (PST) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPS id os5sm1334196pbc.15.2012.11.16.06.47.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 16 Nov 2012 06:47:35 -0800 (PST) From: Prabhakar Lad To: LMML Cc: LKML , DLOS , Manjunath Hadli , Prabhakar Lad , Mauro Carvalho Chehab Subject: [PATCH v2 11/12] davinci: vpfe: dm365: add build infrastructure for capture driver Date: Fri, 16 Nov 2012 20:15:13 +0530 Message-Id: <1353077114-19296-12-git-send-email-prabhakar.lad@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1353077114-19296-1-git-send-email-prabhakar.lad@ti.com> References: <1353077114-19296-1-git-send-email-prabhakar.lad@ti.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Manjunath Hadli add build infrastructure for dm365 specific modules for VPFE capture driver. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/Kconfig | 11 +++++++++++ drivers/media/platform/davinci/Makefile | 3 +++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/media/platform/davinci/Kconfig b/drivers/media/platform/davinci/Kconfig index 78e26d2..b52c642 100644 --- a/drivers/media/platform/davinci/Kconfig +++ b/drivers/media/platform/davinci/Kconfig @@ -119,3 +119,14 @@ config VIDEO_VPBE_DISPLAY To compile this driver as a module, choose M here: the module will be called vpbe_display. + + +config VIDEO_DM365_VPFE_CAPTURE + tristate "DM365 VPFE Media Controller Capture Driver" + depends on VIDEO_V4L2 && ARCH_DAVINCI_DM365 && !VIDEO_VPFE_CAPTURE + select VIDEOBUF2_DMA_CONTIG + help + Support for DM365 VPFE based Media Controller Capture driver. + + To compile this driver as a module, choose M here: the + module will be called vpfe-mc-capture. diff --git a/drivers/media/platform/davinci/Makefile b/drivers/media/platform/davinci/Makefile index 74ed92d..8ca702e 100644 --- a/drivers/media/platform/davinci/Makefile +++ b/drivers/media/platform/davinci/Makefile @@ -18,3 +18,6 @@ obj-$(CONFIG_VIDEO_DM355_CCDC) += dm355_ccdc.o obj-$(CONFIG_VIDEO_ISIF) += isif.o obj-$(CONFIG_VIDEO_DM644X_VPBE) += vpbe.o vpbe_osd.o vpbe_venc.o obj-$(CONFIG_VIDEO_VPBE_DISPLAY) += vpbe_display.o +obj-$(CONFIG_VIDEO_DM365_VPFE_CAPTURE) += \ + dm365_isif.o dm365_ipipe_hw.o dm365_ipipe.o \ + dm365_resizer.o dm365_ipipeif.o vpfe_mc_capture.o vpfe_video.o