From patchwork Mon Jun 24 21:56:49 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: 167662 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733554ilk; Mon, 24 Jun 2019 14:59:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNNaLUKtmyINfQEdkfQh9dEhifIMncZhdsj2git7vIb/4SKBIHG//nqQkvt4gXgWyxYjgN X-Received: by 2002:a17:902:e58b:: with SMTP id cl11mr128226506plb.24.1561413565951; Mon, 24 Jun 2019 14:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413565; cv=none; d=google.com; s=arc-20160816; b=oRpl9DqXL2fjGBIoMaQGU/tBgwQ07tz9+5YdPj2BhEtQ+gDE7YZc2GfJxfWYlH07E0 YUiHGIWb1c/VvxHRQ2EH88y+Zxp5eOyYzfX10ftQQrJztTTunIvJwzDqLA2AZfWlW/++ lrxHSTW1OsC97GZtnarazr+/7FYgw6CaAIwTzefXANWiiz5abLE3853ZNB4juYG78+9D xlcWKEe26Vq1UahRqpIDwfDbH/sSysjZDCoTmhWaQAxeltf/da8UAcvr2lxrQ6UlhQRb Nfh3Q+MqEMAxYcHILiu8wda8Qld8OFFMMbBVo7vBMTbhv0qstWZzIugBIsXyMItfsP3l tSnw== 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=C0fhF/HHmpDyka0Wd6VE1RdzpDQP/WKIgjv5u9+0wVQ=; b=cvwQD3erxb+gVxqmvOhwCySPoIq7Jv5nsgZxcbk5t2rEctCcAueGbECl78fcnpdXj7 10w05tWHFHDFihc3rWmCcs9UrKmVwl2ZF58B2KTDOWaT/ho6+WAO1W51+MSUDsBgvTLv yF40d8taC/zmp3/m500CVtrp7TezzSvvmKQfTT7V55tY/ESKMuQkB7yJSpiL6v4gF0H7 XfKxUWWXpc2sI+bDXRPRKskC47nkYYf1fYynVorRZXyONt9pNHnxr91rbt4IrhbjUR6k ra0p4yNiv0VaKu7bWLqxL1AWCTH6fO2PRCWIm1pIIyX3GdzL2Zi3vIeqhkCRkMuwAWg1 gxBw== 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 a7si11020363pga.381.2019.06.24.14.59.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Jun 2019 14:59:25 -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 45D8089DD8; Mon, 24 Jun 2019 21:59:20 +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 287228924A for ; Mon, 24 Jun 2019 21:59:16 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id h6so956ioh.3 for ; Mon, 24 Jun 2019 14:59:16 -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=yESbo+i10idiBFWz3etXGo6XCmb8EOHmWEtPPGEz5fg=; b=DDP7nOBOPk/wzN4GOt9+CQT8RZ2k5aVaat3GdIgwuXy3oll9Tl6h/Ui5I5qm9iW+M8 ff9/pkb2R6fSH7heJBq4GimLlOpbExsdwxm/S9v9U++bu28tR4P8EbhvFfyz7dILkpZT 8YngerKSnLTFvP0Erhz+ppz/1aeKSoVkcjl49+0PxAhBSY2UX0D3w6jGXxWtRlTvnceC b5M/G8YlBGA5FROCfHubR6zpRll0gR9pTX0P77su2HFdpT4YI5vWK0yBLOE+upX6Vva3 dAopE+bsNVVCCJxsanUSQG+Pq0uTosRMJFQr94PC0FgqYOZfzYxwPsdquQr5ydw3aiRn WAPQ== X-Gm-Message-State: APjAAAUesgq+BQw0+U2q/uTGc65K/khelrz76XSxQWBetsxVBoUL+kZp AKwau32lPhX+lf4LLkKBR/dEuMA= X-Received: by 2002:a6b:4e08:: with SMTP id c8mr33071155iob.217.1561413554728; Mon, 24 Jun 2019 14:59:14 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.59.13 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:59:14 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v2 15/15] dt-bindings: display: Convert sgd, gktw70sdae4se panel to DT schema Date: Mon, 24 Jun 2019 15:56:49 -0600 Message-Id: <20190624215649.8939-16-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624215649.8939-1-robh@kernel.org> References: <20190624215649.8939-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: Neil Armstrong , Maxime Ripard , linux-kernel@vger.kernel.org, Thierry Reding , Laurent Pinchart , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the sgd,gktw70sdae4se LVDS panel binding to DT schema. Cc: Neil Armstrong Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Signed-off-by: Rob Herring --- .../display/panel/sgd,gktw70sdae4se.txt | 41 ------------ .../display/panel/sgd,gktw70sdae4se.yaml | 63 +++++++++++++++++++ 2 files changed, 63 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 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..487283288cb0 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml @@ -0,0 +1,63 @@ +# 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 + +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>; + }; + }; + }; + +...