From patchwork Fri Jul 5 16:42:14 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: 168576 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791688ilk; Fri, 5 Jul 2019 09:42:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwc97De3bOFGmfNIkoZzWd97kzHAxmjX/N14qAXhLFDMINVkbY6QtOaHKiaxcIaqVTAh581 X-Received: by 2002:a63:f746:: with SMTP id f6mr6471942pgk.56.1562344959019; Fri, 05 Jul 2019 09:42:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344959; cv=none; d=google.com; s=arc-20160816; b=a4loDL8vS+Iyxf0AyGqBXqKlTc9EfNmugqThde6KSfud39QaahEkddClTvq7oNM7aL FAtgRsMME6FiL5auhiw1SzYA+aNqFNPeqlAvPM5fQqcGij3OeY3sc93G9Ya7xPXT+bzI 6XZL0PdAVTcsvSViBedcX/YG/z6fT34aJLNO+NGq9n2fcUSSkOotfkq/si3DYAqQMF1w SEWUxZlF7f1uhPDrMuFAsTMdVRSHK65pH3Q4kZrEvP6TqJzzpWE6gewFHxa7Tx5B5GuF 7rQa94tiTUzZFSVaSzKsdXzixv7cJrMcMQADNQGXRYFoix0NYVKcIOAkWPsETK2YWP1P fPiQ== 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=ME7Y+Fe5jQy33j81UQbLgcngfjIUh9GcqLDqXnr0rDE=; b=f+z2r5QY1gHIQJ415f4qXEHB75keGNRyi5G7jGHVmBpnG+5Xy0omL9GW8gdMzZYz4z GPnQtw5kUjtq2PZbW7brKPmCYc7zU8WwYaOmBn1p6EvJYQfqSDg46t0MddozLTj1W9/d CKIXJubdNmcl8a+vqk4ArpBi7nRhIi+xK74e27nl/IFUNNDlARcUNopFW2mli4VUsFkt uwJsWVx1wrGBKJUJaFk/FW3qZi3EhLQfre5wscWKP2EBRSMcUhCv/9TooXLC4vf/oyGM NMuQZQc8abxsBbZfzGNgRgVe3lQGcP8EGqxEdH7GOd7V4DhlAi+UKPyTOIQQjVd9Qo2h wmlQ== 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 p5si8495864pls.163.2019.07.05.09.42.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:39 -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 918E46E50D; Fri, 5 Jul 2019 16:42:37 +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 4019F6E50C for ; Fri, 5 Jul 2019 16:42:35 +0000 (UTC) Received: by mail-io1-f66.google.com with SMTP id k8so20432892iot.1 for ; Fri, 05 Jul 2019 09:42:35 -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=XIsUK/A7o9jXe5kJWwnsjnmxD0dE/u9IBMQhPou9+Nw=; b=hMdfVRH5/e24vJYKquiFoMfyJCy9rFXnsNBXEXIYlMh185n8h6ZGsMOCorliNV5iSd riuASwkFSac+5Ae9p1RbZuzle5E7pHIeETDefQ9swH9yiFQaWt+nD/RMr4fIdoEFCN1M XUJUuqYpnZadU1N6LoSyS5MUj5CQfwYyhsaT5R5IxTRq+ImmFIVGcKmBg8IwJkZxlZyv FWnyHdNt+MUQLps4DSmxaD4b2j/i1/N5K74xIY8tgmFa7tzdkFTLqHak7iuCBxyEi/42 Zj2KVzEn5F3nlZYvJSx/tptmbHExRBIYt7dbnwzZpPVGQ+PD2EcLM2BnLg8/LoYw3mKI qXeQ== X-Gm-Message-State: APjAAAU9KnWvCT6BRcQNZSfe2GmonBDkS0MDOE4y8TvG7JNd5wLDyXoC Aktq9R9G2Yx5kIc6mWDHfA7arvE= X-Received: by 2002:a02:bca:: with SMTP id 193mr5789955jad.46.1562344954046; Fri, 05 Jul 2019 09:42:34 -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.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:33 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 06/13] dt-bindings: display: Convert pda, 91-00156-a0 panel to DT schema Date: Fri, 5 Jul 2019 10:42:14 -0600 Message-Id: <20190705164221.4462-7-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 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 pda,91-00156-a0 panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/pda,91-00156-a0.txt | 14 --------- .../display/panel/pda,91-00156-a0.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt create mode 100644 Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml diff --git a/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt b/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt deleted file mode 100644 index 1639fb17a9f0..000000000000 --- a/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt +++ /dev/null @@ -1,14 +0,0 @@ -PDA 91-00156-A0 5.0" WVGA TFT LCD panel - -Required properties: -- compatible: should be "pda,91-00156-a0" -- power-supply: this panel requires a single power supply. A phandle to a -regulator needs to be specified here. Compatible with panel-common binding which -is specified in the panel-common.txt in this directory. -- backlight: this panel's backlight is controlled by an external backlight -controller. A phandle to this controller needs to be specified here. -Compatible with panel-common binding which is specified in the panel-common.txt -in this directory. - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. diff --git a/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml b/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml new file mode 100644 index 000000000000..ccd3623b4955 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/pda,91-00156-a0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PDA 91-00156-A0 5.0" WVGA TFT LCD panel + +maintainers: + - Cristian Birsan + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: pda,91-00156-a0 + + power-supply: true + backlight: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + - backlight + +...