From patchwork Mon Jun 24 21:56:41 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: 167665 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733692ilk; Mon, 24 Jun 2019 14:59:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB8V4avoekyTrG3LmUwXUx6qJV/lIebPdkaXuWKe95XLHmwsuu5IhOufjz1R4Lx6eHdQKV X-Received: by 2002:a17:902:694a:: with SMTP id k10mr76365963plt.255.1561413579228; Mon, 24 Jun 2019 14:59:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413579; cv=none; d=google.com; s=arc-20160816; b=ruuuaHymeqKNpWgs/v+0A3vFDEFdqa4eCScBkEWlOWz38N+ejEU/bvtzRHHC/WPPWL 9MI9evb2eOY0ptcd3ryYsX6qpKiIZviiQn6DuIuW1Wo76qiwyhj68z5EGNTgyuMUOJqA pv+hm9NaskZVUXfB2IkbGaV0ylFQa/f41xUR5VvzvqgKcjZeHUpJTblgB7MXwxr9FOgX YEk/dni7fbJCeBLjS8EiRijTSQkqodKsIX2mKzHgJHPmXCai4pKuseQ3zuipJLw/wvbZ Z1wuVVJv0ZA9sTlRMy707b3nUnsETWwgy6yjbhVOwVcmMlOt2AGPmZtM9Q2V0dNE10Jx zhAQ== 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=d6wt0nGB4O0S8p8kd4JzvDnBLqtYrk0Lsmx5Cz17Xyc=; b=I56OrVLowerkMBHI99svi8pChHDj/81y2G/TE0/SEoTmf8jDUPlYPB8T22prckmb2c 95Y+Z1Ofvpd1mrhR5wN3/h09fhUjYVNUHsXvnPIK7vhGuZUmpJvnjIBJYHxU2imeUc7f OeDiJbszqpjJvn8sUaLyrYp4Xfvzdz9Lk6on6HtNX3sqhlmKiDB3lqknGHtgrEtGRvM2 dex2UbqsSpwol9IFD8RXl6nvuvDQeikM5cophiwJ1TdFHj94dRWYHVhKrnXnIYswvJOv SMwM1xpZB1Kt9J0DjeBEeLWrEv/cuq1GE9kU/+1ri9JCBpTak1afD3/5yO+OGh1XZP5X /dEA== 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 cl14si11728884plb.341.2019.06.24.14.59.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Jun 2019 14:59: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 5E85889E50; Mon, 24 Jun 2019 21:59:34 +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 19D0889E0E for ; Mon, 24 Jun 2019 21:59:04 +0000 (UTC) Received: by mail-io1-f66.google.com with SMTP id w25so5016607ioc.8 for ; Mon, 24 Jun 2019 14:59: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=qxcMK+QpGg0slednYV4FulPMcMSYDpcVW7BBUR9mgVE=; b=Suu3e8rjsQG+3XVftyAT0PCu6GhdWpN801TLPw02e//HpcCdVCuzjDkmZ1xcSZrylw KCEzQcOf3XFyFOyfjcqqF48vV+81m30+IgolFMQOiPuc27Jrfr/xyT72pug0xtFYjWPC MUkhUQ3QOLR5bfiRvz/a7TslwTNEZkMYatnC4TTfygObU4FUEmOBmDfUtkHpGMqX6OU5 ImhqUNpbvfYeygu5se7VimrDAOkxIksunzapw00K4AoKQGegUKu0jELllGtYVXRDAv0q HBClXHtPLjgL2rgDEWDFth2ZvlHP5Wz6ZK5w/zced7a9CMyM5NsoSarU2hu1vDPbquoA 6png== X-Gm-Message-State: APjAAAUoijYeve7IoO3fPDPRcWoaLLCzpbedeFJiOHoapSrIVgywgndA j8havXhLLeeUAAUUcbL2aMG+4Tg= X-Received: by 2002:a5d:81c6:: with SMTP id t6mr483058iol.86.1561413543153; Mon, 24 Jun 2019 14:59:03 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.59.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:59:02 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v2 07/15] dt-bindings: display: Convert pda, 91-00156-a0 panel to DT schema Date: Mon, 24 Jun 2019 15:56:41 -0600 Message-Id: <20190624215649.8939-8-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: 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: Maxime Ripard Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Signed-off-by: Rob Herring Reviewed-by: Maxime Ripard --- .../display/panel/pda,91-00156-a0.txt | 14 ----------- .../display/panel/pda,91-00156-a0.yaml | 25 +++++++++++++++++++ 2 files changed, 25 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..cea5bcb3c455 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml @@ -0,0 +1,25 @@ +# 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 + +required: + - compatible + - power-supply + - backlight + +...