From patchwork Wed Jan 1 11:24:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1001 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6598B3F0CC for ; Wed, 1 Jan 2020 12:25:34 +0100 (CET) Received: by mail-pf1-f197.google.com with SMTP id q5sf4794206pfh.1 for ; Wed, 01 Jan 2020 03:25:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577877933; cv=pass; d=google.com; s=arc-20160816; b=00wG+uroeGCJ6EvruJHbwM/g97r4bSb44ohtpFcB5knBNE+D2q24GB1bhBTmKB4QSd 8cBU/nOdhH9HmSt0WybtW+EpM7GcaSKo6nsV6Rj4YIEmZmOcyT/GyE3GLgWWOoXGqwye WuDkOF47xPLbrW9Bb4ZQ9wfzpe+6oeBSgeEofmN8AYGuMACAa+NFoOlvK6Phyjcgv3Tv RCQOdYRGZFKYycsUBSrA9pLAVnxtRYl/g1nXduDwrIkXqcaNxTt/rIwjB2cyHHgpKZ/D HMVZFFJmzOP1xoCPy9DtirfwyuRbPA3hP4VPElcmlH0MZ7TUmIs0fKwwwy9lGLCyf9mZ zD9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=DxfJf0Sy6tFePkuG3JdoyPI2pGabBaBvkaX1OJndY88=; b=eI+5oAn++3AnIjttrcal66pHYSV8xyR3U3wmkCccLuJcsjRjNuPOEhX0bBVbgJNhre a02qt5uUrFSwOqDqzo0j9URKXJ7sNEg8Vs66zPmaKxu53lUw9ZJG+OF+JeXnEvhMMu6b yyJq3MoP+9WQbtAg5HQ46UF5xzY3aYLYZOOdfOimL+sZHTZkthVNko9J9ejDvvTOlwLL 7+Pg97pplCQeqMBusV/WgvG2lltSHXDbPvIg9/J9H6qXs+hdP68XUnvq4bViUdJ4IVNW K/q6VMwzcoLSE+0FMk2Y6rOZcS46qCgof+Ec7rHM+WuawhLNC4rXZUm0I+EtRxQEhsOR zmsw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MO1HGiBM; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=DxfJf0Sy6tFePkuG3JdoyPI2pGabBaBvkaX1OJndY88=; b=a+oT45M76qqYV2mzTVmCnfksiBcKJbymg9lrmGME/FcfRqv75CS77DfWxjYbSRdKjp BhrT4c4dnVjkknHEKsd3dsEtJh+iDKWa6oO98CbH5qNjz+Ji49EpBYCcWwRP1vl/zLcL q9rfvKJuvJMJJ41jjIUcmO7aivDEPT39y9R4w= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=DxfJf0Sy6tFePkuG3JdoyPI2pGabBaBvkaX1OJndY88=; b=H8SROTU+z5noUcmTEudoOZlpVHF6+guqxjFgaiX7shWveZk18ch4u/Sbuitwn7/mYA o5xfkCNYzwntpTVNPY1bWDkXZc7nQQAkkalumr/+iX45ziH7bC47jPfuWx9FNk+4EKod +NlYe27U1j0BcpBDUFXiijm9BcLywvw8wjG/voyGv1PXw3Q7G7EEJLhLYNGlOlHV096+ 0rEXqaSEybeN+q3JnGXoK7jBgoo+EIZwrQrm5EGB113daubuXkcjTNSazO1MReBW3BP0 0oDXvuSioU7kA8LD0p3A4X4wx2XHVeOhBfWzzrCMqFGEq0QyProNOdeU5MO62SceZPfs hecA== X-Gm-Message-State: APjAAAX7+oJXcFnadCknfPxPeMLVRUavq3LoKqKhoP+SABpfrAGoDjFC u2QYg+7l0U99DYMwRUPX3Dl99OBK X-Google-Smtp-Source: APXvYqyLTRCflp8k816wwS42iwL6iKycdI84+8l3v0F/bcx19a75v3YpHOTGCvBPaXq5iG2OZ9lkbw== X-Received: by 2002:a62:e80b:: with SMTP id c11mr76728373pfi.28.1577877933135; Wed, 01 Jan 2020 03:25:33 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6389:: with SMTP id h9ls4736852pgv.10.gmail; Wed, 01 Jan 2020 03:25:32 -0800 (PST) X-Received: by 2002:a63:3245:: with SMTP id y66mr83547410pgy.234.1577877932578; Wed, 01 Jan 2020 03:25:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577877932; cv=none; d=google.com; s=arc-20160816; b=ijPTfzOmCSGtAN9mFFq0RvRQ/28yOJt5ukFTXuLBNIVWmDjQeS6JBzSyKL8jIqL7eF dm3IRE7NEFiR1WfBmqgyg2n9+nMVR0838HxJ8nIf+nNYKIEhG6qEPrEGhJURwokkd92j NWCoW1XuoI7MIyiRmW4EwgHPxrOT4lD0aFrnh0wIXCxT88Lw4l3Ftkw6IOZUSrG9O0Ww ietLK2K27tP3/7Itppcb44QTB/1Y2at5FDGfW/E5IE6Xiwk0MmiKCc4FdL2tkztZUhPW Vgu+hRKTmSO2BvQadzItCMwwQS+CuKyHSzvldhVzbNEyPjyr9bAELlAvIsNroVFobbf1 xszQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=fdGoH1RBSE0s/FT++wCk+eXRQE/Dps6JokN9W13ec2A=; b=Qq3yugCjJb3bnuLXCew3V7CXZBczYwnKDKquSMHOd3Wb8e7bPdVY+sr+ZkI0aqy2RR CZFuf6022j3shGwTpLeChcgQmZsiV3JHAGLrPKRmjfiKa4nXDl5CE1l0xyU4sBxHIJmR ylt0VbeWdChFY95nKEP5aTlzVAq3rdNqTvQFPqUAenYP2xMs58/AcTto/RIBrp87MGaX XU8t4OoUPPCoaJL5jBAskY2ZQRDRkeEmWD5s+5a8yMc9AMcBVO8AZJoOGSrzrSVJR/wO eEjMIJXy3hjsmS3XrZj9imK5I5wbtUnf8fp4xy4awb2I0stqRnyWjlGRk6hsg0WOOMUj MvNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MO1HGiBM; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id o4sor51323733pgv.45.2020.01.01.03.25.32 for (Google Transport Security); Wed, 01 Jan 2020 03:25:32 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a65:4587:: with SMTP id o7mr82913622pgq.303.1577877931997; Wed, 01 Jan 2020 03:25:31 -0800 (PST) Received: from localhost.localdomain ([2405:201:c809:c7d5:d0fe:8978:1b04:ff94]) by smtp.gmail.com with ESMTPSA id y7sm51945439pfb.139.2020.01.01.03.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 03:25:31 -0800 (PST) From: Jagan Teki To: Thierry Reding , Sam Ravnborg , Rob Herring Cc: David Airlie , Daniel Vetter , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 6/6] dt-bindings: display: panel: Convert koe, tx31d200vm0baa to DT schema Date: Wed, 1 Jan 2020 16:54:44 +0530 Message-Id: <20200101112444.16250-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20200101112444.16250-1-jagan@amarulasolutions.com> References: <20200101112444.16250-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MO1HGiBM; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Convert the koe,tx31d200vm0baa panel bindings to DT schema. Also, drop the description from legacy .txt since the yaml DT schema of panel-common.yaml already have that information. Signed-off-by: Jagan Teki --- .../display/panel/koe,tx31d200vm0baa.txt | 25 ------------- .../display/panel/koe,tx31d200vm0baa.yaml | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.txt create mode 100644 Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.yaml diff --git a/Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.txt b/Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.txt deleted file mode 100644 index 6a036ede3e28..000000000000 --- a/Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.txt +++ /dev/null @@ -1,25 +0,0 @@ -Kaohsiung Opto-Electronics. TX31D200VM0BAA 12.3" HSXGA LVDS panel - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. - -Required properties: -- compatible: should be "koe,tx31d200vm0baa" - -Optional properties: -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for LVDS panel input. - -Example: - panel { - compatible = "koe,tx31d200vm0baa"; - backlight = <&backlight_lvds>; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds0_out>; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.yaml b/Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.yaml new file mode 100644 index 000000000000..4b64e8ad8ec5 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0+ OR X11) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/koe,tx31d200vm0baa.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Kaohsiung Opto-Electronics. TX31D200VM0BAA 12.3" HSXGA LVDS panel + +maintainers: + - Jagan Teki + - Thierry Reding + - Sam Ravnborg + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: koe,tx31d200vm0baa + +required: + - compatible + +additionalProperties: false + +examples: + - | + panel { + compatible = "koe,tx31d200vm0baa"; + backlight = <&backlight_lcd>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + };