From patchwork Fri Jul 5 16:42:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 168574 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791630ilk; Fri, 5 Jul 2019 09:42:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqweP+HGgSrFBp3/5rqCRbcyWYb4YML1kN4h4gbvxw7FrwJRdR8p6/tTm1cXrOtaHBNRzowH X-Received: by 2002:a63:6103:: with SMTP id v3mr6754486pgb.161.1562344955348; Fri, 05 Jul 2019 09:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344955; cv=none; d=google.com; s=arc-20160816; b=04JZQvfRJBauV/cP7qmCt+SGJ5J5dy7fY24TRDYixuKpcqLsGQRcsXFaXV6JU1Vr9R 8A+viLsUuEO3DBN8qv3Lc2Atx33WnfzeCdrQZOODDQlLKoqsj2k1Bew3Ykd9QDHBdbiL 3TOq/rPKFAsjBqExQtmxqs/NHePzZh1lre7ybjtH8OrRtsChMNJBm0NOlD9Cl+BJXYgD jpE3CfGlVXeUGLfwMb1olntePda0DApRsq7vv+vLpb3oD5dUBgL90ATjbinGBLWg3fuI /NDj6GlFxtE/gMPxvNmpdNZdNJhevCpQHu9s4uYjyxL01zCN8fpaGfHfDwulc3qIMVwS S8sw== 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=oNiQv+qSNmtvHxp715lj0eDzlOSZdmHazKJwCNWtyGI=; b=POBTdUKqV12JgL1QUcw05MAvsmpAC8uog29eDQxh07bzeNxsjTVQb8kVzER39lSOtj ydk61QoPF+kLBaA6OG62ScIpsIATX44G39auxP+oLKG8mZpwRdLgMnI0C8Iw2lxzJE3T FHQ6fKrO9GNlwNh5aJvSGvHXXDVpZahDTjAxRv60eP/qAUG+eK5Tl7BjffwxGXPLjsOs DPWhHbUEpP4SmQAvAVpOW8tyzd8RRDtYqTDL/1GrOsbyl4ms5Scv0LPiEtRg9qkCfI33 XqB7/O8AoemClX4VBkXfmETdU09rnKIn6gT19YnWqzwWzJbzdipw4erjRuHKq8uHqOmA ogZw== 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 m8si3344012pls.115.2019.07.05.09.42.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:35 -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 B691E6E50B; Fri, 5 Jul 2019 16:42:33 +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 32DC26E509 for ; Fri, 5 Jul 2019 16:42:32 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id m24so10880799ioo.2 for ; Fri, 05 Jul 2019 09:42:32 -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=QmMSkEMpERvJyjJRrG5g4f+OapV9H/whTXHG0VCoTaM=; b=CKc/4uXrWzHe7N85nDFn5E0JuA/Qo7y35XW4t2FyuE7x2QB37Zgxbx+PZRPiSHszjM PLz4+5SbOHyDSgFg58bft3BmwuwhgclJ52WwZym/HihZhntFETy+pgfsDhM2an466eGm G1gqkaXedHcTFwvFfnMKR63I45gtDU4VbJ3DrzryTyaQ5RSDfHM1/fhBDDeddd4g02nB 6LL3mo/bBTCcJAdV3nlU6y+kUUy10q/WEQT0egZPNkYkTlMQ9Aq2vDg3e9iDuLuPNOMf jM7GXCIZyErWpJedNwrB23Px7NeEtHfmXO97o1S0erfqL2TLzbMSiMylIMGIuf3eotcT 6+2Q== X-Gm-Message-State: APjAAAUIr5cW+GSQZyzVoPGlPr/W+pKJcXtqWFa6iqcjgqI3/LdzTN7I v1zZI4+w7ITCqo1r/IbKRnWhbQo= X-Received: by 2002:a02:8a:: with SMTP id 132mr5543519jaa.89.1562344950866; Fri, 05 Jul 2019 09:42:30 -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.28 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:30 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 04/13] dt-bindings: display: Convert bananapi, s070wv20-ct16 panel to DT schema Date: Fri, 5 Jul 2019 10:42:12 -0600 Message-Id: <20190705164221.4462-5-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 bananapi,s070wv20-ct16 panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/bananapi,s070wv20-ct16.txt | 12 ------- .../display/panel/bananapi,s070wv20-ct16.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 12 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt create mode 100644 Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml diff --git a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt deleted file mode 100644 index 35bc0c839f49..000000000000 --- a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt +++ /dev/null @@ -1,12 +0,0 @@ -Banana Pi 7" (S070WV20-CT16) TFT LCD Panel - -Required properties: -- compatible: should be "bananapi,s070wv20-ct16" -- power-supply: see ./panel-common.txt - -Optional properties: -- 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. diff --git a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml new file mode 100644 index 000000000000..bbf127fb28f7 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/bananapi,s070wv20-ct16.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Banana Pi 7" (S070WV20-CT16) TFT LCD Panel + +maintainers: + - Chen-Yu Tsai + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: bananapi,s070wv20-ct16 + + power-supply: true + backlight: true + enable-gpios: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + +...