From patchwork Wed Jun 19 21:51:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 167277 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1236607ilk; Wed, 19 Jun 2019 14:52:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6snZyqmQ/eRgvxl9MS4bTPySyI0UoEcRpfyGS71Px5d0v/B03/ZW4xKPPs1pHmZlS7FhU X-Received: by 2002:a17:902:24d:: with SMTP id 71mr125024814plc.166.1560981130684; Wed, 19 Jun 2019 14:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560981130; cv=none; d=google.com; s=arc-20160816; b=CJNic7jMoVQatJnhmzsqnw9Q1JrkmnZNbCFcaDPWwR/pFpvXzgZTkcaE5Brt4+jMq2 d1ffJMWMo2Q699l2RZzygpKStecTkIo6qzZ6IbyXRxqoEWBOKtAiaStSmOYFgX1e9nby CT0gjUDXJ24NPqxRtoIqdQ3/iDsUMhcujmPTGFkgu3VUZlpyO0ylHXri1XmGrl6wKaT9 h43lkOLp4dzCQGviW6QFPyXi/HwYJKudopAC7D3PTFwU5s36a7T4WMs5C7yThHEO66SE oUTYXLoGMXI/VbRvzfCKPtN061m3BW5Av5b+qo23ub8r+jMUkQC1K6nYai6skJ3/pkNz jp2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=Mcfiriqk2GXaZ+QreKzQh4/LdLS115EXGtqdXV9x44c=; b=YTIbG2LNnE6nMh0o8NuJSpl/K1einFQWoRjDaYiwyKJlNCjhfOhw4uzGx23W0Iv+CH S708fDL179bFfBsnCCt+aGf8BuwzFNWpNf00TqHEO4+AqnzecBecwGb0MyQGVcDprn0o PJwvFwcgWnbp37tFKEww2Qpujcfd7iDQ3nd4okrJhWW0f+CNxGbfNXLuvyg+KtBxRmA2 QpSJJjmQ0flla+yYLGb1PT7f+2k6m8Aso3UZKtk+Ayl8RkqiF+T+KQrxVHlCiMvOXcjR eTrirJKjAXripeOWZAJniCytAczPuEWnsimNZQMOZ23O1tkfvHcvAS75f8WyilD5m+yc I7JQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id j5si102160pgi.181.2019.06.19.14.52.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Jun 2019 14:52:10 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B67966E47F; Wed, 19 Jun 2019 21:52:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by gabe.freedesktop.org (Postfix) with ESMTPS id 891156E47B for ; Wed, 19 Jun 2019 21:52:02 +0000 (UTC) Received: by mail-io1-f66.google.com with SMTP id j6so226029ioa.5 for ; Wed, 19 Jun 2019 14:52:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/7RNl0V1WoARVRD/RxLj0SbJgldmEVIr2syT8aiqqBI=; b=sAuIYzhrwQDWmKd0SXl5dJTCqLVwsoLAcXjpPcPWSBdKdXgf6yNqd+Ib4PsuSjMqvT Q3jcggjRe0mujOinybSLRh+yvd2R8HwTMldZl8E7aoU0WqGToc0WNsdvCywJZwm1bUgD VAKkWEBf+Hs0hskRKP0mRbyUmNcKMhExsG6qFKRKZqdB6zruavTJrVH/jvnDzSn3YXd/ oGsuVSJggKfYLYjJMlq8MpaP0hFCORZOOMHIWTGKMQcPkRjrXA9fh0CytNUnMUz2dic9 z2N0BwJfGTXeTQGtWICzpIEZfSzf3jXPlaErg4Dcst69beMR1GWhDb0Xl38cHHoZW48I R87g== X-Gm-Message-State: APjAAAUfWuuiYpZEuUYrm7s153d4fJxoGjwes89HkxBMITcy8jL8IcGc /N4jyuqIeLGdVD0mqRYsC4/T+v0= X-Received: by 2002:a5d:94d0:: with SMTP id y16mr42777142ior.123.1560981121583; Wed, 19 Jun 2019 14:52:01 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id e84sm37754698iof.39.2019.06.19.14.52.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 19 Jun 2019 14:52:01 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [RFC PATCH 2/4] dt-bindings: display: Convert ampire, am-480272h3tmqw-t01h panel to DT schema Date: Wed, 19 Jun 2019 15:51:54 -0600 Message-Id: <20190619215156.27795-2-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190619215156.27795-1-robh@kernel.org> References: <20190619215156.27795-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Thierry Reding , Sam Ravnborg , linux-kernel@vger.kernel.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the ampire,am-480272h3tmqw-t01h panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Signed-off-by: Rob Herring --- .../panel/ampire,am-480272h3tmqw-t01h.txt | 26 ------------ .../panel/ampire,am-480272h3tmqw-t01h.yaml | 41 +++++++++++++++++++ 2 files changed, 41 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt create mode 100644 Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml diff --git a/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt b/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt deleted file mode 100644 index 6812280cb109..000000000000 --- a/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt +++ /dev/null @@ -1,26 +0,0 @@ -Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. - -Required properties: -- compatible: should be "ampire,am-480272h3tmqw-t01h" - -Optional properties: -- power-supply: regulator to provide the supply voltage -- enable-gpios: GPIO pin to enable or disable the panel -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for RGB input. - -Example: - panel_rgb: panel-rgb { - compatible = "ampire,am-480272h3tmqw-t01h"; - enable-gpios = <&gpioa 8 1>; - port { - panel_in_rgb: endpoint { - remote-endpoint = <&controller_out_rgb>; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml b/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml new file mode 100644 index 000000000000..cc2f6ec6ebf6 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ampire,am-480272h3tmqw-t01h.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel + +maintainers: + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: ampire,am-480272h3tmqw-t01h + + power-supply: true + enable-gpios: true + backlight: true + port: true + +required: + - compatible + +additionalProperties: false + +examples: + - | + panel_rgb: panel { + compatible = "ampire,am-480272h3tmqw-t01h"; + enable-gpios = <&gpioa 8 1>; + port { + panel_in_rgb: endpoint { + remote-endpoint = <&controller_out_rgb>; + }; + }; + }; + +... From patchwork Wed Jun 19 21:51:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 167275 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1236591ilk; Wed, 19 Jun 2019 14:52:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9amAO+FoG0JdnrkmkJlqO7CsziPyChMukL4wWKd2NqG3PHoFjFaTqpXsjjWSxZ6x8CF4w X-Received: by 2002:a65:42c4:: with SMTP id l4mr9660836pgp.436.1560981128249; Wed, 19 Jun 2019 14:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560981128; cv=none; d=google.com; s=arc-20160816; b=ceArqFIUxEkmiHJUJLr3Ou1fhYZU3N4eucB0wMSDgNZOLiAPd26hK6W7Mi04lqDFed +6TyUx0lx6gKvDL2//O78qWmuH5Oa4ig3uKbCB5l2ZHFpgWyurrwStv5wUpfwyzh+4j5 QdPPoQk3pR9zjDuM0RKrBIROu+vOUTGvqNO0W6lYCiNXylcpBMfIzZ7l44Id0g+tafyr MlCPju28rIcqL7XgHEHDdGG9UhV2CfDVXs0xnOT1XCJSn2q3DWmDdTRSfcy5WcdSayqM 27ybNsy1cDnmgp4S7NmVnsBHLhNKXmV718qx6m5hUr4WmulgBqMS3xtDvbZ8tqcLDE84 TdqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=FuJ0yQpjbzI0qQ+QlLnU1dfv5AIBoIJuHEnh2uhGOWM=; b=Yt522B8kfuLhe9HrOz61IL685LZmHRnKsexVhjDNWJKYZa+n7UJ4lzOuDFhN6q2SZc qphn1vhqFTZid1jx78Rx9UHrft+yTqvrEQmmNSQe98yZmtKZNzImx95eHWWycOvkrp8z /HaqmM6NoA2t42YRhMzwHp1wA9mF5d2ORAJBJeONnBbUvpdbZ/Opg32dTIj3RBkmpelZ hiwqPE86CAe/Cz3XCldevfs6Y5DMDpSXZ/m1zmXQX5AfOXwkmV3ainiULJ9diGzEyjvI j93VQyux3FxfWT8rJAWIWyCjSOB0rAWNqTwlaPbBGlkm+gmMe2uWWi6zW1Ne9tPvkYAA SRgQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id a32si2445569pje.7.2019.06.19.14.52.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Jun 2019 14:52:08 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 97F866E47B; Wed, 19 Jun 2019 21:52:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7850F6E47B for ; Wed, 19 Jun 2019 21:52:04 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id m24so100218ioo.2 for ; Wed, 19 Jun 2019 14:52:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ddW9QcfoMMoiBgO2LEagaArkYhgqDch6AH/ZcAA0+AQ=; b=kUlfCTlNg32aWvxqorY5gQiqb1UphQ4gAAv9JehD7rON5NaG/sNRLDRANW3Kbd5Zj8 3b5sBVv/GDTNp57r4xCr0iEsSz1+MeVE+lS0nh251pJTdHWnwmNh0ZWmQH0r74by+O89 HSrc/ssm2BzOl46x69/qoxjGRhe650dMx9mjCmLLRQWdOtlJP/CxSP57Ewm/kj+Wkbw4 Gp6usdjBKj/KDjcBr3FlXw0BrkhGGQjyJk1Em1PAOvyCIrJft2m8EEHdP0Gz+wticBr0 rLuhYqeKLLrF4lMGLMRlK6LhlK2mko1aphqE6NyszFcYeZUNfoVGpryLAcZi0gjUvHK9 RH/Q== X-Gm-Message-State: APjAAAXGJw8KFQhtD6wWoiOVM4AWRx2LiY7wuEZV1OWoFbUufmuUnzrF JsVgjc52IBMP2a8MNwH9kvvwvco= X-Received: by 2002:a6b:7602:: with SMTP id g2mr13030626iom.82.1560981123417; Wed, 19 Jun 2019 14:52:03 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id e84sm37754698iof.39.2019.06.19.14.52.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 19 Jun 2019 14:52:02 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [RFC PATCH 3/4] dt-bindings: display: Convert panel-lvds to DT schema Date: Wed, 19 Jun 2019 15:51:55 -0600 Message-Id: <20190619215156.27795-3-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190619215156.27795-1-robh@kernel.org> References: <20190619215156.27795-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Thierry Reding , Sam Ravnborg , linux-kernel@vger.kernel.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the panel-lvds binding to use DT schema. The panel-lvds schema inherits from the panel-common.yaml schema and specific LVDS panel bindings should inherit from this schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Signed-off-by: Rob Herring Reviewed-by: Maxime Ripard --- .../bindings/display/panel/panel-lvds.txt | 121 ------------------ .../bindings/display/panel/panel-lvds.yaml | 107 ++++++++++++++++ 2 files changed, 107 insertions(+), 121 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/panel-lvds.txt create mode 100644 Documentation/devicetree/bindings/display/panel/panel-lvds.yaml diff --git a/Documentation/devicetree/bindings/display/panel/panel-lvds.txt b/Documentation/devicetree/bindings/display/panel/panel-lvds.txt deleted file mode 100644 index 250850a2150b..000000000000 --- a/Documentation/devicetree/bindings/display/panel/panel-lvds.txt +++ /dev/null @@ -1,121 +0,0 @@ -LVDS Display Panel -================== - -LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple -incompatible data link layers have been used over time to transmit image data -to LVDS panels. This bindings supports display panels compatible with the -following specifications. - -[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February -1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA) -[LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National -Semiconductor -[VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video -Electronics Standards Association (VESA) - -Device compatible with those specifications have been marketed under the -FPD-Link and FlatLink brands. - - -Required properties: - -- compatible: Shall contain "panel-lvds" in addition to a mandatory - panel-specific compatible string defined in individual panel bindings. The - "panel-lvds" value shall never be used on its own. -- width-mm: See panel-common.txt. -- height-mm: See panel-common.txt. -- data-mapping: The color signals mapping order, "jeida-18", "jeida-24" - or "vesa-24". - -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. - -Required nodes: - -- panel-timing: See panel-common.txt. -- ports: See panel-common.txt. These bindings require a single port subnode - corresponding to the panel LVDS input. - - -LVDS data mappings are defined as follows. - -- "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and - [VESA] specifications. Data are transferred as follows on 3 LVDS lanes. - -Slot 0 1 2 3 4 5 6 - ________________ _________________ -Clock \_______________________/ - ______ ______ ______ ______ ______ ______ ______ -DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< -DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< -DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< - -- "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI] - specifications. Data are transferred as follows on 4 LVDS lanes. - -Slot 0 1 2 3 4 5 6 - ________________ _________________ -Clock \_______________________/ - ______ ______ ______ ______ ______ ______ ______ -DATA0 ><__G2__><__R7__><__R6__><__R5__><__R4__><__R3__><__R2__>< -DATA1 ><__B3__><__B2__><__G7__><__G6__><__G5__><__G4__><__G3__>< -DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__>< -DATA3 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__>< - -- "vesa-24" - 24-bit data mapping compatible with the [VESA] specification. - Data are transferred as follows on 4 LVDS lanes. - -Slot 0 1 2 3 4 5 6 - ________________ _________________ -Clock \_______________________/ - ______ ______ ______ ______ ______ ______ ______ -DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< -DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< -DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< -DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__>< - -Control signals are mapped as follows. - -CTL0: HSync -CTL1: VSync -CTL2: Data Enable -CTL3: 0 - - -Example -------- - -panel { - compatible = "mitsubishi,aa121td01", "panel-lvds"; - - width-mm = <261>; - height-mm = <163>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1280x800 @60Hz */ - clock-frequency = <71000000>; - hactive = <1280>; - vactive = <800>; - hsync-len = <70>; - hfront-porch = <20>; - hback-porch = <70>; - vsync-len = <5>; - vfront-porch = <3>; - vback-porch = <15>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml b/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml new file mode 100644 index 000000000000..1dd5eea7b930 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml @@ -0,0 +1,107 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-lvds.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LVDS Display Panel + +maintainers: + - Thierry Reding + - Laurent Pinchart + +description: |+ + LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple + incompatible data link layers have been used over time to transmit image data + to LVDS panels. This bindings supports display panels compatible with the + following specifications. + + [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February + 1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA) + [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National + Semiconductor + [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video + Electronics Standards Association (VESA) + + Device compatible with those specifications have been marketed under the + FPD-Link and FlatLink brands. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + contains: + const: panel-lvds + description: + Shall contain "panel-lvds" in addition to a mandatory panel-specific + compatible string defined in individual panel bindings. The "panel-lvds" + value shall never be used on its own. + + data-mapping: + enum: + - jeida-18 + - jeida-24 + - vesa-24 + description: | + The color signals mapping order. + + LVDS data mappings are defined as follows. + + - "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and + [VESA] specifications. Data are transferred as follows on 3 LVDS lanes. + + Slot 0 1 2 3 4 5 6 + ________________ _________________ + Clock \_______________________/ + ______ ______ ______ ______ ______ ______ ______ + DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< + DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< + DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< + + - "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI] + specifications. Data are transferred as follows on 4 LVDS lanes. + + Slot 0 1 2 3 4 5 6 + ________________ _________________ + Clock \_______________________/ + ______ ______ ______ ______ ______ ______ ______ + DATA0 ><__G2__><__R7__><__R6__><__R5__><__R4__><__R3__><__R2__>< + DATA1 ><__B3__><__B2__><__G7__><__G6__><__G5__><__G4__><__G3__>< + DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__>< + DATA3 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__>< + + - "vesa-24" - 24-bit data mapping compatible with the [VESA] specification. + Data are transferred as follows on 4 LVDS lanes. + + Slot 0 1 2 3 4 5 6 + ________________ _________________ + Clock \_______________________/ + ______ ______ ______ ______ ______ ______ ______ + DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< + DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< + DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< + DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__>< + + Control signals are mapped as follows. + + CTL0: HSync + CTL1: VSync + CTL2: Data Enable + CTL3: 0 + + data-mirror: + type: boolean + description: + 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. + +required: + - compatible + - data-mapping + - width-mm + - height-mm + - panel-timing + - port + +...