From patchwork Mon Jul 17 10:33:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todor Tomov X-Patchwork-Id: 107885 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp4340343qge; Mon, 17 Jul 2017 03:35:12 -0700 (PDT) X-Received: by 10.98.139.11 with SMTP id j11mr18558603pfe.18.1500287712704; Mon, 17 Jul 2017 03:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500287712; cv=none; d=google.com; s=arc-20160816; b=zsejphmGj6TVNN51olIxvmjp+ghYyxDkoqFW/D6qd8Xggpv8qUH0ql6qfpBe8dW3vI ukSBBYQlHzCan7Mcl4B/zPwN2M2Bc+r5FtjV3atAhBZOOWGLD1S1Cb3G+DSZyWuwucHS F5//4VDudzv9FZvm8jcAYVH/nOpihLZpgp0yKTNDZwi7k9XzYfwazzwjG76y922CoS57 lQ07PYFhjuF79ypNcMQfD2JJdn5kXilm/3zO2YpTWanhkBOn6Jsfobiq7KPmEK3zPrS6 HOMiSLkHQbZ0/sQ7f/92qBgIUYN/1M0KJVGC8DKxa7ejUkhZTcp/ZJwANBim3M3/SKN/ u9yw== 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=7rV0wP+yEV0n0L4OOFQhGzfK+bdTg4cffy/7vEywrB8=; b=M77dV/Np+ASC1+B5wbEXMw+XpRZhsrgIkaFFCtsesoNSBvDlJW+57EhrHSkE1oe3ZJ nvPqCppBO3keLDBWJ2dd77PTQ5L5sb92fqElRP2P7JkXHkUkdNsLkJz8Eo3WbBQLK1BN d78NiqIV7Po4gdYcnMuVxk8gfg9mA0reJxu1ftcuW20sbL+/hFWjZ5+WG9vE690mFfQ5 1tWIpJG8Rxa+yhnPrWviqs/kIke82M3UGrXeI/mvJgrQUAxOY0x+Qb6C84qOEAR0ctgz Q3LShd1g4FrYZ/Tbi4YD1qZ0nM9qh/4ymJM7wLKKirh6qca9yCzBpo76FjBlJFxh1OR7 NBQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 g5si12751517pgk.185.2017.07.17.03.35.12; Mon, 17 Jul 2017 03:35:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1751410AbdGQKfK (ORCPT + 10 others); Mon, 17 Jul 2017 06:35:10 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:36144 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751383AbdGQKfE (ORCPT ); Mon, 17 Jul 2017 06:35:04 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id DAEBBCBED; Mon, 17 Jul 2017 13:34:58 +0300 (EEST) From: Todor Tomov To: mchehab@kernel.org, hans.verkuil@cisco.com, javier@osg.samsung.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 v3 13/23] media: camss: Enable building Date: Mon, 17 Jul 2017 13:33:39 +0300 Message-Id: <1500287629-23703-14-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500287629-23703-1-git-send-email-todor.tomov@linaro.org> References: <1500287629-23703-1-git-send-email-todor.tomov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 1313cd5..87be341 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -109,6 +109,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