From patchwork Thu Jan 24 16:09:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 156486 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2137125jaa; Thu, 24 Jan 2019 08:09:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN6GibbvSloyJu/+zLtJluKo4Z0jBtGRrqSZ1KZ7KFojJQxrcBrK/qSJy1GlWtgw/qZysah+ X-Received: by 2002:a62:7e13:: with SMTP id z19mr7040353pfc.94.1548346187358; Thu, 24 Jan 2019 08:09:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548346187; cv=none; d=google.com; s=arc-20160816; b=05t7sWjr5WYuWGOFislS5QRjfvJ2Z2FBO1pU4ot0VoqukXBUMe/Mx3hiuWA6Tk9wcO XqvMoCW50F8B1zEedB1kscDR34rWuenzAPzOi890c1aDtJtUVaCGR+KnTLNU+z4xmYZe 81JH+vw4reR8c9Q4d45tHYSlFkEY3aqUK8DRifF6PjnQ/lDmbRSUO/ig6iRQVRcBqfdX a4U5uv5o6YtOPGlOrxsflv+DlYVnTHwK3dCpUUCeHekSshCMdSOpPuapgd0YQ77Q6hdy wVkqs+4gNU/mlEOBSITFFe4KQGe4Chf3amupTf2EcCLUdR6HLdE9a0kSpZlv/In1TFNA Jxaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bakxXHwCXlwTa28lH4zHXABog+LI5vR2e9utn+0vgks=; b=GmFQuQ7zGfncmxfPf7/7CFR/r5Msu8VC13wz1OCsIcTmCv3500lcMIk3/dNQ61G2vl cApar5EwOA/JOOYgN0M7ZiunNbJrv5U9OWATEdz/sOC3d5K3XhpDKt2RI2vvzMtSP9QW 5FULF6V1zVqNaK72mDTh2DLUzUusaQKFePW5RNua7DDwb2yfVTs5t675Nj/P0l2SLOQw NIFnvpL/Q61YRev6flrrcXnCMR7czb8gOJvDn5CKj7NGFK+QHWZ6e++AMGoDFYYqE03W FBBxJrnp/2GfNrmoR5Y3ILGzAmGG1Y4tN3EqHS30qw1uZnWDah9PeSuuZpWGp/gTkYos YcAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F31ykdLB; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (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 34si15994576pgt.455.2019.01.24.08.09.47; Thu, 24 Jan 2019 08:09:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F31ykdLB; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728840AbfAXQJq (ORCPT + 7 others); Thu, 24 Jan 2019 11:09:46 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:56262 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728843AbfAXQJq (ORCPT ); Thu, 24 Jan 2019 11:09:46 -0500 Received: by mail-wm1-f67.google.com with SMTP id y139so3690829wmc.5 for ; Thu, 24 Jan 2019 08:09:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bakxXHwCXlwTa28lH4zHXABog+LI5vR2e9utn+0vgks=; b=F31ykdLBxo9ERlF6pZwsm4ubxD/GxDtjXmwq/y3pcgg+biLSaaBpagGtWV2A/Vn0vB i75jc6P6nie1qpd9MLgk/RrUqq/EUURCHAYppiLsvddWl/wm0HiHnZrzr1HXEoO3lcxB 9xamvcxhXzpwp/Dk8WbF888cuLc3wfkjmToJk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bakxXHwCXlwTa28lH4zHXABog+LI5vR2e9utn+0vgks=; b=RO2abP4zDFCoa71vARFSxw0s1aU10VzDB3qwHAixWFyFNKlQoO+i2caxTftInkO7oS IPPZWbU/gTG8tQwVrcur6cN1XdcajFJmaBOsQH4d9fTxfTfFe+DzjZCUP/BDwv8A2OvE 4+6Zr3z50EWy9wmxUSFyYcEqFsvTk+BjyYUkQNwt4sybH8g/b+67jVKCEQUdhYEI2Nd8 tf3GcXNO+YaJHT2BotBMNVsPQp1ttBjNLBysNngAIzXN1z4M9v98spAZSrfdSpk1so7p ItWfUJnlKySQJxqpUs5i7SqE9xjlt8ah3fC5ZoTVG0iJRWtAvTyBcSpIZxgBbUBQDF4y QFVw== X-Gm-Message-State: AJcUukerkDE86XT14Yt4SwTXYtDVWPWtl3Ou3LsQFmSUEqWzVnoy7cYV +SDaFVWVpORQ6IdGyYETyhoz6Q== X-Received: by 2002:a7b:c156:: with SMTP id z22mr3275914wmi.24.1548346184381; Thu, 24 Jan 2019 08:09:44 -0800 (PST) Received: from arch-late.local (a109-49-46-234.cpe.netcabo.pt. [109.49.46.234]) by smtp.gmail.com with ESMTPSA id e16sm179880299wrn.72.2019.01.24.08.09.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 08:09:43 -0800 (PST) From: Rui Miguel Silva To: sakari.ailus@linux.intel.com, Steve Longerbeam , Hans Verkuil , Philipp Zabel Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , Rui Miguel Silva Subject: [PATCH v11 04/13] media: staging/imx7: add imx7 CSI subdev driver Date: Thu, 24 Jan 2019 16:09:19 +0000 Message-Id: <20190124160928.31884-5-rui.silva@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190124160928.31884-1-rui.silva@linaro.org> References: <20190124160928.31884-1-rui.silva@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This add the media entity subdevice and control driver for the i.MX7 CMOS Sensor Interface. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/Kconfig | 9 ++++++++- drivers/staging/media/imx/Makefile | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/drivers/staging/media/imx/Kconfig b/drivers/staging/media/imx/Kconfig index bfc17de56b17..36b276ea2ecc 100644 --- a/drivers/staging/media/imx/Kconfig +++ b/drivers/staging/media/imx/Kconfig @@ -11,7 +11,7 @@ config VIDEO_IMX_MEDIA driver for the i.MX5/6 SOC. if VIDEO_IMX_MEDIA -menu "i.MX5/6 Media Sub devices" +menu "i.MX5/6/7 Media Sub devices" config VIDEO_IMX_CSI tristate "i.MX5/6 Camera Sensor Interface driver" @@ -20,5 +20,12 @@ config VIDEO_IMX_CSI ---help--- A video4linux camera sensor interface driver for i.MX5/6. +config VIDEO_IMX7_CSI + tristate "i.MX7 Camera Sensor Interface driver" + depends on VIDEO_IMX_MEDIA && VIDEO_DEV && I2C + default y + help + Enable support for video4linux camera sensor interface driver for + i.MX7. endmenu endif diff --git a/drivers/staging/media/imx/Makefile b/drivers/staging/media/imx/Makefile index a30b3033f9a3..074f016d3519 100644 --- a/drivers/staging/media/imx/Makefile +++ b/drivers/staging/media/imx/Makefile @@ -12,3 +12,5 @@ obj-$(CONFIG_VIDEO_IMX_MEDIA) += imx-media-ic.o obj-$(CONFIG_VIDEO_IMX_CSI) += imx-media-csi.o obj-$(CONFIG_VIDEO_IMX_CSI) += imx6-mipi-csi2.o + +obj-$(CONFIG_VIDEO_IMX7_CSI) += imx7-media-csi.o