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>; + }; From patchwork Wed Jan 1 11:24:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 997 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 47BA13F0CC for ; Wed, 1 Jan 2020 12:25:20 +0100 (CET) Received: by mail-pf1-f200.google.com with SMTP id l17sf16485020pff.5 for ; Wed, 01 Jan 2020 03:25:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577877918; cv=pass; d=google.com; s=arc-20160816; b=UBSyogXCJkQ3CrBXfc/M1sHUOlFgzibGEqgXZpEsf9xTlFol2FcVUKVHTOl3x21JOs jnOtq3CzIiQVWPFDld28XEegNiw8B9bE1BOVsKztw6Gcn+EsgoF1OKVuYRDjiJkjhp0x mum2Ha2my7io1pVExLtVUqXyzCVLQ+sUasTnB/CgEaLTGe4sYvYnoZuiQub1FEvOazU1 /8L+WUHwDHIhd+KYh3KQgwJCSwMadojhtsr3Z/ZVel7fV5MWUeSQiu0OBXmjE3+77afd a+5Zb3iLyEU6byWumPRQLcdbLCrXQXhLQwNwtESYEH8kMKgrMFNBWoGNDgyY/Ydi3o2Z gMWg== 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=4E+5cJD6Qg98UhBQZVpN1RinWgrWsOgnr9t9KCeCtpE=; b=y0XreVisfq5tGSYTST3O/kvJRNhOoBUhr3lXOCNNwfsJL3oXtyUsUdCvwNLHkFMrV6 44rb2/cmB31fezjHTo30PCPlwWhJQp/YnQZRZ+3IftVzMSZE1G90SHVPDGxynrQ/BeW0 asHLRfKE48YE0bTXfwF9e94bIR4hoN362BJjqlFSuCj90vADdeHG6Pjr0dEH2cmcuqpn lYcV3QWstk0XH8CFrkcacBGQYDydpevd65hCWzLt/ibNf7jQbfuqcahFe9VOsrsRChkV KjEGyrdTaeQfCfyHo5dW7Nq63ddxqF9o/qZrQ0N/w4appzMHhCZw/b/SsDl4uICfQTOG g8iw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IXadCyul; 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=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=4E+5cJD6Qg98UhBQZVpN1RinWgrWsOgnr9t9KCeCtpE=; b=feHYj2JeMF1bHcuUKdYmGaqhfa1mHyEpEtDEkrdySE8T30eZ1ZxeZ6mSFIDOEVawsm tfQsDsuYYFrWw7DVt3Pn8TyAdbQS4LjSN/o1CeX37irECQ0890gZ8qqFl6AzAFNC4KMn HypMCeuJIHX62muXVQJZsU8VdJOSsS9dKLfdE= 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=4E+5cJD6Qg98UhBQZVpN1RinWgrWsOgnr9t9KCeCtpE=; b=MtIhNZRIZFtQPhMoYEnuAz82TRDpZ5W5zS5DEzezln2OP58oPeMJ5ZtvH/ZHwbPVxU udzzfo0IyJv/kAkMw0nVQPwwxqoDYJNRUGNHJO7ykoiuJubjphJ2+wrfgpfitYHRv4lW G6wgx7hyhDfowjTbF/CbciVvx6aCF9dJYH6kwRuZ90nGoNfuEwZhx+PFbB+r5flzoK5k jTJpSA2yo8a+jK+B3ymdc4+fqN6AbMKUSj/OP4fxcA9OxHGVYY9bAmIGpRP5CBslt53P Ec2XSgrWVW+ZLooAlV5EKCcOC+b+4hrYW5nOLuRZoXDQ1Cei4Bbgz9uM6Htwt0FsEuEO HYBg== X-Gm-Message-State: APjAAAUqeFXkW5ZwWj3ibEb4STIZezmvcjEEuznW8jsPm5kKXxvPrIVi +fIvIhAfehhUBPmXaO5OnL3SRAG5 X-Google-Smtp-Source: APXvYqxmE6ZNm2en8yZtIrYezPwabO+H8TFx6AW4cZl4uJKRHoo9/yWidSJQ7qEQeJXvMMrAGV6ImQ== X-Received: by 2002:a17:902:8603:: with SMTP id f3mr80542939plo.198.1577877918701; Wed, 01 Jan 2020 03:25:18 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:28f:: with SMTP id az15ls2099063pjb.3.gmail; Wed, 01 Jan 2020 03:25:18 -0800 (PST) X-Received: by 2002:a17:90a:ac02:: with SMTP id o2mr13347910pjq.93.1577877918240; Wed, 01 Jan 2020 03:25:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577877918; cv=none; d=google.com; s=arc-20160816; b=1GJh5ARaGMn174Ce0IlMYI40mwJ4cXY2I0o9LedY5EQHstTIruiJ8RIL/jJByQw4v3 czum64VnuZDFLpKpiwe5dekcfZMSvpXqLFO9bVfr/ab5WtkldYXXzC20/AwjfTVPvuEu N/HJgd3LReyYzufCAOj27IAsHkLutmqMVpt3ogoE0iEZgm4lED3Yi/lHrUxHo4OvBVip AfACNNS9hAeXTjipDIkDESe8jByBf25EkwSX13YUMez6m6zBQ8y2WQfBkCEjeS9gv3AG 2HuMbwEmiRq1pZbS5f71+j2nSgysgfz9F3j8afjNmDThaEQOCfNhbA395mEbYB7/wFVS A47Q== 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=xyLN4iY9zmJMkQfktKnQpRiD7IFHvGjo95ULoKZuL/c=; b=F5FQYk2A2eVJjAJrpK2+S2w12fr9liJI6a6Nc29FqxGvfsGhG/uU/nSs+mvk+TDw68 F6YL1cYI88Gjbz5Ti2NI48AFXQqG6pkbTTf1M/qRw1sySGfqshuF5o3C5IKB2q0Udlzo ONvnmOEEfEYqTgfLL54pJJjAsMqBsDTxcJ9zAgR/vFmJbyKtOBeYX3Fq77xudcQbqwK6 iFS1Mw2ZxHCTL5kUvmdc6e2idCrYTQGJyztvN1CyOCc0FtqF41+RUA46jPOO+C5xgQar mYFKzy0H0PUQjeB4kvQDs18eKBEgV19wfapJLadrnF32mio/Hnr/uY3pu956FqH5Ylkg cdaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IXadCyul; 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 5sor52280228pfb.67.2020.01.01.03.25.18 for (Google Transport Security); Wed, 01 Jan 2020 03:25:18 -0800 (PST) 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:a62:3343:: with SMTP id z64mr80281149pfz.150.1577877917923; Wed, 01 Jan 2020 03:25:17 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 03:25:17 -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 2/6] dt-bindings: display: panel: Convert sitronix, st7701 to DT schema Date: Wed, 1 Jan 2020 16:54:40 +0530 Message-Id: <20200101112444.16250-3-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=IXadCyul; 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 --- .../display/panel/sitronix,st7701.txt | 30 --------- .../display/panel/sitronix,st7701.yaml | 61 +++++++++++++++++++ 2 files changed, 61 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..49e4b54ecf7c --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0+ OR X11) +%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. + +properties: + compatible: + oneOf: + - const: sitronix,st7701 + - items: + - const: techstar,ts8550b + + reg: + description: DSI virtual channel used by that screen + + VCC-supply: + description: analog regulator for MIPI circuit + + IOVCC-supply: + description: I/O system 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 + - VCC-supply + - IOVCC-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + 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 Wed Jan 1 11:24:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 998 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 6CCE83F0CC for ; Wed, 1 Jan 2020 12:25:23 +0100 (CET) Received: by mail-pf1-f199.google.com with SMTP id x199sf27709364pfc.10 for ; Wed, 01 Jan 2020 03:25:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577877922; cv=pass; d=google.com; s=arc-20160816; b=F9hopG2pyDl7kSirJeD9/LXEZRc+QQnAFdEfVEJcX5xg7JhjKBEVtepYn9pvvvMPNe rdzIlOeIoO22OyQWY6+I0A7K8qFGJFqpyuZwJTd7yLAXFH1dJArddwdSYuJRjtiQYzYC +uKk11eDbYlorZh0On1UeIjECBV0Pq1YS4VSzyQWQGjSIpGkZX1YCIeEYLeqyNBgI154 Ib2LZ0FKn0N/69y8PZVb+GzR76Ko+YtQd+UQlaUSN5t+N4nJuQw/ifaJXLauKz082Tk0 fS60WszPZQbhE13ZjT0+ux658mVE64+wHbblr2NN8MZ8z4xAip1QRlkCeknt11ykKS08 ROOg== 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=xk5Mc2vJDXkdoMYQS9yjeHBTLtd6nvTTfRf9gIMxNkw=; b=O8VR1r2hn6qP/UYR9M/Z0bXIVJE8qsTA5Jn5Hf8TLC70paVUJmMm0JWbQwqLoroxq+ laH6LVr467Og371N/KWvW2kvdp15JhmKjFogPSuSWlndHxKE23HjpySV1RoWZ/vfBHgT XwcVVFcMkslPxiKtm6mBle6AfurcXUcg0kG1BROHn6DLJDlbxxa6zOPr/lgXD51+ujTt JIY+izfiTv4TM7Zo+pjQG4YjZsv9xykSzqjQPg95nN5ghLaSH7qW+t0MnKQivn0EuXhX qKEJnX0xCoJyw/QxENmAR/OIGSminBOIt83L0cnwA37UF2l9mPqUH0WOgpI/vnQxQhdr QnsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bRoDYVtQ; 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=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=xk5Mc2vJDXkdoMYQS9yjeHBTLtd6nvTTfRf9gIMxNkw=; b=KW/LeUmycgaMgPxe0O2qkXCGGaBam7z8eaLXXYWyCWvqr6xlkp0uYLnWIH8Ha0+VVp v1/d/K8bSGpZKg7ZM7FNie8C7VU6mL+/aGaoah2V2Ep03s3kByVbDue/Nj4p6szGiiQE WEAROiYbYYUkIrxExQxkv7LP6/7CE0oy4B+XE= 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=xk5Mc2vJDXkdoMYQS9yjeHBTLtd6nvTTfRf9gIMxNkw=; b=Rhuv8pEyt66r8XfPb0P3UR9teVIISTVqn+S8IQrRP0lwtQXxRx02wew+GU/yly4HZy vXrA6PZLcIEAgOVAQz+S/8URH3KDlORTom2ZoWZzR4r2ibvvI9eHfy1kqcpGXEnamCEs eEailRpe4OMA0rIhO+/f2d0GLETDhsKbeZx61BXtxd+Fk4ZhLZ58e4g7i9hPZq/MhrzU PWyQuZyCPuZ89bM8Pyh5USWj7HCC4NliGOwUoUAd0XtHiw+5gXTXI9QFeSn4arOxiCu9 QhFVxfykjgtXs2xvVbTkQNma1MMqXCXAD1gWZC/whPa6/gm62vjCGOtozV+ny9Rb/W9+ 7bZg== X-Gm-Message-State: APjAAAX9udf21WIfLRCJb/47qu1bXsBUFm29VbtXPDpo+jnSWTr+Tsv0 3CB2M9X/zftUfyRQp+BCsLc0uAPu X-Google-Smtp-Source: APXvYqzVdB2V+a1TwdiDtgb1wfO2hBgvYs5x8LRGbsYYBJZRoCmd4Cl4PCoZ0xaDj2oWFSsxYESd1Q== X-Received: by 2002:a17:90a:8a8f:: with SMTP id x15mr13475063pjn.87.1577877922256; Wed, 01 Jan 2020 03:25:22 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b491:: with SMTP id y17ls10757440plr.16.gmail; Wed, 01 Jan 2020 03:25:21 -0800 (PST) X-Received: by 2002:a17:902:8a8d:: with SMTP id p13mr75663397plo.296.1577877921733; Wed, 01 Jan 2020 03:25:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577877921; cv=none; d=google.com; s=arc-20160816; b=BNOk9fx8NFHvNOK9FNahsf6mC5lval4siXEu2xNrqgfsUyz4GwRcpxj9qW9/r+glLV JKIf18I5ZSnwfJ4naecXR2pAY8KjmKgcoT+zfU4KXbwQELt0DUWIh9hFUXY+ekXd12mE xNFOEHkXbAsHM/9sOUuTVG7R+0gUcHThpKVTLxeCybbh14NBjcS68tIgU6OVoZxpoQwh sp0D/VU+BJ3bg0At7lm3SmZYDIUwdFZBV7w1xz2t3FTZAMZWcDMirRHsWoKOIxacZSzi /w7dkIO5cWbb//vPRn/i7dm4mrh4bASTdcZ/3YcLQvHxquf6Y+iUw31V8bjLIZFzTR1Q +OMQ== 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=kGyS2va2MM5LlItUz13S22TtfwiSSFhRb47vRs7rcSA=; b=oaU6i3expCrbXMeaYTbDL4pP0/zwJaaAJRRG8KDc5esvCBPDOozvyCdhHpYKxDg3cn BSJVIhCoPShxmZ4vuJxyOMSedAA4FJGOzaLYplfrqua4JbyQac6YCsbneY2ylnT7ecrw 62GLraTyEVkEc1ORpmG3XxL9ALOUi1LB019AGmpocm/vo47uVRiT2qlRQM/SfHY9sbyS OotY5pWsKAS9njtwNp5N6NSNzutEIYFYK6XCvSexNc2cI7rAGI/qglEGkbm0BzhKJn5Q 83udnG/aeUjwl4VenopwvGnLIWas7YVy2n+1avE9DomjBQwmAsW8QIlxVh1iNbGQNXtz XyVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bRoDYVtQ; 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 q14sor52237830pls.63.2020.01.01.03.25.21 for (Google Transport Security); Wed, 01 Jan 2020 03:25:21 -0800 (PST) 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:6b8a:: with SMTP id p10mr64853544plk.47.1577877921397; Wed, 01 Jan 2020 03:25:21 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 03:25:20 -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 3/6] MAINTAINERS: Update feiyang, st7701 panel bindings converted as YAML Date: Wed, 1 Jan 2020 16:54:41 +0530 Message-Id: <20200101112444.16250-4-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=bRoDYVtQ; 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 --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8b2e6c68832d..4d6e4febd170 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5169,7 +5169,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 @@ -5298,7 +5298,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 From patchwork Wed Jan 1 11:24:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 999 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 157D43F0CC for ; Wed, 1 Jan 2020 12:25:27 +0100 (CET) Received: by mail-pg1-f199.google.com with SMTP id l15sf9562863pgk.14 for ; Wed, 01 Jan 2020 03:25:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577877926; cv=pass; d=google.com; s=arc-20160816; b=foANPi+DYTuFDHzmC802eEmcux7WMi1X9vN8wAi1CebmFYSVBCUiVR7G2DsEaXiyCq llCP72t9fj+P/6rfwvdVW3mranrCK9XRYmnv4Ym8ht4MqFNP478QwiBBjuJyPi0WRGkF qHqInlMYjPvYT7e7hpcsIC71Wxp8I1ALl7cbi6pNWhS97ogHM3CqUmaNrlxxH+luwACC mZ5eN2dbwk29lzvyUVsEgPhkIJTzS1lP/rZ4DHxtp0tTYO78vbQk5Sw5i3gq2atCOj0X ZNCX7xDbna7thwT5De0rHyVM4QyHmFaXskpXFLmT+mBlQ5BguIQhQLUHHB1yLGGxzqVq APlw== 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=dsUjCR1ZfGujlmfXwSSpiopYU9S3dpdrgvcmcIa4lzs=; b=KZp9M1FBFbMeqzAm4AcHhxfBTr8Sdb+UKIcd4vXqhuGtmtUqa5WDsprRnhQ8JlSl9P 6ZbDb8AjfmQKOg/bzFz3mABd545dF6WLZYnDSyXO9VfxxoKEd4LKP6kS4ncAuGHJcSAq 7bx/ckvcJcLTijD/jYoop0v1gfWUaW726qiMMfvT4Tbe1QcLF0v7Mofi3gg38sbfV3Od H58oKZmomVoxYXywceRYztwxmPRXJIjIJSe2GZuDMTEayuq3u7kRkLolApL1xA31EmRp pRK5Dj1CcpjG5agcXXyibAJL453qdEYa0H21buVRrrBODq2qj1sUPM5ngsagPjTpnl9Y HR6g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=e76aESV8; 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=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=dsUjCR1ZfGujlmfXwSSpiopYU9S3dpdrgvcmcIa4lzs=; b=IGagB6I2CtiZ0OsDD0oVs65T3m0J2haT7lGl4bT8FhyobJzuY3SV1cGXIpnIiEqAkj /39C4ntfdsU6UmrlRZEXqiSTqk661FUJfNCaX1E71ecdLIrbs8XvaQzsdZ7uPfRp/CTR YqSPyWJ/oN1JwHddtc1ZRwtvB3K2pHU707k4Q= 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=dsUjCR1ZfGujlmfXwSSpiopYU9S3dpdrgvcmcIa4lzs=; b=DO/h23mA6TW/xYj5MRJqFObxoHNGCNClNeF/wEcUEhW6kDN86cNhpGDn5gnVKvKTI+ I/5b7ViIxKkGq3FjxuyQqyOYcirEXuuWyoGyT1dEz+tomL986LvUuPPZYsPcviNIDupj qJcpvxsctEiFKJf6yJ3Ve/bo9P2hPwmm4cIYT5zYABaLFX2OCWuSQNWS/4mkZpARUF/b GAFgARfD6wrGrfVJ1GAg2/4TMX3kWXc2Ypgp9hvZ2LD23wxjivtBU4uzTi+AM8xHobIw n5DY/zcoM9FB+q3pnIuBo+IDq2B1SYijWTDVh8I7PnQCm1ot81ZOeokRZpDopdGcENse cHew== X-Gm-Message-State: APjAAAUCZQowBe0JJzu9YiUrZPLVxSl/BK3l2duUznlvfg8Br5o6RQ0J goTY0F2aApKek0drHjESD53e6o9T X-Google-Smtp-Source: APXvYqxVgMKzL6PRe8tQ0KFtCizTG7O6XOFP4mqxE3NdHKNpQsIdGLU6tHhb3747n8ZEQmYTcIDOvw== X-Received: by 2002:a63:1c1d:: with SMTP id c29mr84320057pgc.14.1577877925834; Wed, 01 Jan 2020 03:25:25 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:fe5:: with SMTP id 92ls2094790pjz.5.canary-gmail; Wed, 01 Jan 2020 03:25:25 -0800 (PST) X-Received: by 2002:a17:90a:d986:: with SMTP id d6mr13468969pjv.78.1577877925359; Wed, 01 Jan 2020 03:25:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577877925; cv=none; d=google.com; s=arc-20160816; b=ezH7Yq6uYnITuHgN+HR5V/JtnmzFNTw8asWtBw/+KYlpK9gJ4mXPqqNdHel7Ly0yZx ZSo6xmvdqjSLMuGxeFIo31NKfUcXrp37SqCb7Ls3aMeqNaiT3pfqcWZIs0CKlFlTbYaR t33uVtpxG4hmSW6CyaeedA53fgGxs719bejDuF828R6M76r4f5v+LazlWaIe/UWv6vZo i+kUS1JQxLD8KUIlWZjDMXyW5xiOmdX2LlEBzirsaftI5m33pCCUAIMqidxJ6zE/mVDk OuizT+b9av4NYOjnIYqKJWWQMwO16A5I3xXd486jbhkDRyQgEpwYyDMUwguqOIl5JoW8 BU2A== 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=aAzFwJEYuGgvW/P9IbRhSf+XnGQckgZrqUZat3QeX28=; b=Z79SxsbZzmuiIRh6StNLCggKOowumJ8wsMgFq4Xkwh+uhE8MIGfXDsrjjBON1ZBmM9 J7BFiCYNN5+Q+L74AQbhko65ZCRDbLPFAqG0audhSuyrdbL1NDyYEsyUXU4aP0a7dnPb NltnKF3wyCxaR2wkS4Jn/xrP2dCzzHjgW0uHH9ZCDxBJpGkQna4fi8NixFtjYWZt2/UM 4LWpf6tebZ+LyRVVz5Ztbj3kfzpE3LYQK+E3IfSvMFVK9DBf++K6DkqN8nFhthZA6dF8 SDkDJIII/dYYT0iMzmxqQp/7JWYmmlxNVLL2eJHJHBLaouUPO6nj6s+CNAvpvUlbpj6R aaSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=e76aESV8; 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 88sor52052170plf.37.2020.01.01.03.25.25 for (Google Transport Security); Wed, 01 Jan 2020 03:25:25 -0800 (PST) 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:d906:: with SMTP id c6mr35495504plz.137.1577877925003; Wed, 01 Jan 2020 03:25:25 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 03:25:24 -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 4/6] dt-bindings: display: panel: Convert friendlyarm, hd702e to DT schema Date: Wed, 1 Jan 2020 16:54:42 +0530 Message-Id: <20200101112444.16250-5-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=e76aESV8; 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 friendlyarm,hd702e panel bindings to DT schema. Signed-off-by: Jagan Teki --- .../display/panel/friendlyarm,hd702e.txt | 32 ------------- .../display/panel/friendlyarm,hd702e.yaml | 47 +++++++++++++++++++ 2 files changed, 47 insertions(+), 32 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt create mode 100644 Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml diff --git a/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt b/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt deleted file mode 100644 index 6c9156fc3478..000000000000 --- a/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt +++ /dev/null @@ -1,32 +0,0 @@ -FriendlyELEC HD702E 800x1280 LCD panel - -HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 -resolution. It has built in Goodix, GT9271 captive touchscreen -with backlight adjustable via PWM. - -Required properties: -- compatible: should be "friendlyarm,hd702e" -- power-supply: regulator to provide the supply voltage - -Optional properties: -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for LCD panel input. - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. - -Example: - - panel { - compatible ="friendlyarm,hd702e", "simple-panel"; - backlight = <&backlight>; - power-supply = <&vcc3v3_sys>; - - port { - panel_in_edp: endpoint { - remote-endpoint = <&edp_out_panel>; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml b/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml new file mode 100644 index 000000000000..0509c34d98b2 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0+ OR X11) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/friendlyarm,hd702e.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: FriendlyELEC HD702E 800x1280 LCD panel + +maintainers: + - Jagan Teki + - Thierry Reding + - Sam Ravnborg + +description: | + HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 + resolution. It has built in Goodix, GT9271 captive touchscreen + with backlight adjustable via PWM. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: friendlyarm,hd702e + + power-supply: + description: regulator to provide the supply voltage + +required: + - compatible + - power-supply + +additionalProperties: false + +examples: + - | + panel { + compatible ="friendlyarm,hd702e", "simple-panel"; + backlight = <&backlight>; + power-supply = <&vcc3v3_sys>; + + port { + panel_in_edp: endpoint { + remote-endpoint = <&edp_out_panel>; + }; + }; + }; From patchwork Wed Jan 1 11:24:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1000 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CE9543F0CC for ; Wed, 1 Jan 2020 12:25:30 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id 8sf26793177pfb.22 for ; Wed, 01 Jan 2020 03:25:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577877929; cv=pass; d=google.com; s=arc-20160816; b=wLnzQ1NexF2qYBzmmA7buxNuUPuPAT7ucgVatV8cWydrkN39tZOkQUCCnjb8K8hUD2 MLrOFRo/5n24g26mOQHT7gBd2nY1QVGSsqlOiATaKn9FyI8JbmbiqGNjW1Svo0PI5KHM WZ8CA+hHyt2rIUa6+Geme1xloz9H/5qP3LGBZY7dhFU0lwvEbKwpXGsCJ3Ipi59NjwmU wCeaOB09soU+DstWsJGpZoayAJKNn95sVX/ijBsbyrLQ624wKnpUs0gletpJmWW/IMgm LcNCXNOt07ScuDKewAs+6+RbAx5XTp4wzXHzq9FySRv8jE5L8fnDrjwMviCgXMqk9+xf F1fQ== 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=sSvqLmerB8GYZ4kURDBFR9pX77UiZZ7IlbvU1VOx/JQ=; b=RLV0jhCOdz+EJ3hMhZe4QaWYbqqL3NygnrFswcLNzeNNWo4Phb406lXccf5zV+hsAf vZMlKv3Uy1JftcQpx6mWvZ7idMcQByPjLcgFrO5Bz2nXL+iWrWADJ9noVTPBRnBHijnB X8bABO4Cy8+CQx5QSdqvqWgC2hhPCyS7Pmu1FvTH9Oloek0CMYD+E3U0eIi1LUYdheTB QMxqkWp57jUkp4n87ZbhohfTOjw3K5se8Mhad1PrvMgM7qJ6eAr0fYENQRkFdroX+CHr ojv1gSIsKIA+EZVAxl9lWn57E9eFgqfmiEbEOrluVf4xUXs8u0440cU2fWTTxXPaSK20 ONIA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=auDcUmhg; 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=sSvqLmerB8GYZ4kURDBFR9pX77UiZZ7IlbvU1VOx/JQ=; b=JkSvPaJJJIP9OE6H7+y30YjWsKDGdm1+3R+lBS192QvdqkIpoQslNJitYOwvSfR4Wh TtZ/cV+uB2BBRmsaN0mz+BDhBuwRRdk0C3lmrHzXeTWoAqbciTyDpzUTynnc8h/sWCKv 0mUpQ4YryvMLaWxchTqqaGC9tADryQh4cv/k0= 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=sSvqLmerB8GYZ4kURDBFR9pX77UiZZ7IlbvU1VOx/JQ=; b=Td6yltjm6po3BTKJNk20POE2P9LYiamxRY26BwD2MHLUa3HK84alSd5SgpqDm8wFi0 6Q1viLVIaf5z3kFMozet9kWTRGzeltjl+yoEjcUXZPH+tIg1WfoE7lPkfxJ0hQclMjjK d/jDd00NTP0Zxa8h7B209uVT7/MxScHydRM8oj2rMv+puQZ2SZxQDp0RisAQbz7Oibmn WYGjwB4WzNtC4XwWAY0HLGcIig8KygvBI1WkON3lW9g4txuLUKQCtTh0SYZCL+KN1RmM cS3EgH5ZURSMC9wryMMvU4eAeUNnY3mqaL9nistfqSFDRshb9ZtWc+j5i4DkduzdhU3j bHZg== X-Gm-Message-State: APjAAAWuyhfIidniIh5L61PlcsC1xDBTfwpJwlRFowih+TQP9C/Qx+NM jyp8Hqj2YXyxNTEPIeORbT2pycTk X-Google-Smtp-Source: APXvYqzKNVeYl/IcXYQfuaRifb1sif1CiX7x1uh/cVxqs+ohAj1HwZrb/2CjmEUCdHIcT39t1cQMow== X-Received: by 2002:a63:d848:: with SMTP id k8mr83684512pgj.114.1577877929535; Wed, 01 Jan 2020 03:25:29 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:aa97:: with SMTP id d23ls10759828plr.12.gmail; Wed, 01 Jan 2020 03:25:29 -0800 (PST) X-Received: by 2002:a17:902:aa48:: with SMTP id c8mr79063315plr.243.1577877928866; Wed, 01 Jan 2020 03:25:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577877928; cv=none; d=google.com; s=arc-20160816; b=X1xyRC2SJ5DMlEFOI82fvDQbrQzqyGCPcqzN+gh1Nn7v3AF8DldwkR0o4c1sbXNfhI E3/OHkTC7wtG+oWm1SwFZ4OqWQN+zpAuhuwFhJlKesiWTlRbi0EFNO9M5+ZJfioVyJTD qztb+mHB2kl7u7WqC1y7mVYHFjS9bQs8Cbc/DbFDQQqc1899k9GSE6envICs7qonoN3I FyfAJyq9bLE+uKKDMd1g3YWwk1sOwuEo+yl5noEQoey+8R+CDKmPvEkRg40oXkFbTlKR J2a5zRnT74UZHoIuSVutuzAgeSW+V1TvhSIZzefe6UctJx6Aa5zai28jPSuIj5tQCVd1 d/jg== 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=uOT/TkO2nnC7kJ3ZhTvZjXZpoEskkRgkFAB8b45lofE=; b=uTj23SZbQO4gT6pHTmO280jeoJGHE9muU+xkhZwKvPp7+K7Nv2bbOyc/+9ChI9euCI 3T+RtNMUHMyeDp4cgAs9vPGvu1AqOfg22nNq1MWjuE2yoYdNJvSAZhCYnZbhh+VBwkMc TmlIXDeH5DlvbQnk5CzS61aLzC46FlRtdITzQY+iNiFn5kjF/tk77U36Kzr0gmdWUrG4 4K1O2WNybnibXs4OTF7ZWvTRGTPXznDblhPiXReJ5/0z1yNQNEktyoZXwqm8AqwfjEMe xdz15RLgP3Mzec4yEwX/pKljAvmwG3IiliL+vj0WK3p+CZj1fMWACWEa8nU6acjmwpMn kkEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=auDcUmhg; 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 g11sor37076243plp.31.2020.01.01.03.25.28 for (Google Transport Security); Wed, 01 Jan 2020 03:25:28 -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:902:a5c2:: with SMTP id t2mr79230619plq.86.1577877928529; Wed, 01 Jan 2020 03:25:28 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 03:25:28 -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 5/6] dt-bindings: display: panel: Convert rocktech, rk070er9427 to DT schema Date: Wed, 1 Jan 2020 16:54:43 +0530 Message-Id: <20200101112444.16250-6-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=auDcUmhg; 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 rocktech,rk070er9427 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/rocktech,rk070er9427.txt | 25 ------------- .../display/panel/rocktech,rk070er9427.yaml | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt b/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt deleted file mode 100644 index eb1fb9f8d1f4..000000000000 --- a/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt +++ /dev/null @@ -1,25 +0,0 @@ -Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD 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 "rocktech,rk070er9427" - -Optional properties: -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for LCD panel input. - -Example: - panel { - compatible = "rocktech,rk070er9427"; - backlight = <&backlight_lcd>; - - port { - lcd_panel_in: endpoint { - remote-endpoint = <&lcd_display_out>; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml new file mode 100644 index 000000000000..ac5aebfa4adc --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0+ OR X11) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/rocktech,rk070er9427.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD panel + +maintainers: + - Jagan Teki + - Thierry Reding + - Sam Ravnborg + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: rocktech,rk070er9427 + +required: + - compatible + +additionalProperties: false + +examples: + - | + panel { + compatible = "rocktech,rk070er9427"; + backlight = <&backlight_lcd>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + }; 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>; + }; + }; + };