Received: by 10.213.65.68 with SMTP id h4csp431892imn; Tue, 27 Mar 2018 01:59:10 -0700 (PDT) X-Google-Smtp-Source: AG47ELuUViTOXSzg2DMd+VtFYeUjtAcPiVXTvmlvKxHjfNTbeSG9A85vHczO25Y8OZps64BPpmAX X-Received: by 10.98.67.217 with SMTP id l86mr30589280pfi.40.1522141150231; Tue, 27 Mar 2018 01:59:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522141150; cv=none; d=google.com; s=arc-20160816; b=d3hFXguaZ5hYMl3TC/0YrAi1ZG6nSBI3jITK8tjaoav9Hvse8zn05sYoSn5uRVeRCY H2ExJZV8Suyv3t3eWBZTfu/QOjxdlDNQabNQlfmDe1aF+Xzcm3r5C+fukfwNFPwcvSEn GBmLL1vfOQn+PohMUZa6iZLow6XR0vhJm4BvHIztBYeVivAyMSUknsWOOk8LIRjZgckp AIuRXIQ/pvQyfgLCVfJpMAGr7Z/vYRnDns+y2IrHlyE9iazSjxzUkpuvNYndvWwGlZqc YVH0YFAGY14fNy7vFYWHVCzf01cJVBHsde7m8gJNYkD9IkFXpP2wXkw9+wOuwjLk+6wk oUmg== 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:arc-authentication-results; bh=FfporwQBi3bLmyRwRPXhapfIX4BZECi/ttru9tpEAyQ=; b=Lt1sRassdo5AulOjE36x/avY0XDB7IvuRDE+B9CUqXbJ/co/h5naeM2qjR2WdA+b// Z7vZL6K0aDVqx9/CabbL1pnCVQSL564Q3pbOjfTBilQcWt5qBQjTpjubxriKYt450+su g36MtSPl3/xkPXmfdIJm/P+wbUwP/tdmj5rLerD9aU4Oo2XTyRh4d1DClT9c3CExB3Tt xdKWL7iyMsDuXHgPuvMI4eS1LG/VV4wE3iTwmwyahoZD7q7d5GYTYkA42EVNR75IAYOb /yEz+4M6SUoOELuwLl+3/M83DwB3hzmK9cohiyuO+41sMloxxHhKzgEJuM3o/Tftkzlj 5x3g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7si545733pgu.760.2018.03.27.01.58.55; Tue, 27 Mar 2018 01:59:10 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751642AbeC0I57 (ORCPT + 99 others); Tue, 27 Mar 2018 04:57:59 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36041 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbeC0I54 (ORCPT ); Tue, 27 Mar 2018 04:57:56 -0400 X-Originating-IP: 2.224.242.101 Received: from w540 (unknown [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E7D59E0007; Tue, 27 Mar 2018 10:57:49 +0200 (CEST) Date: Tue, 27 Mar 2018 10:57:48 +0200 From: jacopo mondi To: Vladimir Zapolskiy Cc: Sergei Shtylyov , Andrzej Hajda , Jacopo Mondi , Rob Herring , Laurent Pinchart , architt@codeaurora.org, airlied@linux.ie, horms@verge.net.au, magnus.damm@gmail.com, geert@linux-m68k.org, niklas.soderlund@ragnatech.se, mark.rutland@arm.com, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder Message-ID: <20180327085748.GK27746@w540> References: <1521213399-31947-1-git-send-email-jacopo+renesas@jmondi.org> <1521213399-31947-2-git-send-email-jacopo+renesas@jmondi.org> <4060923.7DxT9ae38L@avalon> <20180326222249.tvjiutyd4amlibpa@rob-hp-laptop> <1dd27170-153c-90f6-e13f-949ba7d0d4a9@samsung.com> <20180327073332.GI27746@w540> <70826dc1-d9ea-dc98-f591-c80f1904806a@cogentembedded.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Clx92ZfkiYIKRjnr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Clx92ZfkiYIKRjnr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Vladimir, On Tue, Mar 27, 2018 at 11:30:29AM +0300, Vladimir Zapolskiy wrote: > Hi Sergei, > > On 03/27/2018 11:27 AM, Sergei Shtylyov wrote: > > Hello! > > > > On 3/27/2018 10:33 AM, jacopo mondi wrote: > > [...] > >>>>>>> Document Thine THC63LVD1024 LVDS decoder device tree bindings. > >>>>>>> > >>>>>>> Signed-off-by: Jacopo Mondi > >>>>>>> Reviewed-by: Andrzej Hajda > >>>>>>> Reviewed-by: Niklas S=C3=B6derlund > >>>>>>> --- > >>>>>>> .../bindings/display/bridge/thine,thc63lvd1024.txt | 66 +++++++= ++++++++++++ > >>>>>>> 1 file changed, 66 insertions(+) > >>>>>>> create mode 100644 > >>>>>>> Documentation/devicetree/bindings/display/bridge/thine,thc63lvd10= 24.txt > >>>>>>> > >>>>>>> diff --git > >>>>>>> a/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd= 1024.txt > >>>>>>> b/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd= 1024.txt > >>>>>>> new file mode 100644 > >>>>>>> index 0000000..8225c6a > >>>>>>> --- /dev/null > >>>>>>> +++ > >>>>>>> b/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd= 1024.txt > >>>>>>> @@ -0,0 +1,66 @@ > >>>>>>> +Thine Electronics THC63LVD1024 LVDS decoder > >>>>>>> +------------------------------------------- > >>>>>>> + > >>>>>>> +The THC63LVD1024 is a dual link LVDS receiver designed to conver= t LVDS > >>>>>>> streams > >>>>>>> +to parallel data outputs. The chip supports single/dual input/ou= tput modes, > >>>>>>> +handling up to two two input LVDS stream and up to two digital C= MOS/TTL > >>>>>>> outputs. > >>>>>>> + > >>>>>>> +Single or dual operation modes, output data mapping and DDR outp= ut modes > >>>>>>> are > >>>>>>> +configured through input signals and the chip does not expose an= y control > >>>>>>> bus. > >>>>>>> + > >>>>>>> +Required properties: > >>>>>>> +- compatible: Shall be "thine,thc63lvd1024" > >>>>>>> + > >>>>>>> +Optional properties: > >>>>>>> +- vcc-supply: Power supply for TTL output and digital circuitry > >>>>>>> +- cvcc-supply: Power supply for TTL CLOCKOUT signal > >>>>>>> +- lvcc-supply: Power supply for LVDS inputs > >>>>>>> +- pvcc-supply: Power supply for PLL circuitry > >>>>>> As explained in a comment to one of the previous versions of this = series, I'm > >>>>>> tempted to make vcc-supply mandatory and drop the three other powe= r supplies > >>>>>> for now, as I believe there's very little chance they will be conn= ected to > >>>>>> separately controllable regulators (all supplies use the same volt= age). In the > >>>>>> very unlikely event that this occurs in design we need to support = in the > >>>>>> future, the cvcc, lvcc and pvcc supplies can be added later as opt= ional > >>>>>> without breaking backward compatibility. > >>>>> I'm okay with that. > >>>>> > >>>>>> Apart from that, > >>>>>> > >>>>>> Reviewed-by: Laurent Pinchart > >>>>>> > >>>>>>> +- pdwn-gpios: Power down GPIO signal. Active low > >>>>> powerdown-gpios is the semi-standard name. > >>>>> > >>>> right, I've also noticed it. If possible please avoid shortenings in > >>>> property names. > >>> > >>> It is not shortening, it just follow pin name from decoder's datashee= t. > >>> > >>>> > >>>>>>> +- oe-gpios: Output enable GPIO signal. Active high > >>>>>>> + > >>>> And this one is also a not ever met property name, please consider to > >>>> rename it to 'enable-gpios', for instance display panels define it. > >>> > >>> > >>> Again, it follows datasheet naming scheme. Has something changed in DT > >>> conventions? > >> > >> Seconded. My understanding is that the property name should reflect > >> what reported in the the chip manual. For THC63LVD1024 the enable and > >> power down pins are named 'OE' and 'PDWN' respectively. > > > > But don't we need the vendor prefix in the prop names then, like > > "renesas,oe-gpios" then? > > > > Seconded, with a correction to "thine,oe-gpios". > mmm, okay then... A grep for that semi-standard properties names in Documentation/ returns only usage examples and no actual definitions, so I assume this is why they are semi-standard. Seems like there is some tribal knowledge involved in defining what is semi-standard and what's not, or are those properties documented somewhere? Thanks j > If vendor agnostic properties are supposed to be used, then please follow > the referenced by Rob semi-standard notations. > > -- > With best wishes, > Vladimir --Clx92ZfkiYIKRjnr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJaugeMAAoJEHI0Bo8WoVY8G90QAMPMZSrBI95urx2ZdnVLInNR ICWC3VOoKpZBulwSr6ALrIuWCtqTW+7wqEMtOvK4NVsn+e4eIiMFrZn4F9jA64fg 9KHSPPCuq4dX4DlMbpfnYUcUoB/uVeqNvcKgjmtopX1ADYu8NTbFBODlW4OJgamG fKhgHOzFKmcgsvlamJJDiOz6gZ1mfExdU4aoNko9WP+DKjVVMlp5dDEY8PhUXO6m brYzILx0qDNBS326663obFJUTtsrxtZiz6+kXTHLdPYM8ZIUqgSg7y6ImRZW8UiG W+kPh9vA38NES38b6LQWD390Lxe9azf3APDuHkDxRH4sb5SJLw4T2v94g3zM+bQo AzlKvXCuRyZ0IC1oUE9xx3ke/vhLsLmLlpdbwz4X8nAqUYzY//CHQ422NgrYZQaj zZofFllZqiEBGFvGbuOYivHIq4++ETsBDZpjt3y7Tw5RZ3tmRmFPPs0r9eZDtblG bZL+DnJRrVU9L/W6YAiL1NC+Vp3/t4I3bj2WXwgvTKrZcczjw0f2iRwF43Zo3J6x Fl/sxfXN+zvm5oxTEMfgqjHpPrOFwus5a5c1dvaLvIfaVRFcrY8PpoBbmmcMpEPV rB0CksBDXdQ9Nsl846gFnoCRPrQ4nnZchOvCQVcLkVs1/tlZRjEK9EPcYftfikfS UywS94jzTffh795euNmZ =GySd -----END PGP SIGNATURE----- --Clx92ZfkiYIKRjnr--