From patchwork Thu Dec 7 15:58:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 121003 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8533910qgn; Thu, 7 Dec 2017 08:00:00 -0800 (PST) X-Google-Smtp-Source: AGs4zMZua9DQPmcmAtrkI/VXykwHKfGBtU9v1AsBcBfYN0PBnM/irED/8EKKmAyUFRoa3eIP5Ztu X-Received: by 10.99.127.70 with SMTP id p6mr25302505pgn.418.1512662400481; Thu, 07 Dec 2017 08:00:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512662400; cv=none; d=google.com; s=arc-20160816; b=orfywjcZbQA7hdreuHuGrTsTKXMLE9jM3jHV8tZGDf2hqmtD+BFQJdDudfwEnhx1r5 T5t6idibJG1BWPx/w5GOEjDiZorV4kngPXARDGaOds3lg6DnytO1TF6Jp89AO3gQR+oM xL3z0BXZt8MBBrrlC7kyEg2PUj0BugWffyv+jAnhAQrk2JYl1sTRf4lwtGmWDrNx2FGd m65SY3m74iduOR4ADW7s1FWER0H0njI/DXRuVI3A35g5xdSHSAvNIzmYQnJD/PmADKQ+ BsmSBTx4FTPH02BtpNfAZgcL3UvkyeSM9AHF7a69IRKCXM0qqyx3Yc9GiQT3lXcy8ZYa +mjw== 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=PGPrlvJMowfoECLbU+owFsj6DbrmbEGgNWH06kQcALk=; b=UiW41GpY4/ivbHnznFHsBPruDu3oZQni5Ng0saFGFtEsEVK9vLbe7qX8CK+hUAmzO1 B+YzM8ExGvN78ANoiKD7EY9VUePavB7zOzLpYh3ZAkAGWZhQ5AanMtDfHelFN0sbEd4C /uljksDoBaj9oH/UEhGor+drFSCKMuAm3WYytweuWC/8WF6jeLJS4mnHiCH6w4Umg5Lq rsTcxUKKhskEc+nJh8P8APE5vQaIAD+VsTLlj8qxKiEwlxL5jKOgSIRY8YRyEDdY3Bwc YC1XPOq80vf45iarzQ9iz5hVOMG1NE9r2UPMp+ZRhU14OORyHIF2J2GN/dA/N/pqk2JL OCbw== 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 13si4259335pfm.342.2017.12.07.08.00.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 08:00:00 -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 687416E840; Thu, 7 Dec 2017 15:59:29 +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 0A4096E831 for ; Thu, 7 Dec 2017 15:59:25 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 1C25420E1C; Thu, 7 Dec 2017 16:59:24 +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 shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [185.94.189.187]) by mail.free-electrons.com (Postfix) with ESMTPSA id D928D20CA3; Thu, 7 Dec 2017 16:59:13 +0100 (CET) From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH v4 01/15] dt-bindings: panel: lvds: Document power-supply property Date: Thu, 7 Dec 2017 16:58:46 +0100 Message-Id: <10bad1055cf009e0f61e5779dd3d34d1b83c43f5.1512662253.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 , thierry.reding@gmail.com, 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 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. 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