Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8228928ybi; Tue, 9 Jul 2019 11:32:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8OuvUNfDJz15f4GwjWHS87JSInBciyNas+uaJ2bLr24DQyejZ/H7GbMxc1srh/BbMki7k X-Received: by 2002:a17:90a:d58c:: with SMTP id v12mr1621547pju.7.1562697177365; Tue, 09 Jul 2019 11:32:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562697177; cv=none; d=google.com; s=arc-20160816; b=ZTuZ5r9LNn3230UVeiqnL3nF7A9djmbk8TOdeqrwDqL5yClh3uTEsVB1ePzvBp8ufs iBACOQIzruA0QhbNvzS1FhmrmDzS8jWoWZKBRb3iDZpiRIsChlAlnOcPsC479EgBvSXj mCf2UMpGooww7BJ6IkXyP/iTEJd7qhyJYHLyXKCEzyo6AIeD8EF/EF8kqg3mE1iq/yJB XkNNrRARnBnskT8KlyyAHrAN7sFCTmr5cOJ8vcDLpn1TyHJSRF+Ut7CD3QSLL7jnl549 UmK/UMWrJIUHZtJup38HLKPMK9RqZNEX95DeUrZIoxsZeKLr71c0m2vcsBSXI/WuyTeY BCUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FaFEwi/MCD4/a1MfnKVNuIgjQmg1AMHP5GiubPugbM0=; b=sjxg/S6u/+K0Va8y7Q4sj4rFvXK9T8R5zzTCyysxJKmfKQSXALHHoY8T+YXnvqq/3A PkE2WjwrwNDayUEHG7aWxU8E+cOr357uEMh69MLDhZ/t+4lZmaoRF1qnNXidyhsw+ofK zNQCbc3iOiaGTC5/Tde4sE/qiOFexf8tPYi6AKm0aF9Q30QHeZZx+7kcpAuvKOb1sSVf v5/CNaQ7DRB9JcQ9vMkdnyie4bnl1cwpWTwFbUsLkDSja2rm91RVpCN0c57EcV9QpHfg o+YhBjKM6lgufunZyyuuX2O5YmPncKOJAJ5+d16m2fLnx/wGEMkgPt5dEFe6dPuYNJGG z8IA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a21si25018314pfl.167.2019.07.09.11.32.42; Tue, 09 Jul 2019 11:32:57 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727251AbfGIS0F (ORCPT + 99 others); Tue, 9 Jul 2019 14:26:05 -0400 Received: from retiisi.org.uk ([95.216.213.190]:52184 "EHLO hillosipuli.retiisi.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726318AbfGIS0F (ORCPT ); Tue, 9 Jul 2019 14:26:05 -0400 Received: from valkosipuli.localdomain (valkosipuli.retiisi.org.uk [IPv6:2a01:4f9:c010:4572::80:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hillosipuli.retiisi.org.uk (Postfix) with ESMTPS id 08634634C7B; Tue, 9 Jul 2019 21:25:01 +0300 (EEST) Received: from sailus by valkosipuli.localdomain with local (Exim 4.89) (envelope-from ) id 1hkunU-000294-9D; Tue, 09 Jul 2019 21:25:00 +0300 Date: Tue, 9 Jul 2019 21:25:00 +0300 From: Sakari Ailus To: Luis de Oliveira Cc: "mchehab@kernel.org" , "davem@davemloft.net" , "gregkh@linuxfoundation.org" , "Jonathan.Cameron@huawei.com" , "robh@kernel.org" , "nicolas.ferre@microchip.com" , "paulmck@linux.ibm.com" , "mark.rutland@arm.com" , "kishon@ti.com" , "devicetree@vger.kernel.org" , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Joao.Pinto@synopsys.com" Subject: Re: [v4 1/6] dt-bindings: media: Document bindings for DW MIPI CSI-2 Host Message-ID: <20190709182500.3x544axnrgy72aje@valkosipuli.retiisi.org.uk> References: <1560280855-18085-1-git-send-email-luis.oliveira@synopsys.com> <1560280855-18085-2-git-send-email-luis.oliveira@synopsys.com> <20190628141326.swgl3kg4fj5pmlqx@valkosipuli.retiisi.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luis, On Mon, Jul 08, 2019 at 03:21:50PM +0000, Luis de Oliveira wrote: > Hi Sakari, > > Thank you for your feedback. > I have my comments inline. > > From: Sakari Ailus > Date: Fri, Jun 28, 2019 at 15:13:26 > > > Hi Luis, > > > > Thank you for the patchset. > > > > On Tue, Jun 11, 2019 at 09:20:50PM +0200, Luis Oliveira wrote: > > > From: Luis Oliveira > > > > > > Add bindings for Synopsys DesignWare MIPI CSI-2 host. > > > > > > Signed-off-by: Luis Oliveira > > > --- > > > Changelog > > > v3-v4 > > > - remove "plat" from the block name @rob @laurent > > > - remove "phy-names" when single-entry @rob > > > - remove "snps,output-type" -> went to the driver config @laurent > > > > > > .../devicetree/bindings/media/snps,dw-csi.txt | 41 ++++++++++++++++++++++ > > > 1 file changed, 41 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/media/snps,dw-csi.txt > > > > > > diff --git a/Documentation/devicetree/bindings/media/snps,dw-csi.txt b/Documentation/devicetree/bindings/media/snps,dw-csi.txt > > > new file mode 100644 > > > index 0000000..613b7f9 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/media/snps,dw-csi.txt > > > @@ -0,0 +1,41 @@ > > > +Synopsys DesignWare CSI-2 Host controller > > > + > > > +Description > > > +----------- > > > + > > > +This HW block is used to receive image coming from an MIPI CSI-2 compatible > > > +camera. > > > + > > > +Required properties: > > > +- compatible : shall be "snps,dw-csi" > > > +- reg : physical base address and size of the device memory > > > + mapped registers; > > > +- interrupts : DW CSI-2 Host interrupts > > > +- phys : List of one PHY specifier (as defined in > > > + Documentation/devicetree/bindings/phy/phy-bindings.txt). > > > + This PHY is a MIPI DPHY working in RX mode. > > > +- resets : Reference to a reset controller (optional) > > > + > > > +The per-board settings: > > > + - port sub-node describing a single endpoint connected to the camera as > > > + described in video-interfaces.txt[1]. > > > > Which endpoint properties in video-interfaces.txt are relevant for the > > hardware? Which values may they have? > > > > Currently I'm using only two properties "data-lanes" and "bus-width", but > I have plans to add blanking info also. > I will add more info. Isn't blanking defined by what the transmitter seneds? Or do you have hardware limitations on the receiver side? I've only heard of one such case before, and it was a very old parallel receiver. If you have a CSI-2 receiver, bus-width isn't relevant --- it's for paralle interfaces only. Please add data-lanes to required endpoint properties. -- Regards, Sakari Ailus