From patchwork Fri Apr 3 14:24:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1066 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 321E63F1FE for ; Fri, 3 Apr 2020 16:25:06 +0200 (CEST) Received: by mail-io1-f70.google.com with SMTP id n15sf6135082iog.8 for ; Fri, 03 Apr 2020 07:25:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585923904; cv=pass; d=google.com; s=arc-20160816; b=zQYNgUOcE3NSb9WO9aarKPzfKPXk5CzEzXUuVWuEoyT7t5/vUTsmxE6HqenGtuC17z Zfg98QuGE6JcnqMEne6vMc0ns8ndbd/etVbtqJ44SUcW3qqNNY4D/BsGyA5KYG+GA0kp 6cOwmsTvdndPp5ZIfxE5zcP8a+3xQLQvMMbq4zxDHBszX5b6YYkre7any621Sf58dXLC rlUiEo3l4uyJMIqVHJcDyMjPRa/cfulZjDC4AX4NlVg08mfo7Y6GDcjk6IU0t3SbGXSJ 0+8f5iO8+kO5k719Vyy2Mi+nlev8At97JNoEZbfjOO8nhyBO+QpBLvnupsebh6Yd+H+n JUXA== 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:message-id:date:subject:cc:to:from :mime-version:dkim-signature; bh=Uk8zTEJ1TZaONv+/g76SvE20U4GLaBdQO+arNjUDebI=; b=j6Q1cw8acFRUngiYmLDa45Fwg0uG1Vw7cBBMfE79dKF8P3mxn0HFRd6OkQcU+5Iwy7 07hoDPDXs6UrHeFOeEd9muYnDQiHcV3f7xv6ORtZp5BE354yBA3k87UJKIiosfZAW4+a 3KXxKBX7ehRFgnd59pEtnQDS2zOU0Jrnc4QgFLwWVOPZ8B+D8qHRjlO3Zbe3C57wgg2p iyCMwyNAcaIVXphwJ12lnFfPv894lXlNH0rK1tmK3nW4j8IOLSYIZND3Lz9qhAKhuYVP YK+B4iepIHQRVviadpbKYSILxtA6TOCuA9YX5Gu8EABhkyTvseWnDXj0X7x7uv80WJ6v fDZQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZMtQ3Z/u"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Uk8zTEJ1TZaONv+/g76SvE20U4GLaBdQO+arNjUDebI=; b=KCSXSrixem8UWIOTKmDwYcc3sZazKL4rZ0G6C1TQC7Sry2jppD6s3ewhsUZrv4VIAf jHZxUw1RIshaai2Vjmu548+c2n/r6p/U9ar6MCJxRnaNYsoYwwPNwyKtBVFLKXRk8a/S NXGLsLUO0qJdebtPiBVomg30FU+XHaeyS43MM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :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=Uk8zTEJ1TZaONv+/g76SvE20U4GLaBdQO+arNjUDebI=; b=OoySK+d0Z5L1Wq4btFbqVSUvBcVAC/lLIAocizDzjvNQ9RpAK9k6M8GC79dwssGoOZ 9nIVJ1O7zGHFYcJlTibuR5bGrtTw/Lt9f0rl9VTysq29Z9NVQEx4dWqX7N8zQERDwB0G hyi5NZ8mwbLzqkw3uHtjEl+yjN9Lmp3vMprWWHPaR2xvFNsre6jy3fL0QCgILy7k2Zce wsPsooqynL9QCKqDqkJJMMWzNGtwmbq4QeojE9boQzvq2hJFJMM4gNqBgnB6Fao96UFm 2186OwEI5gzmft9m6woEJV+Z5pYJ4evKeGsXrFWDhRLu073v7Kjp8/aS4rzrAobiBtLa YPhA== X-Gm-Message-State: AGi0PuYaS+ABZleAYMZsTGqbzTYtVA0w/Eo+OY1C4xQxGdoKTZYrykpN U0Xcp/0DecQG4uN55Ojd4IY/3DVs X-Google-Smtp-Source: APiQypJN8aS+w0dVQDo39JUnh5/dQUUL6sUVXOMJC0sBNw6FT334pOWsUwOnI7W8vSDacQNzXJy7xw== X-Received: by 2002:a05:6638:a22:: with SMTP id 2mr8970580jao.74.1585923904258; Fri, 03 Apr 2020 07:25:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a92:3ccf:: with SMTP id j76ls3642000ilf.8.gmail; Fri, 03 Apr 2020 07:25:04 -0700 (PDT) X-Received: by 2002:a92:cece:: with SMTP id z14mr9182946ilq.38.1585923903792; Fri, 03 Apr 2020 07:25:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585923903; cv=none; d=google.com; s=arc-20160816; b=r4XJXzYZAkbRJNHMYOP1vXhfZW6ecPbYRCqGJb9eBbDiCM0GHKfiB6rgNnvwasXG+g YbyoazENW2IuMrW43hYcIeUc+OMgxL74+u1BP2TJq6IIMaDRxOXw8ocIYovgr9Hcx671 czmvlUSax4mqgskQL9N2kTPVsvpGnTo6UXMd/+yR+3sMMhxjriaL++aYEH7FT398uiIy QJSP4C1LFEqXw3geN0YsfZjpn3rjEwtX6zMpwe0Terie41PXzmLKkTn5gl2fyZ2UEWzN os0fF42Om6wBSpRRHRiVOLu399+sSUWMn9dDfCfsBRg4qkcYN4DYV7hNO5OomL91Pkw4 ctvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=vKBRMX/UzCOn34k/kAwE26KCgVenN+ytvHTmdWU7Okc=; b=FXM2imuh3IsgGXKz3RNHoDYl2UzZ9nDFgMa7k9AeBKC6mUAoy6ZvSA1dTbxiu88lla D4+OXTVmFsoTU7S2gVLdVSaqIKJfgSFkDchRoOumLOeHRlwq0ogx8C1IqlqfEezoPycU bFepQfF5IIM+KiiJfe25wDPd3bAbCauzicsmLP3NeNpywK0OerhZtyJPxs/Xp+UXqh42 psR+HwuiOh9RmcNK5nTDvvFYPxAjzUqLbN7h5QRg0KkhE+gFLR7lpMOVQZHz3CnMr/rm +LyEeqbnkrQ7rJsMcGURTZyjSc7eEf/REUUUYi7IXWI8/GXraOkXe0nBNZ1bT82p8NEC 7ZNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZMtQ3Z/u"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id s25sor9222952ild.134.2020.04.03.07.25.03 for (Google Transport Security); Fri, 03 Apr 2020 07:25:03 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90b:3615:: with SMTP id ml21mr10361300pjb.145.1585923902916; Fri, 03 Apr 2020 07:25:02 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9cd7:b821:2c84:e325]) by smtp.gmail.com with ESMTPSA id g75sm5857060pje.37.2020.04.03.07.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 07:25:02 -0700 (PDT) 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 v3 1/3] dt-bindings: display: panel: Convert feiyang, fy07024di26a30d to DT schema Date: Fri, 3 Apr 2020 19:54:51 +0530 Message-Id: <20200403142453.25307-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZMtQ3Z/u"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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 feiyang,fy07024di26a30d panel bindings to DT schema. Signed-off-by: Jagan Teki --- Changes for v3: - update the licence, used (GPL-2.0-only OR BSD-2-Clause) since I'm the author for old binding - use panel-common.yaml - mark true for common properties - use maxItems: 1 for reg - update example Changes for v2: - fix dt_binding_check .../display/panel/feiyang,fy07024di26a30d.txt | 20 ------- .../panel/feiyang,fy07024di26a30d.yaml | 58 +++++++++++++++++++ 2 files changed, 58 insertions(+), 20 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt create mode 100644 Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml diff --git a/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt b/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt deleted file mode 100644 index 82caa7b65ae8..000000000000 --- a/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt +++ /dev/null @@ -1,20 +0,0 @@ -Feiyang FY07024DI26A30-D 7" MIPI-DSI LCD Panel - -Required properties: -- compatible: must be "feiyang,fy07024di26a30d" -- reg: DSI virtual channel used by that screen -- avdd-supply: analog regulator dc1 switch -- dvdd-supply: 3v3 digital regulator -- reset-gpios: a GPIO phandle for the reset pin - -Optional properties: -- backlight: phandle for the backlight control. - -panel@0 { - compatible = "feiyang,fy07024di26a30d"; - reg = <0>; - avdd-supply = <®_dc1sw>; - dvdd-supply = <®_dldo2>; - reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ - backlight = <&backlight>; -}; diff --git a/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml b/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml new file mode 100644 index 000000000000..95acf9e96f1c --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/feiyang,fy07024di26a30d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Feiyang FY07024DI26A30-D 7" MIPI-DSI LCD Panel + +maintainers: + - Jagan Teki + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: feiyang,fy07024di26a30d + + reg: + description: DSI virtual channel used by that screen + maxItems: 1 + + avdd-supply: + description: analog regulator dc1 switch + + dvdd-supply: + description: 3v3 digital regulator + + reset-gpios: true + + backlight: true + +required: + - compatible + - reg + - avdd-supply + - dvdd-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "feiyang,fy07024di26a30d"; + reg = <0>; + avdd-supply = <®_dc1sw>; + dvdd-supply = <®_dldo2>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ + backlight = <&backlight>; + }; + }; From patchwork Fri Apr 3 14:24:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1067 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 77DE23F1FE for ; Fri, 3 Apr 2020 16:25:09 +0200 (CEST) Received: by mail-io1-f72.google.com with SMTP id n15sf6135237iog.8 for ; Fri, 03 Apr 2020 07:25:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585923908; cv=pass; d=google.com; s=arc-20160816; b=Q2wf9NSRI+dzXGCMHbjZCBQsFebnSl5bPZ9gfzVePwASXD0rsaXpREeb40cl1qaq/M bLmM+ycIINaMLOZcFAV6BAzmzDU1NmrvOOExGvqfMFe+SDIgDzzWTMNJi1XGpRjqyPQn 0O6P6PrvEcBuZy/LjgpF1mykH4H/HV5fiLTD05GPMvzSYsgV7FUZLh7boeXdo3CLQnPQ 1Hj2yIqMsWKC2gXI8aBO1S18qcD5yp0eH81bERUPNGLGosGu1SkLQ3iplM+xoEQrfNBW FI/qPw9npzzyEkSmjW2GrJrZa8aoOQnrc7m0TMzPMX+fh7daAgbyj8UNuw29w9sXGPDn AFdQ== 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:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:dkim-signature; bh=muOsyknzyBkd9QwAiOiQcayDKn9Y56x2RTgRUI0Dmng=; b=ZrS1iHCVP2GS5gSad/zQMk5F/WW4JCVVQ3lqVmPe35M8zCD2HQ4F13E80MzB3yO0O6 OYCVaO/3/C7Xu6io7WUtq8k6QCcBBPLHOwuq5J0tHakc8TQqHFQyPOintThYFGddYGsZ Q18Pr0hPiZeqMuldqfoejZGxfasaExWaVRM2zqCq8sBPDJhbKEhMs9QHB9uA2muCs6hl wY7Ok2rhgR/xbqNZlcaDWUbv0fKkI+LEF39wSx4WY7zVB4Z04okmFW4+Ic1OpNt9jli3 okXtckXjA/aQR7SWpXDCjaASF/7rcMn5HVoQ0/bznTKZOTGedeGSFYnqFchWMVmYK98F DitA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Euy1XSbh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=muOsyknzyBkd9QwAiOiQcayDKn9Y56x2RTgRUI0Dmng=; b=SQdHRrLkfvS7RFfBKaQJ3uD02mGTX3dr+8gFHgGftVxcflIGInHixNKzYI9I1N8+M4 HsADBSCp0WjiHhX2ChcG+m9G6i7ZgMsV5y7kzGUKWTy7TDBLq2CzVqxK1HF3WFkAM0K7 x/JJ+00QJLz4q2z6qqeIC6jEosYWID9GWNzUQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :in-reply-to:references: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=muOsyknzyBkd9QwAiOiQcayDKn9Y56x2RTgRUI0Dmng=; b=R7cqIoD5txUHJcaRtngKnD2C+RX8nBBVBjmu8z4ZL6da8DlNxCP7F13o4a4X8k1iGu 44TdSUfGxGD0FQWt9kNTS7QMq+2DCPVVtG181kxObh9Ptc3qzr/VAnKMPdQP6cmrZdP5 jTt4j0iCSLVL/Qr81fkNsaKgaaXRZbARVveoTkxPVFh0DzkjBImJP9nWgoCiS2CtAeIn BZSdqWLh97sIdg/sB88RhenINSy7TUJfjcQM1QD9GGE8S2aFxib9pEWf72JbXaFOxuKC 7oyHnFumo9dgOdWcKq6VUwf4hnroTEBG8DTeeQBjQJBAOl/xkUGAGsFXVYrOp7j/nGfF AhYg== X-Gm-Message-State: AGi0PuYRHGVRy9NXqFDvqT9Ic3NrqpMncGuhiKZgs2MqAt5SYDpyK67x jwZgm3qYgrKDq/8i1+VuUdwgYE5I X-Google-Smtp-Source: APiQypJvwCB3hiBPx+jkPxzMNu/ipk54zPqoR0qjPuwUwLGGarTXkDTOi/CmKtIK9+N3DMy8B/v0pg== X-Received: by 2002:a92:bb0e:: with SMTP id w14mr3598856ili.206.1585923907718; Fri, 03 Apr 2020 07:25:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a92:3d8d:: with SMTP id k13ls3654280ilf.5.gmail; Fri, 03 Apr 2020 07:25:07 -0700 (PDT) X-Received: by 2002:a92:8517:: with SMTP id f23mr9326550ilh.106.1585923907240; Fri, 03 Apr 2020 07:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585923907; cv=none; d=google.com; s=arc-20160816; b=LiUr1L+gRV/oujA1q1KEBNVMOHLqZ5R10PHi8ZfOXhvNqboZPmUELfw/qfK7kNrW2q GkCJ4Xs16qBV6Y13bdRXWZJe0vSEpHsPMR2utulD7Z4K+C19b3cbd+1fo7VtCjAUsidl yU5GOESS3gsRUxepIWK0DuJrGu7TwvEj8T+qPtYw+o/MqIXu4Xmi7lz2hnXjgLy1p1xM 0YSf6zBCjdf/AWZMzKZmfclEK2/XXstSS/jX0AOOkOqwlYeViMtmcDDaK91uQVE17hMZ rPNkl2773hnz4UcMX3bR3j5ZlpvAhI+QqGalePCOgQUtWtG7+dL8IjnVJibL8oN/bbo3 6ptw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+a7470YaM4juMtdG/mmWqx5LDt9fs/5Ezk3ziKgHNt8=; b=0xZHB0kIWrJaV0gvitN62EMxaAusiByGEfvOytPWn1Dp5aqDnZ7oyOXEJzlu3K02Ls XqrNryjADfFEwITwjs5TUDX/4kgMKgauoE6nF+PO7AOpelXdgbAfr6zoNnwZ37gIbtD2 Pp/ep9dGXrKTQhfELNJBUDDY1w+evQl0bsavmNa+Q5JRKOKs+VJhVD8Ql3Dy9dnToJ3R V9pqoIyOGnOsIxP4n8Iqa46be1Ar2o55Im9+g7gUbxkqDyInYcUx1ecYMUIdG86c7XhF +JPSjtAuXf4qS99kSZZevG4NtKe0nsXIAbeikufSjSxPC93poCUamIk3aXxKVsOlseDT GRlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Euy1XSbh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 124sor9272554ilc.19.2020.04.03.07.25.07 for (Google Transport Security); Fri, 03 Apr 2020 07:25:07 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:8f87:: with SMTP id z7mr7339466plo.342.1585923906818; Fri, 03 Apr 2020 07:25:06 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9cd7:b821:2c84:e325]) by smtp.gmail.com with ESMTPSA id g75sm5857060pje.37.2020.04.03.07.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 07:25:06 -0700 (PDT) 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 v3 2/3] dt-bindings: display: panel: Convert sitronix, st7701 to DT schema Date: Fri, 3 Apr 2020 19:54:52 +0530 Message-Id: <20200403142453.25307-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200403142453.25307-1-jagan@amarulasolutions.com> References: <20200403142453.25307-1-jagan@amarulasolutions.com> X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Euy1XSbh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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 sitronix,st7701 panel bindings to DT schema. Signed-off-by: Jagan Teki --- Changes for v3: - update the licence, used (GPL-2.0-only OR BSD-2-Clause) since I'm the author for old binding - use panel-common.yaml - mark true for common properties - use maxItems: 1 for reg - update example Changes for v2: - fix dt_binding_check .../display/panel/sitronix,st7701.txt | 30 -------- .../display/panel/sitronix,st7701.yaml | 69 +++++++++++++++++++ 2 files changed, 69 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt create mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt deleted file mode 100644 index ccd17597f1f6..000000000000 --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt +++ /dev/null @@ -1,30 +0,0 @@ -Sitronix ST7701 based LCD panels - -ST7701 designed for small and medium sizes of TFT LCD display, is -capable of supporting up to 480RGBX864 in resolution. It provides -several system interfaces like MIPI/RGB/SPI. - -Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has -inbuilt ST7701 chip. - -Required properties: -- compatible: must be "sitronix,st7701" and one of - * "techstar,ts8550b" -- reset-gpios: a GPIO phandle for the reset pin - -Required properties for techstar,ts8550b: -- reg: DSI virtual channel used by that screen -- VCC-supply: analog regulator for MIPI circuit -- IOVCC-supply: I/O system regulator - -Optional properties: -- backlight: phandle for the backlight control. - -panel@0 { - compatible = "techstar,ts8550b", "sitronix,st7701"; - reg = <0>; - VCC-supply = <®_dldo2>; - IOVCC-supply = <®_dldo2>; - reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ - backlight = <&backlight>; -}; diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml new file mode 100644 index 000000000000..6dff59fe4be1 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sitronix,st7701.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sitronix ST7701 based LCD panels + +maintainers: + - Jagan Teki + +description: | + ST7701 designed for small and medium sizes of TFT LCD display, is + capable of supporting up to 480RGBX864 in resolution. It provides + several system interfaces like MIPI/RGB/SPI. + + Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has + inbuilt ST7701 chip. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - techstar,ts8550b + - const: sitronix,st7701 + + reg: + description: DSI virtual channel used by that screen + maxItems: 1 + + VCC-supply: + description: analog regulator for MIPI circuit + + IOVCC-supply: + description: I/O system regulator + + reset-gpios: true + + backlight: true + +required: + - compatible + - reg + - VCC-supply + - IOVCC-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "techstar,ts8550b", "sitronix,st7701"; + reg = <0>; + VCC-supply = <®_dldo2>; + IOVCC-supply = <®_dldo2>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ + backlight = <&backlight>; + }; + }; From patchwork Fri Apr 3 14:24:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1068 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E0AB53F1FE for ; Fri, 3 Apr 2020 16:25:13 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id 71sf6112793pfu.1 for ; Fri, 03 Apr 2020 07:25:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585923912; cv=pass; d=google.com; s=arc-20160816; b=TYSxf6ZdYj0mOZKQg4cxTQw4/Z8todHHSMxMGW8Xa5FxRZaJpsUyovHRJiMjLwS/61 OKTWnlYFGacSS8Rdlrz6bAGIgd+5+DGLkkBlSBoFcQXAtXn0h+D1eBD5lIufUQDGDIdX HSuUbY+2p6xGk3ZjqSik3qIxOZxpbZI0uoK3SQdKTmYutelHXlcgs0OSYiAaOJuV80sC eoCfDFnm2quFS6k6AS/7ip+RastK48UZ2x4pLapgfqtSicsB1gqX2HTtE2caiAmCw801 IQ7EviTptXRK0vdsfsTYZcl1F/28dSv/6ilF8D3aZtEvf5X+mY2E5RWr0sXxAD9nH7Lz 0+QA== 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:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:dkim-signature; bh=VWbdntOYPY0EsCKO2aPd/79HQfWLueZ01hmitGtfZfI=; b=abJehOZKXs3y0EZtkQdWhyWuw0YsCdh7DBC2Jbllp1IBGe+xJJL3S/xNcEPn7ZCt2i x44fVHZ+eA5zfBuB3ikgbUY/EjuzoYA1iH5n92Rp6P3MIBw+frrSKG8FRgn5aAqECVZy JNrE/CfGZpWLCRoLYyZk7C+aBZZHqfx992XwSJwkmqAxKFSZ9Jvn5vAxXgdToVL412Lz 7eJIoNeQAEfj16Whaoza1mSIefLxnqi++ztbeQQm/BvucjvO47UTD0VlUNmDH6sAl2Jk TuhtM+BGZCvGgr5e0dok35NHqVCc3fEOD4ZLjrIoY9DDfaKzJ4nFCNnENQwLIU9fNDMS s0Ew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Dl8MYxOF; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=VWbdntOYPY0EsCKO2aPd/79HQfWLueZ01hmitGtfZfI=; b=pKtc8jpVB+WXGZVyv8SHhxsP4DAgd5/aYg5YiuFHKYYZEdFSZpUc+JOJhjjmMMau39 NL4NiOJiKvHGwG5ndUMXsi941G13MzzJGWiXEzgxxGNAn2h/NZEKQGC7byw2ixWApWKe w0Xzsb6E/+WnGmUzPlh5qGIPaNZnQRUI6eif4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :in-reply-to:references: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=VWbdntOYPY0EsCKO2aPd/79HQfWLueZ01hmitGtfZfI=; b=H/31BqZ98oOjWoKpJSsDntMfeCduREsYbzLGNjXQGVJy3uLfwTiNmgTKoewmEcQP3V IAvqeg9sIL27LNywg+jR1qHX6I31jvgt8RvP8OPL6Ib1wBnUfj7o5xjeZCowiDR/96Je VxHKpeBRRI0bx/+qs1Vf3SWNebYgRtm1YHMjdbD1rI0aP19lrTa790eVEwqmUQ4cahG0 NzPcmXMRc+lQcUqp7MIFMSq6N0o4HeOL/6L+RTlb70k9r73NxlGcQEQ54UaPapbpLgtV 0qj6H+7YoMWjVBbVRR7lkyoMA10yYZNzNDQEUK5YPSxd5WNIe8th5p6iBZTDP76fuWmS zsMw== X-Gm-Message-State: AGi0Pua6o81fUP+KSjVNFiCpfHzHSMhBVH9gYlk2e9I6Irx+OkZFxV63 k2mJEm/H2ptAi11JqfG4+amj0zIJ X-Google-Smtp-Source: APiQypKw1gAwEHU31g109Li+BU47HYlCSg12mlfqnBqg2PdvvmAuqxeVNOS0XniU0I6UZ7LvsYBnRA== X-Received: by 2002:a17:90a:bf16:: with SMTP id c22mr9779868pjs.98.1585923911582; Fri, 03 Apr 2020 07:25:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:98de:: with SMTP id e30ls5164852pfm.0.gmail; Fri, 03 Apr 2020 07:25:11 -0700 (PDT) X-Received: by 2002:aa7:9f03:: with SMTP id g3mr9020798pfr.287.1585923911017; Fri, 03 Apr 2020 07:25:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585923911; cv=none; d=google.com; s=arc-20160816; b=0vtqrKpfsvSQ0BfZnq1gZfy5SupKH/IfTzOXJRbLCYj8Czk0L4MnDbMuRBXohgWZtn 37fwpRacSfbn5Plht0v75j8C8DZVbyK2F98iPhuU9c767H4vmA3PkRWKKhROQv6Bbt3J RpV6Xn+d6cONNUdwi2QK5fYohUegzZq9TPsksuJynWawGZRMoeSPmkD+xBt68utrV9sR zW3LIFoqRN6e0jMoIBmLLRlFP5rZyY95I3z/9JF77LPwd9j+GmWCgBY5atcl8LCjM6Bw wbb4YupKwWD934ovxqgxMiFbdlx+tdZVWU5fTPzeSvDqU1bN4enZrAbepTqXZ64q0aYP p2gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xxGGn51zri+SmBzw6OefhHFXr2bA0wMiqg3raFhJWNk=; b=IR741xWSAQNOveKLfALu21+26blCTNhmE1LrG+Uyt9OSJt81YaPnrHTPfmLA7ZDpQb 19LVEL/DgjInwQVhAhA4gWeBZCl57YqqToJDcfTU3lza6blRSg5wOAcNVGOyBUGOdgWY 7mIk1MNZ8Gvc8JDD6aPeLs2fMG+RoyIItFPJxoSFFek9cEKRTo4G0B+sy3QlClWsVcfw 0ZwEiLnKhSuoeRzjvB3/8/sVYZIpOms+wtuj0OPFRkKG0beTOIap4Lj64ENDA9R8Fujg c9TdCywPEp3fjraWBM/gmQumjmQxIjjJYT3pmpu5P/4easSdX6hcSZMz9uNw5yzHMTS7 qQwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Dl8MYxOF; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id nm3sor11601950pjb.32.2020.04.03.07.25.10 for (Google Transport Security); Fri, 03 Apr 2020 07:25:11 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:33c1:: with SMTP id n59mr9737670pjb.4.1585923910684; Fri, 03 Apr 2020 07:25:10 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9cd7:b821:2c84:e325]) by smtp.gmail.com with ESMTPSA id g75sm5857060pje.37.2020.04.03.07.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 07:25:09 -0700 (PDT) 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 v3 3/3] MAINTAINERS: Update feiyang, st7701 panel bindings converted as YAML Date: Fri, 3 Apr 2020 19:54:53 +0530 Message-Id: <20200403142453.25307-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200403142453.25307-1-jagan@amarulasolutions.com> References: <20200403142453.25307-1-jagan@amarulasolutions.com> X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Dl8MYxOF; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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: , The feiyang,fy07024di26a30d.txt and sitronix,st7701.txt has been converted to YAML schemas, update MAINTAINERS to match them again. Signed-off-by: Jagan Teki --- Changes for v3: - none MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6ba8b584bf95..b987f2588e6a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5273,7 +5273,7 @@ DRM DRIVER FOR FEIYANG FY07024DI26A30-D MIPI-DSI LCD PANELS M: Jagan Teki S: Maintained F: drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c -F: Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt +F: Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml DRM DRIVER FOR GRAIN MEDIA GM12U320 PROJECTORS M: Hans de Goede @@ -5416,7 +5416,7 @@ DRM DRIVER FOR SITRONIX ST7701 PANELS M: Jagan Teki S: Maintained F: drivers/gpu/drm/panel/panel-sitronix-st7701.c -F: Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt +F: Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml DRM DRIVER FOR SITRONIX ST7586 PANELS M: David Lechner