From patchwork Fri Jul 5 16:42:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168579 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791783ilk; Fri, 5 Jul 2019 09:42:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQx8a48lUymBg64DvvU8XEcMjwNW6dzRXx4yPtmWEq+fP+oo3Edqf6FvTRDxuxxH6+EX4q X-Received: by 2002:a17:90a:206a:: with SMTP id n97mr6754256pjc.10.1562344964377; Fri, 05 Jul 2019 09:42:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344964; cv=none; d=google.com; s=arc-20160816; b=HMFJKdLRb6LAIOygekEIDRfG2LzN3DA6lxR3Ck4BgBRDeVkTnoeDEHEwfNlTzZv0Wp DajrjUgWmQ4blPYseU0N1kbeZGAJghHJbT5bpAqCjHQZR2O4lntQaTj5uC4rflG23AaY aurxth9+Vd7ydea4ZQCQBro4+GNXVfIV7ouRTbYHkwc3v8qFNV4y1s8ZQ1t1h9n+xvgi otPYfVf6ZruDun6gfiTJyU0dPUF1wgTe4JEH6BFxS8sqKVX+QvXsiCLKuO7SzUVzliXS QzW9KppnUxBScmA1QxvtDGyzkSfEYpkRs/W80WcDpBAvwXp4JLh3bXc7T+yBymE0wFjp WUJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=G+s42jlOutJVoH3ChTzadVhi4SKC/zB2mUxbB3XIwJ8=; b=TtaeSUFZNYzD+fVcatPoji0b7U81xq4W4KiH6jrB3iErmJxwDGQeQZOrBbTOrcuHqv euId6uhURZ2XlCwKHTx5eMqP0a/cJ7xjwCj2uN+UlntDDqkMAilH84yOgHHo+i7g7+xB KY/3zGxx9ydNtTf1+xx1UnXgQFOcgLogsj7sKWJAPSH0b9yM4j+Shfpn3l+r0uBla01I Dh8+VACCvbxdeLYQ1Pnc4XjVVx4hdnHPeS/I7Y7Za4zut7McDAHBHzm0P/5naoWnPsdg k+fs080uAuBoLDfRAar1rEuOUTt0gJCZtAzP/Lz4JuqG83skA8k3zDRgATj9bU+Mpy+6 IBiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p27si7708293pli.411.2019.07.05.09.42.44; Fri, 05 Jul 2019 09:42:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728743AbfGEQmm (ORCPT + 30 others); Fri, 5 Jul 2019 12:42:42 -0400 Received: from mail-io1-f53.google.com ([209.85.166.53]:40940 "EHLO mail-io1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728717AbfGEQml (ORCPT ); Fri, 5 Jul 2019 12:42:41 -0400 Received: by mail-io1-f53.google.com with SMTP id h6so12148451iom.7; Fri, 05 Jul 2019 09:42:40 -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=G+s42jlOutJVoH3ChTzadVhi4SKC/zB2mUxbB3XIwJ8=; b=cTqpZrhaHWM4t2E7n83Ul/6Qb/xL+GWqqRw2+BYWpQ/SAxLRFg3bTc729G0zvuRxQ0 16gVUJ4kMwL2ujNpDBQF+YCJfu2uny/DhQ+ABl0D+RSd7up5SDxd9pYufhbv1hAGnw7O hnpGmk3w6Qd5uqj/FW73pWv24D3m4KQqR5E+St9E+8SV9AHP1WnPsnwgPyo1GitivfJP I0hw+06uVMKlDhq5cGEXXHPTxwO/O9sldaQeUk6VOYcJqN2WGx3fxzVnf/YZK0pGzayW MrZkDSbVYKPjARusFuV6xsIBdJRwknhTtXsGCkn6b0rrfRgV1rTBxubHkntK5tYRUCE4 l0Rg== X-Gm-Message-State: APjAAAXjN0/Bjsj4W0u2UITdBLQkLoQauok1KlSbj/AGHfW3VxWnkvzy 3V4o7LTA7YKAiQ1d6S+AUA== X-Received: by 2002:a5e:a708:: with SMTP id b8mr5374635iod.25.1562344959777; Fri, 05 Jul 2019 09:42:39 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.38 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:39 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart , Thierry Reding Subject: [PATCH v3 09/13] dt-bindings: display: Convert panel-lvds to DT schema Date: Fri, 5 Jul 2019 10:42:17 -0600 Message-Id: <20190705164221.4462-10-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Acked-by: Thierry Reding Signed-off-by: Rob Herring --- .../bindings/display/panel/lvds.yaml | 107 ++++++++++++++++ .../bindings/display/panel/panel-lvds.txt | 121 ------------------ 2 files changed, 107 insertions(+), 121 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/lvds.yaml delete mode 100644 Documentation/devicetree/bindings/display/panel/panel-lvds.txt -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/lvds.yaml b/Documentation/devicetree/bindings/display/panel/lvds.yaml new file mode 100644 index 000000000000..d0083301acbe --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/lvds.yaml @@ -0,0 +1,107 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/lvds.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +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 + +... 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>; - }; - }; -}; From patchwork Fri Jul 5 16:42:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168583 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791888ilk; Fri, 5 Jul 2019 09:42:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHMYENjLeyiEXFSnhf4jmO+1YiLgy6mtVNLtEqS+HeYrjsBaDrSONg/rYa8QxIW6xab9qB X-Received: by 2002:a17:90a:376f:: with SMTP id u102mr6763412pjb.5.1562344971235; Fri, 05 Jul 2019 09:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344971; cv=none; d=google.com; s=arc-20160816; b=HUeBG8xl6ptyLfnW0RKIQJmosRx89C+SKiGnmXv4KxhomTsAK1SpHRR+ZHN99PFyIW bl4/k9ISTFIRJSr0yhwR6eBj/YXrAZ4g7q3/Uw/AXxvbdXKT7tgoR29DOdkUkpRLy2r9 ZPlbTxCbkCGFpXqYAh1uGRGaWhhY9rTSwceeQBbjKRrOzDqR92eWvpNpZDj7F19kcb/Z 6R5j+tYi8UX5VI83Azv3ERGeLmBJ9Ly6OhvlpaJCpIa1quEZoKXXDw5D2KrCc9+9bT77 irRAl6p5dwyCUPToIUaJ+aXfmQwiwq9JxMolVwogzKgmb0wDMjQB2vr1XjFqMzG4Rc2b dyhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4u+6qapxeTisjBjV1LDNg1dP2Dk7yZmXQTbzF8olw5A=; b=JDWcnytCyJcTpr4VVxKcQ12rPzc31FHwieI6/0lPUSi2ChrRpmvquOUfEoVBhJesbg Mmr9760580pOb5nlrXmfN/ba3BBRFr7LYM236KfBBQdudTOdn35w9+jOQwRk5HRN/Zzt vC1sqAgKSbmfc97TBUgZGlixk53KVo4Xyk9S9n8gM1yr+MmzOs/yD9j/4l7/ZR4wdvnC GU/SBBInjD5wt69SywKl3Zj/nKdkp7AK9rNI3TU7+uA7Q2M8QU+aoH70qVVt/MPh9+Lk N+VlrlfREQgx9PD+unPh2+E9FeIhZTyFv+B6dOvLUlra/7vZbZrkiq7X+yLstMLDxwQh OkAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p27si7708293pli.411.2019.07.05.09.42.50; Fri, 05 Jul 2019 09:42:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728782AbfGEQmt (ORCPT + 30 others); Fri, 5 Jul 2019 12:42:49 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:44485 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728758AbfGEQmq (ORCPT ); Fri, 5 Jul 2019 12:42:46 -0400 Received: by mail-io1-f66.google.com with SMTP id s7so20320375iob.11; Fri, 05 Jul 2019 09:42:46 -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=4u+6qapxeTisjBjV1LDNg1dP2Dk7yZmXQTbzF8olw5A=; b=bjrdAMJPXxajh2jSDx5707slvz+MXBGgG4xqETDNMQPhRcaUpm25lAhNYtsTB7t7J4 GtyhbZgTZ3jx1r3mpwttaK5Q/eBvzkHw3AWuSXLb11FSWcIaguG4nDYqRkxz6LvG/+wS zGVgOjeTHKIvRro1pg+B8aqrm0HJIap6duFponqqu6UvlH/U0RjwZcukIqOK/jQLSViU L25MtsXqxCmS7JlRGrNeMjbIKc+8iWyIKXw6teEwO3bDy1NnNN2rXxZ6JIbE/CQ6r+pN dI52zsYD3vjU4AahMH4Pvm3VEJ2eLumGLN92A+HfyK/0vUrtfprnh3AFAwnl2vKFIpvY QyYg== X-Gm-Message-State: APjAAAW8i6BzoiCmL7vIo7Jqap5gfcVdIRK4aPaQHWNPDM1ibS7R0Ky1 hauWPsrGj4hcPp3mSjgTL9imBBA= X-Received: by 2002:a02:c519:: with SMTP id s25mr5497475jam.11.1562344965673; Fri, 05 Jul 2019 09:42:45 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:45 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart , Neil Armstrong Subject: [PATCH v3 13/13] dt-bindings: display: Convert sgd, gktw70sdae4se panel to DT schema Date: Fri, 5 Jul 2019 10:42:21 -0600 Message-Id: <20190705164221.4462-14-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the sgd,gktw70sdae4se LVDS panel binding to DT schema. Cc: Neil Armstrong Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/sgd,gktw70sdae4se.txt | 41 ----------- .../display/panel/sgd,gktw70sdae4se.yaml | 68 +++++++++++++++++++ 2 files changed, 68 insertions(+), 41 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.txt create mode 100644 Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.txt b/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.txt deleted file mode 100644 index d06644b555bd..000000000000 --- a/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.txt +++ /dev/null @@ -1,41 +0,0 @@ -Solomon Goldentek Display GKTW70SDAE4SE LVDS Display Panel -========================================================== - -The GKTW70SDAE4SE is a 7" WVGA TFT-LCD display panel. - -These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt -with the following device-specific properties. - -Required properties: - -- compatible: Shall contain "sgd,gktw70sdae4se" and "panel-lvds", in that order. - -Example -------- - -panel { - compatible = "sgd,gktw70sdae4se", "panel-lvds"; - - width-mm = <153>; - height-mm = <86>; - - data-mapping = "jeida-18"; - - panel-timing { - clock-frequency = <32000000>; - hactive = <800>; - vactive = <480>; - hback-porch = <39>; - hfront-porch = <39>; - vback-porch = <29>; - vfront-porch = <13>; - hsync-len = <47>; - vsync-len = <2>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml b/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml new file mode 100644 index 000000000000..e63a570ae59d --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sgd,gktw70sdae4se.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Solomon Goldentek Display GKTW70SDAE4SE 7" WVGA LVDS Display Panel + +maintainers: + - Neil Armstrong + - Thierry Reding + +allOf: + - $ref: lvds.yaml# + +properties: + compatible: + items: + - const: sgd,gktw70sdae4se + - {} # panel-lvds, but not listed here to avoid false select + + data-mapping: + const: jeida-18 + + width-mm: + const: 153 + + height-mm: + const: 86 + + panel-timing: true + port: true + +additionalProperties: false + +required: + - compatible + +examples: + - |+ + panel { + compatible = "sgd,gktw70sdae4se", "panel-lvds"; + + width-mm = <153>; + height-mm = <86>; + + data-mapping = "jeida-18"; + + panel-timing { + clock-frequency = <32000000>; + hactive = <800>; + vactive = <480>; + hback-porch = <39>; + hfront-porch = <39>; + vback-porch = <29>; + vfront-porch = <13>; + hsync-len = <47>; + vsync-len = <2>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +...