Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3056339ybi; Mon, 10 Jun 2019 03:38:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQZsXGHWpxSHUKECvlNx4del+rNk9tUlligyWHgE2nbhcqFwWiew8PrlOSY/Kh7XvGO5C0 X-Received: by 2002:a17:90a:a09:: with SMTP id o9mr8985777pjo.95.1560163088161; Mon, 10 Jun 2019 03:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560163088; cv=none; d=google.com; s=arc-20160816; b=yb2SXptox9SgLl9BUCPqEXpbmuUbpD2ES7pRfKvg+gKJF1trQuFm1K9u6YB586q8gR m83R18WEb3znW6IUG8OfYOtHbg45HrlYLYoPWTbBMFkaYECVCRnHQysExxkbFSAHtwQm s5sIuSTR4coFqS06KNpXdDiAcuwak0kykCxbOY/AoqrpfrxXGxI03fKsp7BE+f7ynQ85 x9PPCNojB3fNNubXPTWW1/2Ur45ozlI+ApYLK+2gzIoXBsXU/ZFhLFbnfJfwbotvKaKE Wu3eNWojI8O5IlfcjOhfVRWqptEeh4lb4h+NSgQ1nfZfmblESYLg5Hkufg9Hed07CIAf +zTA== 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 :message-id:date:in-reply-to:subject:cc:to:from:user-agent :references:dkim-signature; bh=IkG1E0AYyaW7+6Dt1fH+3V0jkXsmdfRM9uUK4jdUh+w=; b=Wz52HTeIn49lp200byllhOEkzqxVMaEz6iBN6+AksA28jThc1isJ1EDp6wfWD4NtYF xKfWdhn8McpmLFNfALrmRoMui5af07Z7YOux3v4DrMPmFvpWgd8PwRaLb0OigWF3eAU7 I8W9voNFhIsWcldz//gm4vuKQ34s91PuX7dgK+Y4L+9EP+cKOO1rUNsJm4kw77pv09Ro AUn+fm/zz4kJ8cssNt79f0zsTxbi9+gRQz3FqskWL2y/vpHXuuCRvbhqGrbYjdPtU9Cz bfPpI3yHnJt0I7Sw8Ki7QGANSbPT/Imt7LViqOa9RSrqQFceXMuchW+wcq6mfxNUlaPI 1eJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Yfo8EUqa; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 204si9282269pga.373.2019.06.10.03.37.51; Mon, 10 Jun 2019 03:38:08 -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=pass header.i=@gmail.com header.s=20161025 header.b=Yfo8EUqa; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389475AbfFJKcl (ORCPT + 99 others); Mon, 10 Jun 2019 06:32:41 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36247 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389466AbfFJKcl (ORCPT ); Mon, 10 Jun 2019 06:32:41 -0400 Received: by mail-wm1-f66.google.com with SMTP id u8so7641181wmm.1; Mon, 10 Jun 2019 03:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=IkG1E0AYyaW7+6Dt1fH+3V0jkXsmdfRM9uUK4jdUh+w=; b=Yfo8EUqarFT7nPkF1aeKi1R8SH3rF0IbMaxPFbHD5BQef/cTOgwy1X/WI0zGiITxEX jPeF/HOSXo3Qf0jFyOC2mSzVaSnASG/UpSuS2zNVb55CS8hRjSgBFQ9cfOSzDSNxx6Uz FT+OBn8OrrCVB4V5V6YCIJhc9gwFGLARBwcGcYxgfn59c630P2IYvl9pFuCdqV4DjsA6 Sx92LVIpPcRLrdmqe444Idcck7Dgj09/ZSurEmcgyIGeQs1LYorx0pA5P03Vv8gQH62n YIO1lG/oVeF0n4VkBxQQpD3JJa8tpu5TlY9a+Dj0ZxaST59vZwZRjsopxlD6YKsLcyMG eBXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=IkG1E0AYyaW7+6Dt1fH+3V0jkXsmdfRM9uUK4jdUh+w=; b=IV56IsLGIQe/eNYAH7F83YHPxLq6EKdeBHZ5yru3bQ48HPrnwOs7iJnerMxBvXG2r0 KmY7KS5vbhamg/PEmQyi2uUKV6AJuFJLkhihGy4FQlLQcv3p/lBhoDCevHhPMGLoeIgi 9VhBrHjZcbx9+gr1/fwtNlJT2WXnXmVlmY5EZE/G5FjaiAqlqnmb5Mi/ijZE5uHWjvJ2 4g6f3tJeI7kbQog+1fkvpml6t52Jt9zLLYvWAC6lG0irlndho1VeuoYXccWgmRv+iqn0 YNwgX1PFr4jwU1tUM3Wp19bK+fq/bC2198gZzdgnyE4/PiWLtuh+vmKrlLjJKqUoyfCv i0pw== X-Gm-Message-State: APjAAAVfUHV+03nnJSjguR7Js7p4IeGvTfvVOYbQSuM6bmJ3eEqpxXz1 pysbyYm+MqGGyzd7mB5+xlk= X-Received: by 2002:a1c:7a10:: with SMTP id v16mr13435253wmc.98.1560162759118; Mon, 10 Jun 2019 03:32:39 -0700 (PDT) Received: from arch-late ([87.196.73.9]) by smtp.gmail.com with ESMTPSA id o15sm12661526wrw.42.2019.06.10.03.32.37 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 10 Jun 2019 03:32:38 -0700 (PDT) References: <20190606153825.8183-1-sebastien.szymanski@armadeus.com> <20190606153825.8183-2-sebastien.szymanski@armadeus.com> <92ca6e6e-2ebd-cec4-4f75-2674fd2c3d99@infradead.org> User-agent: mu4e 1.2.0; emacs 27.0.50 From: Rui Miguel Silva To: driverdev-devel@linuxdriverproject.org Cc: =?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 , Mark Rutland , Pengutronix Kernel Team , Greg Kroah-Hartman , Sascha Hauer , Rob Herring , NXP Linux Team , Philipp Zabel , Steve Longerbeam Subject: Re: [PATCH v2 2/3] media: imx7-media-csi: add i.MX6UL support In-reply-to: <92ca6e6e-2ebd-cec4-4f75-2674fd2c3d99@infradead.org> Date: Mon, 10 Jun 2019 11:32:36 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Randy, On Fri 07 Jun 2019 at 00:10, Randy Dunlap wrote: > On 6/6/19 8:38 AM, S=C3=A9bastien Szymanski wrote: >> i.MX7 and i.MX6UL/L have the same CSI controller. So add i.MX6UL/L suppo= rt >> to imx7-media-csi driver. >> >> Signed-off-by: S=C3=A9bastien 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/i= mx/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. Yeah, even though both depends on imx_media, I agree that they should not default to y. I will send a patch for this. Thanks. --- Cheers, Rui > > thanks. >> help >> Enable support for video4linux camera sensor interface driver for >> - i.MX7. >> + i.MX6UL/L or i.MX7. >> endmenu >> endif