Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1032666pxb; Thu, 15 Apr 2021 12:11:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTarWkirTFJGvQlSlIyVQysjuGOosiMo+15jedaPl6bMUTHeV+72rS11gXJDAc2RMS3Og+ X-Received: by 2002:a17:902:fe8d:b029:ea:fdd4:e667 with SMTP id x13-20020a170902fe8db02900eafdd4e667mr5350493plm.36.1618513891532; Thu, 15 Apr 2021 12:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618513891; cv=none; d=google.com; s=arc-20160816; b=qhr3Hkpyj77RJqEqvqJT4SSvvXIVY5Qk8+SiQ1dF8MAJ/sVvoIByXSlguhTZQHBeVL Yjw5XKzhhb0Luugs6rnFKSGjP/J9u5NdjLss9M/f4qXi0KGSE7BNGihh2d9yfUtB2Nzu 67LmdjYcR0jA/1zK+yHHje7CHbPj57gUMyBhzNiHrNeQwUbAM5+Z7TX5vHwogsgD5oPd tfR147H/WvCD3vu8CRc6+LUzUwL1GmctmM0o0SLNsrIwmz1G/aOUnL2mvkw6thcMw5ZE hQU4EMIJmT88e89cDgXfg/OnxHSPvM0OQBKjBalk1kEVoiqU4V8wuQhQOXIeIEgtmSkL A4pw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wIK+f+ZYyfvsfXGwA3+iwQr+X1/hYeADsGl6F7zry1Q=; b=NFW1f0xzpASiRtm/vFaPrsUgTgtc1i2HAXeyc6UQ21SLBt61bFys7TvqPsIBSQ4/3l t7doY7oM461cHy6l1SBEkdF96kyPUC31ZZJ3Vp7YZeBeyVOS/g0ib21MKX9Wzj/2/hU8 zQRAVm9N+UM+P1bTxf4QUysl3FJ9vjSSCujohTaAk4dSg3XYYHy0KpA1ZvI3gtf2WSeu Wrkiw5qUtrCZ6RIOwia627ZuFfp8cP0SpPun5O2liTFhVjSbABP8MTI2+Jff+tg2ciBT u4GWF9oUjw1HNHkUV1sWkNC6F4tA5G2thG04vmco3/wBfM9+Q9v7uDerV9OgUYEHD7f3 uOVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=XFLQ5ymw; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 135si4075682pgh.201.2021.04.15.12.11.18; Thu, 15 Apr 2021 12:11:31 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=XFLQ5ymw; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234748AbhDOTJw (ORCPT + 99 others); Thu, 15 Apr 2021 15:09:52 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:50858 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234226AbhDOTJv (ORCPT ); Thu, 15 Apr 2021 15:09:51 -0400 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 452C189A; Thu, 15 Apr 2021 21:09:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1618513766; bh=INJUqYChGzaADsZcMlE0KVTNy5xAuq64jBEaD2riYD0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XFLQ5ymwmWOPUH4e++viERDpFMCmvRqLyVVjRCOoA3Wl3varwFEunZ2h3vKWoLEu0 uXCQOyr8xYR9Gq5KJU6sQLDqqhpPdQOkZomFu6LIdkl8fWHnawvao5Ha2hsdRBh1ox jAvi/naiFHcU0yvsX7jFdOU8u3Yt3qdLnSVKa3D8= Date: Thu, 15 Apr 2021 22:09:24 +0300 From: Laurent Pinchart To: Geert Uytterhoeven Cc: Jacopo Mondi , Magnus Damm , Kieran Bingham , Rob Herring , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Niklas =?utf-8?Q?S=C3=B6derlund?= Subject: Re: [PATCH v4 4/7] arm64: dts: renesas: r8a77970: Add csi40 port@0 Message-ID: References: <20210415122602.87697-1-jacopo+renesas@jmondi.org> <20210415122602.87697-5-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 15, 2021 at 06:47:48PM +0200, Geert Uytterhoeven wrote: > On Thu, Apr 15, 2021 at 4:47 PM Laurent Pinchart wrote: > > On Thu, Apr 15, 2021 at 02:25:59PM +0200, Jacopo Mondi wrote: > > > Declare port@0 in the csi40 device node and leave it un-connected. > > > Each board .dts file will connect the port as it requires. > > > > > > Signed-off-by: Jacopo Mondi > > > > The port exists at the hardware level, so including it here sounds good. > > The DT binding even makes the port mandatory :-) > > But the latter is subject to change? > > [PATCH] media: dt-bindings: media: renesas,csi2: Node port@0 is not mandatory > https://lore.kernel.org/linux-devicetree/20210413155346.2471776-1-niklas.soderlund+renesas@ragnatech.se/ I've replied to that patch, it's not a good idea. > > > --- a/arch/arm64/boot/dts/renesas/r8a77970.dtsi > > > +++ b/arch/arm64/boot/dts/renesas/r8a77970.dtsi > > > @@ -1106,6 +1106,10 @@ ports { > > > #address-cells = <1>; > > > #size-cells = <0>; > > > > > > + port@0 { > > > + reg = <0>; > > > + }; > > > + > > > port@1 { > > > #address-cells = <1>; > > > #size-cells = <0>; -- Regards, Laurent Pinchart