From patchwork Tue Aug 8 13:30:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todor Tomov X-Patchwork-Id: 109649 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2956130qge; Tue, 8 Aug 2017 06:33:31 -0700 (PDT) X-Received: by 10.84.210.40 with SMTP id z37mr4694058plh.265.1502199211185; Tue, 08 Aug 2017 06:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502199211; cv=none; d=google.com; s=arc-20160816; b=bNDlyYpZOzwe252djR25yyI9irlS07AnRnP2Y1+7dUYuKNOuGLRRR8PlADHW65/XmI 3E9oxghW2Wx8bwWpnalERVe3jQnZXNrhSpBam7mCz8Ma/9Hbwru6fntuI6D2QoMQzI7s /ZM3SC7Kbarx4iAPiNO6hQTULRdArM5ZFDhWEcviwIWPHcLL2Ogvq0Yp5QmzXi432i6u a7TmT5tLuMg1q2lZkfiuaaZiGsWuedzhB4QomssR5EV4ZGPTBd+wegIHJduzBu4Uku59 SpLkvpnAthpdpWqobHyQBIpnrHK/aMwvQC5NjxVwwYwNpMS7jvUfw95IVddKxNRtSwLF UJEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Im7uk0+jrwEKI1w3qxctUqLQbReMLC3jvYJMXx1naAw=; b=MER+FCF6M4svJ9vPMz7W8znYMgjXBzTB6O1qidW0peKW3rmBvWgRifH/+UqemnJVRb vwbg2i0CVyKqMYG03SOt+oCT7oSovwF20RovaWDjwNU2TyyOu93sYVlRxHl7EAIuoHow MS3O7+xuqM9ZVXTnoal6fsfPGXH4isZ0qWTYKrauq7D79QLU4S/xtaQkate2ce1h2rzo AZxzYbTaO2u4Zxy2X9YBCKlIiLwfBFYtxtUl//fBwV9LwGFIzolTYfrMXmFm/FDzW+d3 o4V/pO6ig7mTE8CXDHqKHNSQBapCB60tr2hgEBfktycwbYRrBKKDYbibrEGmfriEPp5Z vfIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12si814792pgo.148.2017.08.08.06.33.31; Tue, 08 Aug 2017 06:33:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752478AbdHHNd3 (ORCPT + 4 others); Tue, 8 Aug 2017 09:33:29 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:40298 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365AbdHHNa6 (ORCPT ); Tue, 8 Aug 2017 09:30:58 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id C82684F88C; Tue, 8 Aug 2017 16:30:52 +0300 (EEST) From: Todor Tomov To: mchehab@kernel.org, hans.verkuil@cisco.com, s.nawrocki@samsung.com, sakari.ailus@iki.fi, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Todor Tomov Subject: [PATCH v4 11/21] media: camss: Enable building Date: Tue, 8 Aug 2017 16:30:08 +0300 Message-Id: <1502199018-28250-12-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502199018-28250-1-git-send-email-todor.tomov@linaro.org> References: <1502199018-28250-1-git-send-email-todor.tomov@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add Makefile and update platform/Kconfig and platform/Makefile to enable building of the QCom CAMSS driver. Signed-off-by: Todor Tomov --- drivers/media/platform/Kconfig | 7 +++++++ drivers/media/platform/Makefile | 2 ++ drivers/media/platform/qcom/camss-8x16/Makefile | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 drivers/media/platform/qcom/camss-8x16/Makefile -- 2.7.4 diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 0c741d1..f8263e4 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -110,6 +110,13 @@ config VIDEO_PXA27x ---help--- This is a v4l2 driver for the PXA27x Quick Capture Interface +config VIDEO_QCOM_CAMSS + tristate "Qualcomm 8x16 V4L2 Camera Subsystem driver" + depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST + select VIDEOBUF2_DMA_SG + select V4L2_FWNODE + config VIDEO_S3C_CAMIF tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver" depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index 9beadc7..10c099c 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -85,4 +85,6 @@ obj-$(CONFIG_VIDEO_MEDIATEK_MDP) += mtk-mdp/ obj-$(CONFIG_VIDEO_MEDIATEK_JPEG) += mtk-jpeg/ +obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom/camss-8x16/ + obj-$(CONFIG_VIDEO_QCOM_VENUS) += qcom/venus/ diff --git a/drivers/media/platform/qcom/camss-8x16/Makefile b/drivers/media/platform/qcom/camss-8x16/Makefile new file mode 100644 index 0000000..3c4024f --- /dev/null +++ b/drivers/media/platform/qcom/camss-8x16/Makefile @@ -0,0 +1,11 @@ +# Makefile for Qualcomm CAMSS driver + +qcom-camss-objs += \ + camss.o \ + camss-csid.o \ + camss-csiphy.o \ + camss-ispif.o \ + camss-vfe.o \ + camss-video.o \ + +obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom-camss.o