From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752905AbeADUEw (ORCPT + 1 other); Thu, 4 Jan 2018 15:04:52 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:49868 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751952AbeADUEu (ORCPT ); Thu, 4 Jan 2018 15:04:50 -0500 From: Laurent Pinchart To: Maxime Ripard Cc: Daniel Vetter , David Airlie , Chen-Yu Tsai , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Mark Rutland , Rob Herring , linux-arm-kernel@lists.infradead.org, plaes@plaes.org, icenowy@aosc.io, Thomas Petazzoni , jernej.skrabec@siol.net, devicetree@vger.kernel.org, thierry.reding@gmail.com Subject: Re: [PATCH v5 01/12] dt-bindings: panel: lvds: Document power-supply property Date: Thu, 04 Jan 2018 22:05:13 +0200 Message-ID: <1938450.ezem5N80bY@avalon> Organization: Ideas on Board Oy In-Reply-To: <20180104194436.reka6nw5hf32o4p3@flea.lan> References: <2493504.1OPucrC18r@avalon> <20180104194436.reka6nw5hf32o4p3@flea.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Maxime, On Thursday, 4 January 2018 21:44:36 EET Maxime Ripard wrote: > On Fri, Dec 22, 2017 at 02:08:20PM +0200, Laurent Pinchart wrote: > > On Thursday, 21 December 2017 13:02:27 EET 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 > >> > >> Reviewed-by: Rob Herring > >> Signed-off-by: Maxime Ripard > >> --- > >> > >> Documentation/devicetree/bindings/display/panel/panel-common.txt | 6 ++++ > >> Documentation/devicetree/bindings/display/panel/panel-lvds.txt | 1 + > >> Documentation/devicetree/bindings/display/panel/simple-panel.txt | 2 +- > >> 3 files changed, 8 insertions(+), 1 deletion(-) > >> > >> 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. > > > > I think we should give more details here about the limitations of this > > property. How about the following explanation ? > > > > - power-supply: display panels require power to be supplied. While several > > panels need more than one power supply with panel-specific constraints > > governing the order and timings of the power supplies, in many cases a > > single power supply is sufficient, either because the panel has a single > > power rail, or because all its power rails can be driven by the same > > supply. In that case the power-supply property specifies the supply > > powering the panel as a phandle to a regulator. > > That works for me. Do you want me to resend it with that text, or > should I merge it (and if so, with your Reviewed-by or Acked-by?)? No need to resend if it's just for me. With the above text, Acked-by: Laurent Pinchart (on a side note, I wonder if it's more efficient to ask whether to resend instead of just resending :-)) -- Regards, Laurent Pinchart