Received: by 10.192.165.156 with SMTP id m28csp675916imm; Thu, 19 Apr 2018 05:51:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+P2TtmOYXRdIfcYkimqsiYxz+pg/PgCgT4WVWcaHWbD3yrjjqTAPtsCOFcABKaqZ8fro5T X-Received: by 2002:a17:902:683:: with SMTP id 3-v6mr6082019plh.206.1524142296537; Thu, 19 Apr 2018 05:51:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524142296; cv=none; d=google.com; s=arc-20160816; b=o0ivB9HllpCXJt2yQW66Hd2SmzDItOd8eAD6m0FTq89jTcL+U0dzzo1p9YRw3bWErf jrYh08VMe+vqk8a8w4DmzzZTb4/zOYTpF1RrslBGnnYofe01Ihk4OyNQ5WMAyISKfa0P misxp+LqLgIqLh9kEW3XCTMZ3t6iu19j6hLbtMiOMOcxUnnL6eWwzbPdPhEZVmT1crbl l/uUefeGsuycS+H9LZhLGQWoAWsjGTbykhzC5lGxnXq8nDwwMgJC7DT/zkLtvJX/BAhI uvqupsrwuuG6qxWCY3KPPsGwg+UJqDzRBU6eQyYS8BwFeTljP1pRa/UzDcKeROYecXcD QctA== 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 :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=pxEFfxtJj1xOZYQtoJquViLNHOtq2b0NL06tsgY+oVc=; b=YcEJ/j2b6iGSOO8igc/0JHosH6EqpLOhao9QqJL9wZIchgkb/dsbSaranTmHIV5Di6 jeW1VkG3kgK9adomFa01hkoO5GWr4G4DBqfUKUE4YdksP8LA3gLhSSepEFLyFD9FplQf xJ63rnJIPS7bFwVdsZl0XysZR/mVbM3w7WW0sRzHF4P+k3UQ7UfVpepE4EVgH8fgVJkU mP9Y6LulFJxeFqIFI+m8pHh9hAI95hxvTt4/s65aGGKrBebS1K5Dyuo2Jov4HKWqDhCQ 3ffXXSEZNHy2yuzIsh7Y8t5NxEauAjJhhe3YzN6amdgXYcSlp1pd1hxSfQAzpSjha/hB B8OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=INaMEsN4; 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 16si3209417pfh.354.2018.04.19.05.51.21; Thu, 19 Apr 2018 05:51:36 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=INaMEsN4; 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 S1752489AbeDSMuU (ORCPT + 99 others); Thu, 19 Apr 2018 08:50:20 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:35528 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752634AbeDSMuS (ORCPT ); Thu, 19 Apr 2018 08:50:18 -0400 Received: from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 48D3C5C9D; Thu, 19 Apr 2018 14:50:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1524142216; bh=o+9DstnnIRYi6I7juUViQGjAccREnkbrHsBFUb1QSZg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=INaMEsN4ZUsqtE5fJaCY+V6KhTDZ4RI+zuPtsAw5J3z1QV73BH4fRR+UxAzrMky7s kr02BmQcZxuPJ4+HBqOGXXYF44wH1u18VXg6oJCk0fzjEWvUtoycX+0AaveooQed/R KLI2CmHtPnLy+Y8fKKlfqWrQwhqXJjZCPesEbnUA= From: Laurent Pinchart To: Philippe CORNU Cc: Mark Rutland , "devicetree@vger.kernel.org" , Alexandre TORGUE , David Airlie , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Yannick FERTRE , Rob Herring Subject: Re: [PATCH 1/2] dt-bindings/display/bridge: sii902x: add optional power supplies Date: Thu, 19 Apr 2018 15:50:26 +0300 Message-ID: <5933919.oNossTj3O6@avalon> Organization: Ideas on Board Oy In-Reply-To: References: <20180410051927.8268-1-philippe.cornu@st.com> <1733412.i2Wslp7VkI@avalon> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Philippe, On Thursday, 19 April 2018 15:41:20 EEST Philippe CORNU wrote: > On 04/19/2018 01:09 PM, Laurent Pinchart wrote: > > On Thursday, 19 April 2018 12:31:15 EEST Philippe CORNU wrote: > >> On 04/19/2018 10:11 AM, Laurent Pinchart wrote: > >>> On Tuesday, 10 April 2018 08:19:26 EEST Philippe Cornu wrote: > >>>> Add the 3 optional power supplies using the exact description > >>>> found in the document named > >>>> "SiI9022A/SiI9024A HDMI Transmitter Data Sheet (August 2016)". > >>>> > >>>> Signed-off-by: Philippe Cornu > >>>> --- > >>>> > >>>> Documentation/devicetree/bindings/display/bridge/sii902x.txt | 3 +++ > >>>> 1 file changed, 3 insertions(+) > >>>> > >>>> diff --git > >>>> a/Documentation/devicetree/bindings/display/bridge/sii902x.txt > >>>> b/Documentation/devicetree/bindings/display/bridge/sii902x.txt index > >>>> 56a3e68ccb80..cf53678fe574 100644 > >>>> --- a/Documentation/devicetree/bindings/display/bridge/sii902x.txt > >>>> +++ b/Documentation/devicetree/bindings/display/bridge/sii902x.txt > >>>> @@ -8,6 +8,9 @@ Optional properties: > >>>> - interrupts-extended or interrupt-parent + interrupts: describe > >>>> the interrupt line used to inform the host about hotplug events. > >>>> - reset-gpios: OF device-tree gpio specification for RST_N pin. > >>>> + - iovcc-supply: I/O supply voltage (1.8V or 3.3V, host-dependent). > >>>> + - avcc12-supply: TMDS analog supply voltage (1.2V). > >>>> + - cvcc12-supply: Digital core supply voltage (1.2V). > >>> > >>> It seems that the AVCC12 and CVCC12 power supplies are usually derived > >>> from the same source. How about starting with one DT property for both, > >>> and adding a second one later if needed ? > >> > >> Well, I do not know what is the best. Here I took the description from > >> the documentation, and to allow all possible board configurations, I > >> added these supplies as "optional" properties: if there is only one 1v2 > >> regulator on the board, the dt will contain only avcc12 or cvcc12 and > >> everything will work fine (we will have a dummy regulator for the > >> missing optional 1v2 reg), if both regulators are there for any reasons > >> (stability, noise, whatever...) then both entries will be in the dt. > >> > >> If you confirm you prefer a single 1v2 supply (named for instance > >> "vcc12-supply") then I will do :-) > > > > Please see https://lists.freedesktop.org/archives/dri-devel/2018-April/ > > 172400.html (and the messages that lead to it) and https:// > > lists.freedesktop.org/archives/dri-devel/2018-March/170763.html. > > Thanks for this discussion thread. > > On my side, I found "CVCC12 and AVCC12 can be derived from the same > power source" written with a small font (august 2016 datasheet p13) so > then your advice is clearly what we have to do :-) > I will add this info in v2 too. I have seen that too. While the datasheet only says that the two supplies *can* be derived from the same power source, I expect that to be the case in practice for a really vast majority of cases (I wouldn't be surprised to never hear of a system using two different supplies). That's why I think starting with one supply would be better. > >>>> Optional subnodes: > >>>> > >>>> - video input: this subnode can contain a video input port node -- Regards, Laurent Pinchart