Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp389750pxv; Fri, 9 Jul 2021 00:08:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKitp/nH62RjlKUjvRLpATTZqdhDNM/VHZWI8wiD1YvlYXohQvDle170KlGTMWYDcm5vLr X-Received: by 2002:a17:907:20b7:: with SMTP id pw23mr16446567ejb.198.1625814506066; Fri, 09 Jul 2021 00:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625814506; cv=none; d=google.com; s=arc-20160816; b=cd5aWynaAg50LIEBXk0Nv5Yg5Oj6dYQOzOFLYdmLskdJw1QcLUZmDlqKEBckrUxR1C C1yC2Abq7q7ZRcC8JJpBRvbA3qn/EB7hgiYIcOEEOQh4mT9WEmCjqltB2BXfaUiY52Ys 9ibZ7pmM58Sv02fh6tgZnG0/zL+9vzb/bXHXFzj1VkrCXeLSLZoQGp56R/rKKVCqh6Fo 4SgT4s9xfdRQq1wrurZPC8nXJweI/m8MHQ5Ti24ZbFe58afUhnmjvdaKSeypsz8eTbOp jEIVYeG7SnJIbMI2xFi9VP9gXbfwg56pbYb30hVc6AmiM3+EStlCztXjcEqoYQf6KuCw lTpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ydQalvxev6my2Y31Ln/cXfj9UHg3vAKeQBJLgUz85Ec=; b=nLn2VAvRKK4WmrhalDT95/Qx1i926LNQ2yNEZQ/+8Mlv0ImjgF4sQnSyFQAtRvLMq3 MDrv7xn+CajgwlUUtHrp8jtOHlCjYFxl2/9uhnUHtf+M4+rRZQbbqhcuWNZsbAHE4XoN BQuL3/rzDqzO4cgngodOS5x2/8XKQRg4Xj3mgYWLxsfHnUIPDd+lzwzubkTY28ehXBOw G3qtTscnd70lFoJv0WzEQIsJpAvdL60r5dWl8zaxohRWE5yIaXCzB7pxlGU+G0k4hJpj C6oEekV+dE8mOMoQEkaUZh8KZPwLVHzy39g8RBl5/CQRTnMVrMoRG1LckdBQ+a5tE4PG QCdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r23si6423766edo.404.2021.07.09.00.07.39; Fri, 09 Jul 2021 00:08:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231142AbhGIHJW (ORCPT + 99 others); Fri, 9 Jul 2021 03:09:22 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:57254 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230121AbhGIHJW (ORCPT ); Fri, 9 Jul 2021 03:09:22 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 27E96FB03; Fri, 9 Jul 2021 09:06:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KuFWLnCZi7rJ; Fri, 9 Jul 2021 09:06:34 +0200 (CEST) Date: Fri, 9 Jul 2021 09:06:33 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Laurent Pinchart Cc: Sakari Ailus , Martin Kepplinger , krzysztof.kozlowski@canonical.com, devicetree@vger.kernel.org, kernel@puri.sm, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, paul.kocialkowski@bootlin.com, pavel@ucw.cz, phone-devel@vger.kernel.org, robh@kernel.org, shawnx.tu@intel.com Subject: Re: [PATCH v6 5/5] arm64: defconfig: enable VIDEO_HI846 Message-ID: References: <20210628101054.828579-1-martin.kepplinger@puri.sm> <20210628101054.828579-6-martin.kepplinger@puri.sm> <20210708130003.GA3@valkosipuli.retiisi.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laurent, On Thu, Jul 08, 2021 at 06:34:32PM +0300, Laurent Pinchart wrote: > Hi Guido, > > On Thu, Jul 08, 2021 at 05:13:13PM +0200, Guido G?nther wrote: > > On Thu, Jul 08, 2021 at 04:00:04PM +0300, Sakari Ailus wrote: > > > On Mon, Jun 28, 2021 at 12:10:54PM +0200, Martin Kepplinger wrote: > > > > Build the driver for the Hi-846 camera by default on arm64 where it's > > > > going to be used on at least the imx8mq-librem5 board. > > > > > > > > Signed-off-by: Martin Kepplinger > > > > --- > > > > arch/arm64/configs/defconfig | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > > > index f423d08b9a71..bf27d9cfbdd5 100644 > > > > --- a/arch/arm64/configs/defconfig > > > > +++ b/arch/arm64/configs/defconfig > > > > @@ -666,6 +666,7 @@ CONFIG_VIDEO_RENESAS_VSP1=m > > > > CONFIG_VIDEO_QCOM_VENUS=m > > > > CONFIG_SDR_PLATFORM_DRIVERS=y > > > > CONFIG_VIDEO_RCAR_DRIF=m > > > > +CONFIG_VIDEO_HI846=m > > > > CONFIG_VIDEO_IMX219=m > > > > CONFIG_VIDEO_OV5645=m > > > > CONFIG_VIDEO_QCOM_CAMSS=m > > > > > > The same sensor may be or may not used on a given board (and certainly it's > > > not specific to arm64). Is it desirable all arm64 systems compile this in > > > by default? > > > > > > There appear to be a other sensor drivers though. > > > > > > Is there a defconfig for the librem5 board? > > > > arm64 has a single defconfig, there are no board specific ones (and > > afaik they're not wanted either) so I think enabling it as a module is > > the only way. > > Do sensor drivers qualify for defconfig support though ? If they do, > they should all be enabled. I don't know. The Librem 5 / Librem 5 Devkit bits went in via Shawn's tree where the "here's a imx based board that uses this driver" was sufficient to get it enabled (preferably as module) so it can work out of the box. Cheers, -- Guido > > > > I wonder what others think. > > -- > Regards, > > Laurent Pinchart