From patchwork Fri Sep 14 12:46:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 1458791 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by patchwork1.kernel.org (Postfix) with ESMTP id A4C1040220 for ; Fri, 14 Sep 2012 12:58:16 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id q8ECuRLa009293; Fri, 14 Sep 2012 07:56:27 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q8ECuRXl009691; Fri, 14 Sep 2012 07:56:27 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by dfle72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.1.323.3; Fri, 14 Sep 2012 07:56:26 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id q8ECuQRc009367; Fri, 14 Sep 2012 07:56:26 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id BEBC480626; Fri, 14 Sep 2012 07:56:26 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id 9A4C98062A for ; Fri, 14 Sep 2012 07:51:16 -0500 (CDT) Received: from red.ext.ti.com (red.ext.ti.com [192.94.93.37]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id q8ECpGwc002969 for ; Fri, 14 Sep 2012 07:51:16 -0500 (CDT) Received: from psmtp.com (na3sys009amx213.postini.com [74.125.149.53]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id q8ECpFwv006760 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 14 Sep 2012 07:51:16 -0500 Received: from mail-pz0-f45.google.com ([209.85.210.45]) (using TLSv1) by na3sys009amx213.postini.com ([74.125.148.10]) with SMTP; Fri, 14 Sep 2012 12:51:16 GMT Received: by mail-pz0-f45.google.com with SMTP id n15so2510653dad.4 for ; Fri, 14 Sep 2012 05:51:15 -0700 (PDT) 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=pBT3na1QVdlkZvL/IuUZv3kA/GzK98onyA83/1Tsq2k=; b=G5JUPNuc0qRFWvukJjIxW6EBB1j1DAQdwymsPK124oahzQtg5m2YniQpFMymeCFwOn kqN+rMeFz7XnlsNv87y/RD5fTDvrqUGw5ja+G8Gwcn90xpaHbQroBkH6JnDxk5PYOpBB DXeanWu3HZF0M2H7n9I0RGfimvkf9AJMohDQ8ZPHB0mFPCjTKbqGLOJywwxNDlfniagE ef4Gbta3HMQM2T/ynVX/DSUaErlsGqQGqkwsf/BWtxHQe2U4INObJiC/KxMWpm5J9ls/ C5/VpA9WYM1Zj1q7HUBIGJiHyKkWDmV9AyCZkU4ALqPKZrG7UOOYp0V5ZCPJRx/+SC39 tl9Q== Received: by 10.68.232.194 with SMTP id tq2mr4966585pbc.111.1347627075634; Fri, 14 Sep 2012 05:51:15 -0700 (PDT) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPS id gv1sm939033pbc.38.2012.09.14.05.51.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Sep 2012 05:51:14 -0700 (PDT) From: Prabhakar Lad To: LMML Subject: [PATCH 13/14] davinci: vpfe: build infrastructure for dm365 Date: Fri, 14 Sep 2012 18:16:43 +0530 Message-ID: <1347626804-5703-14-git-send-email-prabhakar.lad@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1347626804-5703-1-git-send-email-prabhakar.lad@ti.com> References: <1347626804-5703-1-git-send-email-prabhakar.lad@ti.com> X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:17.12253/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-dkim: 1 skipped:not-enabled X-pstn-settings: 2 (0.5000:0.0050) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [82/3] CC: DLOS , LKML , Mauro Carvalho Chehab X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com From: Manjunath Hadli add build infrastructure for dm365 specific modules such as IPIPE, AEW, AF. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/Kconfig | 40 +++++++++++++++++++++++++++++- drivers/media/platform/davinci/Makefile | 9 +++++++ 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/davinci/Kconfig b/drivers/media/platform/davinci/Kconfig index 78e26d2..4eddb00 100644 --- a/drivers/media/platform/davinci/Kconfig +++ b/drivers/media/platform/davinci/Kconfig @@ -56,7 +56,7 @@ config VIDEO_VPFE_CAPTURE config VIDEO_DM6446_CCDC tristate "DM6446 CCDC HW module" - depends on VIDEO_VPFE_CAPTURE + depends on VIDEO_VPFE_CAPTURE && ARCH_DAVINCI_DM644x select VIDEO_VPSS_SYSTEM default y help @@ -85,7 +85,7 @@ config VIDEO_DM355_CCDC module will be called vpfe. config VIDEO_ISIF - tristate "ISIF HW module" + tristate "DM365 ISIF HW module" depends on ARCH_DAVINCI_DM365 && VIDEO_VPFE_CAPTURE select VIDEO_VPSS_SYSTEM default y @@ -119,3 +119,39 @@ config VIDEO_VPBE_DISPLAY To compile this driver as a module, choose M here: the module will be called vpbe_display. + + +config VIDEO_365_CCDC + tristate "DM365 CCDC HW module" + depends on ARCH_DAVINCI_DM365 && VIDEO_VPFE_MC_CAPTURE + select VIDEO_VPSS_SYSTEM + default y + help + Enables ISIF hw module. This is the hardware module for + configuring ISIF in VPFE to capture Raw Bayer RGB data from + a image sensor or YUV data from a YUV source. + + To compile this driver as a module, choose M here: the + module will be called vpfe. + +config DM365_IPIPE + depends on ARCH_DAVINCI && ARCH_DAVINCI_DM365 && VIDEO_VPFE_MC_CAPTURE + tristate "DM365 IPIPE" + help + dm365 IPIPE hardware module. + + This is the hardware module that implements imp_hw_interface + for DM365. This hardware module provides previewer and resizer + functionality for image processing. + +config VIDEO_VPFE_MC_CAPTURE + tristate "VPFE Media Controller Capture Driver" + depends on VIDEO_V4L2 && (ARCH_DAVINCI) && !VIDEO_VPFE_CAPTURE + select VIDEOBUF_DMA_CONTIG + help + Support for DMx/AMx VPFE based Media Controller Capture driver. This is the + common V4L2 module for following DMx/AMx SoCs from Texas + Instruments:- DM6446, DM365, DM355 & AM3517/05. + + 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..955f63d 100644 --- a/drivers/media/platform/davinci/Makefile +++ b/drivers/media/platform/davinci/Makefile @@ -16,5 +16,14 @@ obj-$(CONFIG_VIDEO_VPFE_CAPTURE) += vpfe_capture.o obj-$(CONFIG_VIDEO_DM6446_CCDC) += dm644x_ccdc.o obj-$(CONFIG_VIDEO_DM355_CCDC) += dm355_ccdc.o obj-$(CONFIG_VIDEO_ISIF) += isif.o +obj-$(CONFIG_VIDEO_365_CCDC) += dm365_ccdc.o +obj-$(CONFIG_VIDEO_VPFE_MC_CAPTURE) += vpfe_mc_capture.o \ + vpfe_ccdc.o vpfe_resizer.o vpfe_previewer.o \ + vpfe_video.o + +dm365_imp-objs := dm365_ipipe.o dm365_def_para.o \ + dm365_ipipe_hw.o dm3xx_ipipeif.o +obj-$(CONFIG_DM365_IPIPE) += dm365_imp.o + obj-$(CONFIG_VIDEO_DM644X_VPBE) += vpbe.o vpbe_osd.o vpbe_venc.o obj-$(CONFIG_VIDEO_VPBE_DISPLAY) += vpbe_display.o