From patchwork Fri Jul 5 16:42:13 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: 168575 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791651ilk; Fri, 5 Jul 2019 09:42:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyknIgn2YWhF0seebVTxPyVt1w7gww8GT8W8JoCjXHxXNwBf/zB8TKkVS7TR2A8zHcYmxoC X-Received: by 2002:a63:3203:: with SMTP id y3mr1598430pgy.191.1562344957070; Fri, 05 Jul 2019 09:42:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344957; cv=none; d=google.com; s=arc-20160816; b=uXAXh6pkGpOxFIam2zSeFL3hcM/bw8cJCcGfQR4OUGhULorYlE2lJ5tQK2wzPsAK7k Rrf3J1l4qx93yPrpkIJ0hlFMGVNy1zBDCykQmwgtKfFE9LarEGYMMs57bqZDTeF46x9i P/K7n4ijBGMHyBj+1R4f4JyQxN6ljoYOo6+E/Y47ZqtWy57svTl3JRsfydQ98HYqdvwu udJRGEB7ooLrnaVsnGkbe6i2w7LhOKknviPH7VNgjWl+IJ1CZ4qKb24MYv51CCNAoPrw aL5OKDsMNHAoJTgFbWJ5kSsAtsDm5Nuhk27WRuRfM11Nv3bb3OjnhmmERihsrXK06Uqs SRaw== 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=eSp3ypNjbUf/Yn535D8AQzTLYe3F0VMppdE3tDuhjik=; b=lgGvL4g7D7NnTDy9qWQ7X4qR8VsBuk3WlYaUcym9hCzTxsTotohayLD2CoXia6TFNy Iu4iX33tXoZqyIn78q07ln6ppPVJ1J4ch3sv+CUg9YEAS0TqwLrIl+pPQ3Ce0vqegLpD z5U3DB2IiIvYmB2ApZdl+NUsQ4wsASDb0cbWTda3kNvfwAUBCOHu3utEDtcZf34kWhLY H0YbVG34iwvyytdXiGq4nV9l8+0XYQz2VbIsHzxWd9PlFDcglfOyTFNSD7dcmOTsQJvB pyAE7fL6jwHlzuHLlwLbs+NSniL5XGwoqrEx90m1zV5EEgaJzJ2als/59CXheYrBIDex kXcw== 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 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id l19si9136390pgb.204.2019.07.05.09.42.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 7DFB66E509; Fri, 5 Jul 2019 16:42:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id 79C616E50C for ; Fri, 5 Jul 2019 16:42:34 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id u19so20326746ior.9 for ; Fri, 05 Jul 2019 09:42:34 -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=WIBJ9DoW85CJmy6TrFg2SdCJgMlWzD7A88ZcXqMgYx0=; b=nNWUS9rcNbXvKOoqDnw6NlkoIRTzj2cVa6kZmmLAtvmqUJ7Pkch009dlqfTRZanWzz oJxYpawu2fbtr5QxDTpW515QiKlLW4lNVD2BBY8dlCXaTJvWVBtC19lfYPGWYR0yO4GC lJc+R2C6QXVB0cvPBcY+SdLydTcZqbA2H1+zq5Z6JRnGrdyw9xGlcbkoISc0n/GL1c52 HzTL0Km1tRPah0mQFpU+TOLJn/1cua6Otn49MnrGrIsP4hBoWLVmIKQY8bnTgLVjjdMX URFjWKphoOk3DkzlQToCA2NeOyZTMjxD15X25AFTPqyvEcuM8xXUD96doxf49LrpMK3X zrQw== X-Gm-Message-State: APjAAAWs0gKYtkA5VkxPaQ2StEmGTGwot5dhV2RO8J+Ce2kjbTyHz05g FdaO43NmwLpfAXMYnMUC5a7ek14= X-Received: by 2002:a6b:691d:: with SMTP id e29mr4865968ioc.96.1562344952759; Fri, 05 Jul 2019 09:42:32 -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.30 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:31 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 05/13] dt-bindings: display: Convert dlc, dlc0700yzg-1 panel to DT schema Date: Fri, 5 Jul 2019 10:42:13 -0600 Message-Id: <20190705164221.4462-6-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 , linux-kernel@vger.kernel.org, Thierry Reding , Laurent Pinchart , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the dlc,dlc0700yzg-1 panel binding to DT schema. Cc: Philipp Zabel 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/dlc,dlc0700yzg-1.txt | 13 -------- .../display/panel/dlc,dlc0700yzg-1.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 13 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml diff --git a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt deleted file mode 100644 index bf06bb025b08..000000000000 --- a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt +++ /dev/null @@ -1,13 +0,0 @@ -DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel - -Required properties: -- compatible: should be "dlc,dlc0700yzg-1" -- power-supply: See simple-panel.txt - -Optional properties: -- reset-gpios: See panel-common.txt -- enable-gpios: See simple-panel.txt -- backlight: See simple-panel.txt - -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/dlc,dlc0700yzg-1.yaml b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml new file mode 100644 index 000000000000..287e2feb6533 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel + +maintainers: + - Philipp Zabel + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: dlc,dlc0700yzg-1 + + reset-gpios: true + enable-gpios: true + backlight: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + +...