From patchwork Wed Jan 1 11:24:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 996 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3DBB93F0CC for ; Wed, 1 Jan 2020 12:25:17 +0100 (CET) Received: by mail-pg1-f200.google.com with SMTP id d9sf23698085pgd.10 for ; Wed, 01 Jan 2020 03:25:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577877915; cv=pass; d=google.com; s=arc-20160816; b=aXdv+LAhV/vfCgV40rklJEWrktGTQVsa88PtevrGHitqlGTszJ9o5PafQdJq0qgVVX tKZNlQT2FsrPUeM7RTudwPrfShamYKOdkswXnsSM7yeS1MbMD1bzh8ix06gQmmU5Jgtp 889lkuH4mzquja1wyXQs1TiHYZFWEKGpXmewI3wb5WDdjieYrnxwcS3uSqneSVBxIs48 fejDDjNtqXBNkLsjk6yCZsgqMO6w+Ns9WdbjtbowcHCjIoEfu6n+0E7YzSHMT/1A7Lec VC89pMUzDI+jJkHWL4Y2P/gF9r7v2aIegVPkYcyF56fc7CrYdrxtYTlnjNRZswxK33QH Eexw== 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=QWutrIzuzrPuebtQxu2IDAMQwFHvIt3N/nM7Iz834VM=; b=hG4JN+kHACUzg03Tw5OvFtCAwJHCBZMiUqZhFI+fkYBt4DRs9Rb97EC8wwUxtJL79r WHTXmTbhkB0BMSa5egcdR3OO1Wp4cZsr6x+xgZmaA5kswtQ8QYJaVGY11TYkAomeL/zR UiArkQtHpscm8x/iJbcXOQdaGTws5UxYXtoihbSMJctxir87DBzdOtChBs1wRZgqozw2 w+h1xw/UaOeOsJV0zHbCV9TYc1D2F5rHIHW/Q6EO7oGZiVwO+18/5lV+FpfjtTvAqwa0 H//hwp3dYEQZ3yU9IgRXhyK45hOixt8znwbpc+ZjkiNLwixHpqAGfUZW8By/QxOaCodw JhvA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HTjKXFD2; 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=QWutrIzuzrPuebtQxu2IDAMQwFHvIt3N/nM7Iz834VM=; b=hPXMRVbvOTv93HlejK4RPoQZ36swrL7Bj8eNqJWZ+sPRZOpXTRjdzcIlTismeY3mI0 zBzOAhCVp42DF0tF9UBuqp2ChnEfk2pyV5/Tiwwo/taFo4fZbAj0AHwqtvb2Kp9AsmyU Unn/LurN8h+g8b9QKV+UEBfjXgDD8dHqvoCjY= 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=QWutrIzuzrPuebtQxu2IDAMQwFHvIt3N/nM7Iz834VM=; b=fqf3/6b9rpulUs4ysIVB+3IUaxyvPNJVlmj5UifGQqAuBz9gRKb+NeXNpGGuva3fq4 BoDP01IoqbLhqrwyPeaTiChL8G2F5J0VHMSFjl90/2Lky0oo2fzasuJvcZr/v4OFYDKS WxTPBkXg43ZV2U6yL3oKQggwsyOcUbPFUXW3SUTb2giHR9uT4TOGUxYiXOmNdga6Ni4Y /fiO07Ow8dkCaUjJy8xTkuM3WhQy9zcp1P6RTxCZfjA9wbCqLNWpJEOtBRXQql89CD9W WuC0bwS1k49BDKRrED5xlXiSpV/Gj7ja7jF2D76X4lpRljsvDAbjl6nroKUzKidNClWY WmGQ== X-Gm-Message-State: APjAAAWEs4ao0uXfB7eFwr/+zdEnrZWuBMQzLHPopNdSNmaUKxqa1i6H uUNCMe9nIYannSqgW8+85LEU1Zui X-Google-Smtp-Source: APXvYqyViFOUSpI1TO8qdx8oHIE8Qy95b0pqH7nWNcH0cMHyyFC+RUodIee0VQ6tXaB/eO0iGv88IA== X-Received: by 2002:a63:213:: with SMTP id 19mr85066994pgc.160.1577877915288; Wed, 01 Jan 2020 03:25:15 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:8214:: with SMTP id x20ls8298988pln.15.gmail; Wed, 01 Jan 2020 03:25:15 -0800 (PST) X-Received: by 2002:a17:902:9048:: with SMTP id w8mr78280743plz.294.1577877914734; Wed, 01 Jan 2020 03:25:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577877914; cv=none; d=google.com; s=arc-20160816; b=tt0FLO4/bSIktb1aVDVDnq0g0HYhN8YC7zEFg+vLslxAcmtNnXh9uVkv/dExo1ikQ2 H9Jo9qvUNQDiOBevALFnD9opNwkypjbyYY4cacfH/dfgeDy/uXIkYkg+twZpy0TNHevt avMUw3/SXMACAUh1pUjYVUDD6O4VD2ZXrv3PgEP766rf11TdUZs7uGYlDhJWPKjfUic0 QdksIOUhEGfHCqV6s0L2FCkq0E74jCMFxUad7OftgAz7TZ9iByC0yqsDh4xzNE/oyc2U z+wNKdrdSZqo9yofDOEakmQh8sibxXmnf8qiddt2yDxB4/ycHDxC/e9pwTBT1x4TIgsK cscg== 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=oLDdytR8wc6Ae6UhyD4XL/UtDzruDft8+5Buo/1+G1g=; b=tbDue8aenbvCpHmR2sEY/9CyhjMaK2qdA/GI9REPDCuKf3B3XPWCv+p+hmJZr92VME FO1tsbhAlaS7jwAPnKPwT4cq2DLZYZDkmUlTuE2mVHSkAokPDPDwhjF6nh1Uy2QvknxO e1irv763uuXRQZkrhVvJV5MsnC7eufbWghpwJ3XgltYFDloTqntwwHfF1qnvIH/LwcpR So2DBJ0zy4RSXFFzPQQNItxarrskgz6TolMe+Ze9UvQscPf9Zan/Ewbeu3OHI8GdC5mR 621D/THAoDiRM5h9sfCEEupD2QHSJLaP3M2qsb8ptVr0kaCP+2qbq+GGYRbijXHHg4aF Gq8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HTjKXFD2; 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 j8sor6108530pjz.11.2020.01.01.03.25.14 for (Google Transport Security); Wed, 01 Jan 2020 03:25:14 -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:a17:90a:a416:: with SMTP id y22mr13466959pjp.114.1577877914440; Wed, 01 Jan 2020 03:25:14 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 03:25:14 -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 1/6] dt-bindings: display: panel: Convert feiyang, fy07024di26a30d to DT schema Date: Wed, 1 Jan 2020 16:54:39 +0530 Message-Id: <20200101112444.16250-2-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=HTjKXFD2; 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 feiyang,fy07024di26a30d panel bindings to DT schema. Signed-off-by: Jagan Teki --- .../display/panel/feiyang,fy07024di26a30d.txt | 20 -------- .../panel/feiyang,fy07024di26a30d.yaml | 50 +++++++++++++++++++ 2 files changed, 50 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..16e2fedda49e --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0+ OR X11) +%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 + +properties: + compatible: + const: feiyang,fy07024di26a30d + + reg: + description: DSI virtual channel used by that screen + + avdd-supply: + description: analog regulator dc1 switch + + dvdd-supply: + description: 3v3 digital regulator + + reset-gpios: + description: a GPIO phandle for the reset pin + + backlight: + description: Backlight used by the panel + $ref: "/schemas/types.yaml#/definitions/phandle" + +required: + - compatible + - reg + - avdd-supply + - dvdd-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + 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>; + };