From patchwork Tue Oct 17 09:06:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 116042 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4637436qgn; Tue, 17 Oct 2017 02:07:45 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDzgwqC5yA7FDCbHxkgUr16MOCQjymdYkHZDfpQ7DnljmlDwyLJW9Neb/+jnEuCo1hUqYBZ X-Received: by 10.159.207.136 with SMTP id z8mr11329917plo.63.1508231265091; Tue, 17 Oct 2017 02:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508231265; cv=none; d=google.com; s=arc-20160816; b=ROk9Ts6TaRvvivtd8Vwd7DaWAtIEok8UchKMmYDxmm86tILHfOwX7uf22t9QZGo9oH vU0pHMeslh24m/yi5qI2JEM92jkNmhB8ssPXmYM/EqqQXSpcrHv3cSODHNbk0As322sE fMrHhzjKwDXDdnKotgfQ3lr6cXCMzOudwaLv8KRi2biD0MLPzu6fFOFEaH7UJYQtyd4Q Ww4ZQ5he9uV8MRYnp9tlEv/I0S31vE9GpPBs+rwz4wtjVlGbAeqE4umdmQ3p8m7vVRwM OZzT3TbovQGKqg5OU9+M1GpV0Yxd24NL2GU8if8CINQpYas8bVHxOfwYaxD5zbR7HKmd GFIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:cc:references:in-reply-to:references:in-reply-to :message-id:date:subject:to:from:delivered-to :arc-authentication-results; bh=uSrIwbJQ3n3C8o4afng4CFVULN/HobwLRxEoKlv2oAk=; b=pZ0BkWgCEbhKXGNv+XzySAY0O8fgZyS/+bmfIkp9spnhj+k2JAE5H4j5O61REyABzh ZJRfyWagv5ng3m/hJBZueV5uWQxLyZHQPxAg8Nhvk/Na5XBEB5aOaS/iKajGl/fsTUY6 Po1bt1zpBAajDUIQ3fBWCnfsemYAZ5If369GePLEwx3Wd7p0axuR2XgS/sHtExZitNfG O/p++JT7jIXHxInoUAI6afNJeFCihZLwcJyk0TlR6bzxKfL/lWWLzPpZMR2TnsFbsDmA tvYEeo2I49bd/874a+RKFQJNB8cbeuwj8F43Zjd4BIilmsxFDgtmRhTf4nL3Pn+IFOMB oT8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id s17si5590964pfg.209.2017.10.17.02.07.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Oct 2017 02:07:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 32D5D6E619; Tue, 17 Oct 2017 09:06:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by gabe.freedesktop.org (Postfix) with ESMTP id 6546C6E609 for ; Tue, 17 Oct 2017 09:06:42 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id D208020893; Tue, 17 Oct 2017 11:06:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id A830C2088F; Tue, 17 Oct 2017 11:06:40 +0200 (CEST) From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 08/23] dt-bindings: panel: lvds: Document power-supply property Date: Tue, 17 Oct 2017 11:06:15 +0200 Message-Id: <89bee8042b5fa50c8c3dbf52cc0c14b34beef9df.1508231063.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: References: In-Reply-To: References: Cc: Mark Rutland , Thomas Petazzoni , plaes@plaes.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Quentin Schulz , Rob Herring , Mylene Josserand , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, icenowy@aosc.io X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The power-supply property is used be 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. - data-mirror: If set, reverse the bit order described in the data mappings below on all data lanes, transmitting bits for slots 6 to 0 instead of 0 to 6.