From patchwork Thu Dec 21 11:02:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122526 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp724678qgn; Thu, 21 Dec 2017 03:02:57 -0800 (PST) X-Google-Smtp-Source: ACJfBovBB1p0WQupyjPofBbQCq8m2TEZNXCu9q3N9EkJPfJgx0Vurx7SnwRPprZ/48YDXlnrh5ql X-Received: by 10.101.86.133 with SMTP id v5mr9083741pgs.266.1513854177442; Thu, 21 Dec 2017 03:02:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513854177; cv=none; d=google.com; s=arc-20160816; b=nsB5kcIo5zeIvgkGZoY7PqdZxccmCSwrACeUL5n0GWZFGcV/4ppoyczvcirkW6DQSR HLVS8b32CVV85rdhADv3K0AVLhQ9ZKW1KawMgBcRqwCLGA3ZbTsxGW0KBCPHTp6UAyAi WgZSmcTz5wXzZLgGjua1OIGiR90bpWNMHM7vNhgqMT5zYXn5OUmOP1Piwc0uT+XAWdK6 AAO8OGjo2agMCoTf6nyGPj579wntsttMWDt1KoavhL8qbas84lhpKczWaTXN0LSRUbk4 zx/N3URw1+Ybl8DAV4LGAm5DVnyXXjXehIT6SaxXmiARZJyEbiRDxMFjYxEn1C3vogc2 uKOQ== 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=eF3bYgxTz8JbMxAfRcqprQdUvUa1wOUhGgjBeOPHbxOPYlCziPE3X1rFIpuwJz7ifp cYFfdgaxiMt/qa41nXRSAjCOIcPujrZfr25CcvulzgOe3orAa6XhkZ1p8Gvi7RHhYNwZ RAUe0Zkckqo75yEq83IFnYU6tba+s1KDFwWwGSSzZeWTfsrb+I+e33dErVintaIHwcZy fn8L0kdqGaKLGJbIWB5CCGChgj4QYd13rmCvsV2txAt49j80G0tuJzo7emqa+DDkhPAJ iELbROphZr7yuS505nA3em7EoclxohpwO4eRKZRVa4lh3SsDvCv+wbwbSJa57UtzZFCN wcaQ== 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 h12si13244994pgp.334.2017.12.21.03.02.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Dec 2017 03:02:57 -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 2F79A6E600; Thu, 21 Dec 2017 11:02:55 +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 B70B06E606 for ; Thu, 21 Dec 2017 11:02:54 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 69D6320993; Thu, 21 Dec 2017 12:02:53 +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 3A31B206A6; Thu, 21 Dec 2017 12:02:43 +0100 (CET) From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH v5 01/12] dt-bindings: panel: lvds: Document power-supply property Date: Thu, 21 Dec 2017 12:02:27 +0100 Message-Id: <0a6a3abcf1a6b7f0e66a81af8a44c5c0566ce06c.1513854122.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, Laurent Pinchart , 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