Received: by 10.223.164.202 with SMTP id h10csp3346503wrb; Tue, 28 Nov 2017 09:50:00 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ7ozb4aEZhVPP2v/aChepgXnZDJlCHH1HykbzaYxlycDUTvDQJPLkXQYWkpmjoUL3gxg8B X-Received: by 10.101.92.138 with SMTP id a10mr11134542pgt.6.1511891400404; Tue, 28 Nov 2017 09:50:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511891400; cv=none; d=google.com; s=arc-20160816; b=u9jtvNYd03lgkchW59iiJi+Cn8NCsEasu5MTOr/faHkn3BndSvM6nUH7Hz9B2b9Mmn JHu4H2SS8nOU2yH/K8mS2dZ/WMqT0eUCrysP8zXiibwexwVdGxqVJsrkWsfnjanD2Ma2 DHDHOUmebec943KEnGZoOAb0Xu0ORmMTluZ7O3zHAnXdqTaBiqbxM0BuXdtnhMiiv2hb spvdeGD8GLgFD1iIVcxSB+Db0Z+l4GDC373QvThvEtE7TwjLvFzfbwUX0kcdaNFijOb/ pIuWXNQ2Ov4AvnTmMt6bmHFdW31WG966C83rwqgwPUinxIXK0+9J1ajp6CWk5TMRSOoJ UvGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=/P4rkxXCaapGG0GprKbc0y/QEpltLPHZPXxh5tHX8Hs=; b=h18e08boevRXg+2eBDsaTxmlsBx5NaivWt8c5qTugcWkV3989eJwwncygvr3XFpmNv 3lYvIx9uGFYF1TmXmZbtiN3NtVqiueRABqnJ7FJSmjjgrI0IS4d+sgTQUymPVr9EiWB7 V4uK1fdGDApqI2wrvqqnb60/lYgDrwyIqMmxosLvhUH63H77wgCCf+aFHUmUjISqBj65 15nxCtglsBO2zXH1O/Rj/Qc0qiA9GrbcTJZ4g+N5r3grYqXshn98vWSImz2bLdNNqGth TmIQgH12MZvtj0Ljg6B7ZCIZZt9ilOYJGeoFz4njAyDWAZsDkKR74gOWTg9Qc4c2u2qx 3q0w== 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 o1si19764062pld.226.2017.11.28.09.49.48; Tue, 28 Nov 2017 09:50:00 -0800 (PST) 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 S1753272AbdK1RtK (ORCPT + 78 others); Tue, 28 Nov 2017 12:49:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:41794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbdK1RtJ (ORCPT ); Tue, 28 Nov 2017 12:49:09 -0500 Received: from mail-qt0-f181.google.com (mail-qt0-f181.google.com [209.85.216.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 63F432197D; Tue, 28 Nov 2017 17:49:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63F432197D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org Received: by mail-qt0-f181.google.com with SMTP id u42so899326qte.7; Tue, 28 Nov 2017 09:49:08 -0800 (PST) X-Gm-Message-State: AJaThX7GEAu6VYNcOlOhXJpiffYbKpz+wIZ9SN+FwABlEFaz6pjxDFS9 0/lt3oA5ikbgk6Q1OLK0kH6vPWyvarOo4UP9Lg== X-Received: by 10.200.44.251 with SMTP id 56mr66598854qtx.87.1511891347573; Tue, 28 Nov 2017 09:49:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.194.73 with HTTP; Tue, 28 Nov 2017 09:48:47 -0800 (PST) In-Reply-To: <583a46dd967456aac07fb29529f74d91a10bdfeb.1511797218.git-series.maxime.ripard@free-electrons.com> References: <583a46dd967456aac07fb29529f74d91a10bdfeb.1511797218.git-series.maxime.ripard@free-electrons.com> From: Rob Herring Date: Tue, 28 Nov 2017 11:48:47 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 01/18] dt-bindings: panel: lvds: Document power-supply property To: Maxime Ripard Cc: Daniel Vetter , David Airlie , Chen-Yu Tsai , dri-devel , "linux-kernel@vger.kernel.org" , Mark Rutland , "linux-arm-kernel@lists.infradead.org" , linux-clk , Priit Laes , Icenowy Zheng , Thomas Petazzoni , Jernej Skrabec Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please CC DT list. On Mon, Nov 27, 2017 at 9:41 AM, Maxime Ripard wrote: > The power-supply property is used by a vast majority of panels, including > panel-simple. Let's document it as a common property > > Signed-off-by: Maxime Ripard > --- > Documentation/devicetree/bindings/display/panel/panel-common.txt | 6 ++++++ > Documentation/devicetree/bindings/display/panel/panel-lvds.txt | 1 + > 2 files changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.txt b/Documentation/devicetree/bindings/display/panel/panel-common.txt > index ec52c472c845..125ea68052af 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-common.txt > +++ b/Documentation/devicetree/bindings/display/panel/panel-common.txt > @@ -78,6 +78,12 @@ used for panels that implement compatible control signals. > while active. Active high reset signals can be supported by inverting the > GPIO specifier polarity flag. > > +Power > +----- > + > +- power-supply: many display panels need an additional power supply in > + order to be fully powered-up. For such panels, power-supply contains > + a phandle to the regulator powering the panel. > > Backlight > --------- > diff --git a/Documentation/devicetree/bindings/display/panel/panel-lvds.txt b/Documentation/devicetree/bindings/display/panel/panel-lvds.txt > index b938269f841e..250850a2150b 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-lvds.txt > +++ b/Documentation/devicetree/bindings/display/panel/panel-lvds.txt > @@ -32,6 +32,7 @@ Optional properties: > - label: See panel-common.txt. > - gpios: See panel-common.txt. > - backlight: See panel-common.txt. > +- power-supply: See panel-common.txt. simple-panel.txt should do the same. Really, I'd like to see panel-common.txt and simple-panel.txt merged and simple-panel.txt removed altogether. But there are a lot of references back to simple-panel.txt. A given panel still needs to say what common properties it uses or doesn't use. Omitting a property like power-supply is ambiguous and can either mean "I only have 1 supply" or "I haven't thought about supplies yet there are more than 1". Rob From 1585234658412558492@xxx Mon Nov 27 15:46:19 +0000 2017 X-GM-THRID: 1585234658412558492 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread