Received: by 10.192.165.148 with SMTP id m20csp692652imm; Wed, 25 Apr 2018 06:18:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp+ayS6LUUzRVB0uAR6YynsBp/4iRLyoeSLzqT8+zblzM8e4gWAGzX/xKfC300I6LDq89NB X-Received: by 2002:a17:902:bd46:: with SMTP id b6-v6mr398865plx.170.1524662315600; Wed, 25 Apr 2018 06:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524662315; cv=none; d=google.com; s=arc-20160816; b=OApjbMmgxuZji9KCAQ9Z8EEf8fHaPsD0VEwCkFskgLB3ea0eITBr44XgtU1M6qhqHn HSgiDtd79DkwDxoWRShRrfgiw8MOsjP2UNUzEJPAVQl22kLV6jr628bsZXc7JDAAxDJh njcD1tBfs4w37IL8ngBtFHIBU0nemo6xtf1ncaMa9pJMPI2aelUg8DN3iUp5bGldkBCs GwG/OrMwaxdTY/Vgv60tkmHcxzSGGxWPV1xvtnpM4mEMZTrCKKWE+8nVHra74FBiukPh IR/ZPa7qZ+zFoizFdW/H5OuSXUHjWT5GH+5Le9aS3+0vo7hNOgeLa4ADqmUnx76ciVHp pg4w== 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=/Eajb4jGprM2um5yU0gth+7zMv3gliGzVyrI68uHV34=; b=rk6txdEYgrp+WPJ2XAQgGwqhSxloHBDiHv5SYPivSablKQm62pQ6siT/yj9xBNl4ps n6YgvSa1U6BsDI2oEEePJYCqpsE/90ZI01oTtHCyw7A4iU/AFTLe6au7Vw49v1s6nVYB P2Eq5K7BrC1JRtw1XE8bQ7LrRFH+NoK8Cjf5X2lfmOh+5fg4Zy7cyS5zu/cscEtUTEqm hZStdRss8aoIic4lrwieTDMAKCsaYtftoE1V9Ru8mQlVLbOuLOoN8iDSKda+cQV4ea8P MC7NKvwK7AQAeqkmoVaTFhEnrC+PrwBHrCHXfA7HOUdBoX6JbKrIkzEWF8erEvfg201f HFsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=AFlBj1cs; 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 k8si7394374pgt.211.2018.04.25.06.18.19; Wed, 25 Apr 2018 06:18:35 -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=AFlBj1cs; 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 S1753508AbeDYNRO (ORCPT + 99 others); Wed, 25 Apr 2018 09:17:14 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:39568 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752831AbeDYNRM (ORCPT ); Wed, 25 Apr 2018 09:17:12 -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 392365172; Wed, 25 Apr 2018 15:17:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1524662229; bh=9IZ3BLWKrul9+vgSnSWX4E/Htngwkk0OHk3whq+FdSk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AFlBj1csvZAYqyUpsDEaft/ngNBFl3rmKW/xWPO4W40df/VE5EFUUsjMLz4oS24Id KZo5paXMyT15jj6s6rwLHIWuZD4L7/ONmjZ+OYp+tb3K5B38s3HjTOyeoDOslnIO4W r9i0eL05u7cq3DG8iZpYtfaosA4BI5T5+7EI9PEA= From: Laurent Pinchart To: Philippe CORNU Cc: Archit Taneja , Andrzej Hajda , David Airlie , Rob Herring , Mark Rutland , "dri-devel@lists.freedesktop.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Yannick FERTRE , Benjamin Gaignard , Alexandre TORGUE Subject: Re: [PATCH v2 1/2] dt-bindings/display/bridge: sii902x: add optional power supplies Date: Wed, 25 Apr 2018 16:17:25 +0300 Message-ID: <1559016.ZjzeSVB84W@avalon> Organization: Ideas on Board Oy In-Reply-To: References: <20180425075314.19137-1-philippe.cornu@st.com> <16954794.QiYqgNKfkn@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 Wednesday, 25 April 2018 15:20:04 EEST Philippe CORNU wrote: > On 04/25/2018 11:01 AM, Laurent Pinchart wrote: > > On Wednesday, 25 April 2018 10:53:13 EEST Philippe Cornu wrote: > >> Add optional power supplies using the description found in > >> "SiI9022A/SiI9024A HDMI Transmitter Data Sheet (August 2016)". > >> > >> There is a single 1v2 supply voltage named vcc12 from which cvcc12 > >> (digital core) and avcc12 (TMDS analog) are derived because according > >> to this data sheet: > >> "cvcc12 and avcc12 can be derived from the same power source" > > > > Shouldn't the power supplies be mandatory, as explained by Mark in > > https://lists.freedesktop.org/archives/dri-devel/2018-April/172400.html > > ? > > Laurent, > Many thanks Laurent for your comment, I understood the merge of the two > 1v2 power supplies but missed the "mandatory" part... maybe because this > patch (with optional power supplies) already got the reviewed-by from > Rob, I thought the discussion thread you pointed out was applicable > "only" to totally new driver documentation. > > So, on my side, as a "new user" of sii902x IC, no problem to put these > power supplies as mandatory instead of optional properties but I would > like to be sure this is applicable to both old and new bindings doc : ) We obviously need to retain backward compatibility, so on the driver side you need to treat those power supplies as optional. From a DT bindings point of view, however, I think they should be mandatory for new DT. > Rob, > could you please confirm these power supply properties should be > "mandatory"? > if yes, should we then modify other optional properties like the > reset-gpios too in the future? The GPIOs properties are different in my opinion, as there's no requirement to connect for instance the reset pin to a GPIO controllable by the SoC. The pin could be hardwired to VCC, or connected to a system reset that is automatically managed without SoC intervention. The power supplies, however, are mandatory, in the sense that the chip will not work if you leave the power supplies unconnected. > Big thanks to both of you, You're welcome ! > >> Signed-off-by: Philippe Cornu > >> --- > >> > >> Documentation/devicetree/bindings/display/bridge/sii902x.txt | 2 ++ > >> 1 file changed, 2 insertions(+) > >> > >> diff --git > >> a/Documentation/devicetree/bindings/display/bridge/sii902x.txt > >> b/Documentation/devicetree/bindings/display/bridge/sii902x.txt index > >> 56a3e68ccb80..9fb41fc9af51 100644 > >> --- a/Documentation/devicetree/bindings/display/bridge/sii902x.txt > >> +++ b/Documentation/devicetree/bindings/display/bridge/sii902x.txt > >> @@ -8,6 +8,8 @@ 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). > >> + - vcc12-supply: TMDS analog & digital core supply voltage (1.2V). > >> > >> Optional subnodes: > >> - video input: this subnode can contain a video input port node -- Regards, Laurent Pinchart