From patchwork Tue Dec 5 15:10:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 120675 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5864772qgn; Tue, 5 Dec 2017 07:11:13 -0800 (PST) X-Google-Smtp-Source: AGs4zMbsPPK6C3Bt8vCKz9qIBSgFBE7ZV5Nj9191BIx8bx+CRG3hR4pWbbWBAtqo2Jf4yVJhSHRx X-Received: by 10.84.232.202 with SMTP id x10mr10494365plm.389.1512486673063; Tue, 05 Dec 2017 07:11:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512486673; cv=none; d=google.com; s=arc-20160816; b=AO8SPp2jGc8AN8mwYcWj9Cu8YhRN4hbglHEevvNVaiwyi+ZXhw//ohVpPzIP+7tcRW TT3hw4oscQUnDr1ntbJ8d5KAhy4rJN64RPPGv3E8Z10femdHZYousM2eqo9zBzgt3Gjh wjENvdEw9BPv9FucM1YNDg5A9MlZ/Wvk+LAIKYtH14ObEAkfbzxQQa/hLd1YdFTYOIpW isHdcr/KHdJ77z6s67jx5g1YS3RxYFbTz4cKwN3+hL3lcJc2zX/5dykIomtcH/bDzKZe OMF5g4S2Dmjmymypzcxe2g1EweLO7mSXrla/x7gRt5nKy/3kVOrrSAhNfUieUmAIOsD0 pVZQ== 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=MXoE/hde2h0XZDEOUAUYQLmbmdYTH6XOD5x3sd/Cc4U=; b=D6Is9h5G63HH62wC2f5UsyzeEg21d19RV/D3BfIVEHPBq5gLEFFISwUKWHqwEsZ7P3 SgN9dEriJGKeIcWI6KQu5nsER4Ye9QnMdBlRpEFV8GLCfr4QcveWV7Jx2Nr5X2tLSV5X mVl8XbnY9OXZbNeFuIpEDj45PzaIzLVUZT7NiVxo+ssAOw6O/4HMFRh+oEEU1GsUoYAx RDq3kJQuOK/Kj8Dt0TEmWpBznupZyb87xAzvNbD2+Rv5uu28ozXWB0tFLVwWAOGVDFPn PymeaeKuHi1ItRvXLVmyaBfmB72FF8t5XTBWd5g1XvXEf+rvaYQuyDdr8dHM2/g6C4eL zH1Q== 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 n7si187248pgd.755.2017.12.05.07.11.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 07:11:13 -0800 (PST) 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 BAB416E587; Tue, 5 Dec 2017 15:10:39 +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 EE94E6E09A for ; Tue, 5 Dec 2017 15:10:37 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id B7B502073A; Tue, 5 Dec 2017 16:10:36 +0100 (CET) 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 86CEF203A2; Tue, 5 Dec 2017 16:10:36 +0100 (CET) From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH v3 01/15] dt-bindings: panel: lvds: Document power-supply property Date: Tue, 5 Dec 2017 16:10:13 +0100 Message-Id: <97ebf0615821d79e8d7718594fe3a542a743a05f.1512486553.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Cc: Mark Rutland , Thomas Petazzoni , jernej.skrabec@siol.net, plaes@plaes.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , 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 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 + 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. 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. diff --git a/Documentation/devicetree/bindings/display/panel/simple-panel.txt b/Documentation/devicetree/bindings/display/panel/simple-panel.txt index 1341bbf4aa3d..16d8ff088b7d 100644 --- a/Documentation/devicetree/bindings/display/panel/simple-panel.txt +++ b/Documentation/devicetree/bindings/display/panel/simple-panel.txt @@ -1,7 +1,7 @@ Simple display panel Required properties: -- power-supply: regulator to provide the supply voltage +- power-supply: See panel-common.txt Optional properties: - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing