From patchwork Mon Jun 19 14:48:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todor Tomov X-Patchwork-Id: 105861 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp921329qgd; Mon, 19 Jun 2017 08:08:38 -0700 (PDT) X-Received: by 10.84.231.134 with SMTP id g6mr30063730plk.86.1497884918255; Mon, 19 Jun 2017 08:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497884918; cv=none; d=google.com; s=arc-20160816; b=a7r9hRJbPMHH5aesp3ZbAzY3XtIDmjfITPTeHX4msQxeBapFvFeSPzpzA7qDCG4DNb TC1h/X3a8hifd5E0k4917Jhvys4S8zTvOPlnLe8HLUsIZkU/cTzEV90aqgTiDKzrtaRD T46bPy52e06Gqde/6+3bMBT7DLp5Lnq3fXz5UZR+/vSS5EUxZEceXTdy2GZ7K4TgwWAB rckVwWg+X0MlWNTEQGrsAg9Qe2TTRbRKozFYVCihaekO4VmSB4S2+QFaxKKwyLqg4q4R C4QNruFMgGwHcTeCXtn9Za6TfkzCO0k45XbJ8RQnfkTGQf6k66+AGvXol0EAYTQTxuId uVsg== 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=khQEBdCMWoj04pDMIPKwZ7ZDj7ikK5frlZSUvBZoZa8=; b=MafWw5l2F6CFLSLxIhYK5CMWUyPjnYtsbkmsb9pt59noT4N14GDAEYzxiiP+LVt2f0 EGzCun9DtMYynG1ME7ozXbfUJWTSwp4ljev75BSB5eEkK9bY9ypApe5WcBGpWFCL8Ykg eylYuOfHzyggHbmklI8ckcVadBxj6+zzwqI3f0NVxbzVE13Xbect/YL2iJyerlL1F1wQ nGGDI3sItRwMzvxU1jfqGwpTZXwbPLvZh4dJxJP5C6w0EkB+MW+e+ONwkwiiLW6DGM39 TJHWkzv7EK8CB1gC6f4oGVn6eWLXAr/dwCbA7jXt7XYM7V6AlNnCzOy5cqZxIhkSd7CB hOOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 2si9795087plb.109.2017.06.19.08.08.37; Mon, 19 Jun 2017 08:08:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1752159AbdFSPIU (ORCPT + 25 others); Mon, 19 Jun 2017 11:08:20 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:56039 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196AbdFSO4e (ORCPT ); Mon, 19 Jun 2017 10:56:34 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id A6A3A4F88A; Mon, 19 Jun 2017 17:49:23 +0300 (EEST) From: Todor Tomov To: mchehab@kernel.org, hans.verkuil@cisco.com, javier@osg.samsung.com, s.nawrocki@samsung.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Todor Tomov Subject: [PATCH v2 10/19] media: camss: Enable building Date: Mon, 19 Jun 2017 17:48:30 +0300 Message-Id: <1497883719-12410-11-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497883719-12410-1-git-send-email-todor.tomov@linaro.org> References: <1497883719-12410-1-git-send-email-todor.tomov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 | 6 ++++++ drivers/media/platform/Makefile | 2 ++ drivers/media/platform/qcom/camss-8x16/Makefile | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100644 drivers/media/platform/qcom/camss-8x16/Makefile -- 1.9.1 diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 041cb80..cf69c41 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -100,6 +100,12 @@ 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 + 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 63303d6..f083b8a 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -77,3 +77,5 @@ obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec/ obj-$(CONFIG_VIDEO_MEDIATEK_MDP) += mtk-mdp/ obj-$(CONFIG_VIDEO_MEDIATEK_JPEG) += mtk-jpeg/ + +obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom/camss-8x16/ diff --git a/drivers/media/platform/qcom/camss-8x16/Makefile b/drivers/media/platform/qcom/camss-8x16/Makefile new file mode 100644 index 0000000..4a6b08f --- /dev/null +++ b/drivers/media/platform/qcom/camss-8x16/Makefile @@ -0,0 +1,11 @@ +# Makefile for Qualcomm CAMSS driver + +qcom-camss-objs += \ + camss.o \ + csid.o \ + csiphy.o \ + ispif.o \ + vfe.o \ + video.o \ + +obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom-camss.o