Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8750089ybi; Thu, 6 Jun 2019 19:17:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCgSWd0wi2p/qywj2JBmecbavs670azfLMpkaroBdSMY5l6a6lyZP1K5odpuCFEmMngNfJ X-Received: by 2002:a17:902:347:: with SMTP id 65mr54431124pld.232.1559873839381; Thu, 06 Jun 2019 19:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559873839; cv=none; d=google.com; s=arc-20160816; b=ZKvxofN3BNxXFoNPN48ZPCni3HVtK2v995cUne/FOfwb/kJnmvCzgMqd5vHcAlVkPn GBEuJ+jJcav9jKS7Nz9GY3wDlG4v4Ck2PvOSYbOBzFft7hq4rrt8PDGl7UDx/i7+hkeJ /PhzoPl05w+6wChE05J6zWIWB3JBKsdYOXuo0/pwUgXu5TGcI/rkTRWuf04Vx8LgA13y YXlLdjrUh6IkTChjUKzWPAQZ6kEhH9j0VSyt/fCDeIVI/h0E0LXvwPWVRc8TOvX41a4S Sn6k8JRq3lSVuqPlMg4e4Po4G89fxMXzyfxVoDRQAtrPJ97LvXvoI313WxqNeKAsJBz+ au1g== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=WrR8a0nd7OqHeGMYq59lvGgYOhTcXv05lY92PTWM2CQ=; b=HaXhrjsHuprhgBxymTNLz6F7E6wubAFtnDCijkiOd2WGjt4OL4lMsc6VqaxV8De8uI WIqoJ8kKPF5oCXorpcwlY1Hnx6kwC1OzrgNBmmZ6GDwvRjm7IBNEWUXTr/wwpxcDmD20 h2wUYfamfiCvEtgGDAeHZkszVwCLI4bdFYT//8quW1szI4jjIXmTmhtLlOM0yAnGdUDE NDSRPNCcuOmbd9X1Y5uqBUXtPbHTZPCsnFHDHVfhwIlZIyijD5d8coZspcq4nm3NF4LS 3kOP/R6RnK6onQOp0bpjTVQWkgKZR47Cu7CUmCCKmrMVln64dFTusUPGg4uPO0HP7j2i jwKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=oGpZKv7v; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h25si543210pfn.209.2019.06.06.19.17.02; Thu, 06 Jun 2019 19:17:19 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=oGpZKv7v; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727202AbfFFXKw (ORCPT + 99 others); Thu, 6 Jun 2019 19:10:52 -0400 Received: from merlin.infradead.org ([205.233.59.134]:43810 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726593AbfFFXKv (ORCPT ); Thu, 6 Jun 2019 19:10:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WrR8a0nd7OqHeGMYq59lvGgYOhTcXv05lY92PTWM2CQ=; b=oGpZKv7v1449BYsCbjNBM23I59 AeS10K3WrsuNY4wsvrv1v35sohJrGMRvaGQEKNq3MdRM8lvHiWBOBBBoPxXt+FXCQN5Fnem47OjSY Qzwa3F1vokFNDVeBNOtxbdTgUvwUk7VOD/k/FinOC44l2cTTG0crQ1sWOAIpg3/Jiq9Y4yiW0I9Aw WGO/zPFTdSE6bCX6qM5sF9XMPGXawRE5EctHBBcCVoct1Leh53VSTvD20ebDJhUzjIzEeDd4v3a1q zUAlixJtXCC1UQp7bOmgCiTpB1DT/LPw8z15jOb8ERhJ/KtT9nqL0MQW22vuzZ1QlwiEUEPuabx4m BH/G2evQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hZ1Wn-0007f1-Gj; Thu, 06 Jun 2019 23:10:37 +0000 Subject: Re: [PATCH v2 2/3] media: imx7-media-csi: add i.MX6UL support To: =?UTF-8?Q?S=c3=a9bastien_Szymanski?= , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, Shawn Guo , Mauro Carvalho Chehab Cc: Mark Rutland , Philipp Zabel , Greg Kroah-Hartman , Sascha Hauer , Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Steve Longerbeam References: <20190606153825.8183-1-sebastien.szymanski@armadeus.com> <20190606153825.8183-2-sebastien.szymanski@armadeus.com> From: Randy Dunlap Message-ID: <92ca6e6e-2ebd-cec4-4f75-2674fd2c3d99@infradead.org> Date: Thu, 6 Jun 2019 16:10:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190606153825.8183-2-sebastien.szymanski@armadeus.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/6/19 8:38 AM, Sébastien Szymanski wrote: > i.MX7 and i.MX6UL/L have the same CSI controller. So add i.MX6UL/L support > to imx7-media-csi driver. > > Signed-off-by: Sébastien Szymanski > --- > > Changes for v2: > - rebase on top of linuxtv/master > - mention i.MX6UL/L in header and Kconfig help text > - rename csi_type to csi_soc_id > > drivers/staging/media/imx/Kconfig | 4 +- > drivers/staging/media/imx/imx7-media-csi.c | 62 ++++++++++++++++------ > 2 files changed, 49 insertions(+), 17 deletions(-) > > diff --git a/drivers/staging/media/imx/Kconfig b/drivers/staging/media/imx/Kconfig > index ad3d7df6bb3c..8b6dc42c39e0 100644 > --- a/drivers/staging/media/imx/Kconfig > +++ b/drivers/staging/media/imx/Kconfig > @@ -22,11 +22,11 @@ config VIDEO_IMX_CSI > A video4linux camera sensor interface driver for i.MX5/6. > > config VIDEO_IMX7_CSI > - tristate "i.MX7 Camera Sensor Interface driver" > + tristate "i.MX6UL/L / i.MX7 Camera Sensor Interface driver" > depends on VIDEO_IMX_MEDIA && VIDEO_DEV && I2C > default y Hi, I realize that this "default y" is not part of this patch set, but we have pretty strong guidance that a driver should not default to 'y' unless it is needed for a system to boot. If this driver is optional, then please drop the 2 occurrences of "default y" in this Kconfig file. thanks. > help > Enable support for video4linux camera sensor interface driver for > - i.MX7. > + i.MX6UL/L or i.MX7. > endmenu > endif -- ~Randy