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: 11315065 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9A3BD109A for ; Wed, 1 Jan 2020 11:25:19 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 78B53206E6 for ; Wed, 1 Jan 2020 11:25:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="HTjKXFD2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 78B53206E6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C1E1A8997E; Wed, 1 Jan 2020 11:25:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by gabe.freedesktop.org (Postfix) with ESMTPS id D39738997E for ; Wed, 1 Jan 2020 11:25:14 +0000 (UTC) Received: by mail-pj1-x102c.google.com with SMTP id a6so2064847pjh.2 for ; Wed, 01 Jan 2020 03:25:14 -0800 (PST) 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:content-transfer-encoding; bh=oLDdytR8wc6Ae6UhyD4XL/UtDzruDft8+5Buo/1+G1g=; b=HTjKXFD2ObFDVX5Jlz2lDxOLFolVdTBrrmYKihRKTELokkjSSIDajoxN/LCdZ7wCE/ oVTZryPwBx4mZvzDRSm/SRHjh+y2Zc+Lg6sL8cI4aqUmwesX8JsaWSvpjAraVLCol3a7 AfEWc+et7+HMschH2BG605HEuByJ1Eh/f5oTA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oLDdytR8wc6Ae6UhyD4XL/UtDzruDft8+5Buo/1+G1g=; b=LJn8qVSSevLK63iPbEI19iHW1rmsfD/ELs+tWBnKlmPHAYyPbxookfR2RTAspI7LNI NhPwJpEK/a5VXLb1O6YU9Sb6YYI7I1MXSne9oBKibl1mtmHK0EErkGgKfsIe9NjVSFKn rOtl0U3djmzEvk/exIxom4fqgT/6aOGvc3uZrKcYnWwAnWiatJh66sd5l7LW/Ji4iPjf sScMKzWjWjAjcUsS0QPVgAKhAHY8I+au8VnPYEP0k50HKlBj3nMuozf/qQLmFmP0k2JG rtodnICUKAS7leSWaSM7fogTGUTAtmhqv9QVJkYLgug86i79hJqLvGWToMygLsz7BrIU Ab6Q== X-Gm-Message-State: APjAAAVafdhjwkDxvKgyvfQq0sDkUrC03WLpfi6JxgHEBADdCmXhf/Nv G/ffOE2tS3Dgtnma3yZOze+5lQ== X-Google-Smtp-Source: APXvYqwRRNH87p7HLp499Z4ZpvkbBeuJtz0SbzIsx9Vle+soZ+CiON+l1FlEeOZhAveLC1BXRRh6wg== 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 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 11315067 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F13B5138C for ; Wed, 1 Jan 2020 11:25:21 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC99121D7D for ; Wed, 1 Jan 2020 11:25:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="IXadCyul" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC99121D7D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CA7C08999A; Wed, 1 Jan 2020 11:25:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5280E8999A for ; Wed, 1 Jan 2020 11:25:18 +0000 (UTC) Received: by mail-pf1-x441.google.com with SMTP id 2so20699925pfg.12 for ; Wed, 01 Jan 2020 03:25:18 -0800 (PST) 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:content-transfer-encoding; bh=xyLN4iY9zmJMkQfktKnQpRiD7IFHvGjo95ULoKZuL/c=; b=IXadCyul++yY5mPG22iSFOMQRK+KL5L9ALKOUeFfEH4nm+B5LBFbNpcHQb3/HrwRg3 ZhVM3dPBunkPVLHx63K2jTaoz74vOIFPiBSyqo35wKbNw4jZSy51Nz9YgQcWRY0D54vv i+lN4Nxnt1ydsCzbq+6FROXZ/vibC0ATowOjo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xyLN4iY9zmJMkQfktKnQpRiD7IFHvGjo95ULoKZuL/c=; b=S6XMcbKMzKpJ6KieVwRYAHfdFKEQDa8/pomUzvMFmsk3bcEBQRFdEQW8a4QC1nkout 01qAh0ghPZncO+i5XozJUvUin6BRHQM79rLtNritaKXYEKOVR/ZhKeyWEwfH2qLDShR5 WAYnXdZxZyL3VUDFNVwIKQDikV8WvrLeFkYAYNduUxzuo7PnQfUUa9I6HcJ43IuF5jUK /ebQmBsYxQppCyTCiqfaqJhFvqOjxPYmc2Nn8z9sHtZMhDwbPt9KvzJYghKQj8zv2d88 dMhPyj/RRfXeEy9HZH9YZxJW89qikx5NhJnu2ZRjHfZ4x6/2BJkmV+QexWkA+XM7y3Pw 80EA== X-Gm-Message-State: APjAAAU3xvxnqjU/0xZbVX/35y0AcQjkiHy+xfXfHRwTDt5EMLUKm226 d8MOEY+SClPMlP09hAZXbh++Kg== X-Google-Smtp-Source: APXvYqzJsxHKB6CYiuv0K6eWz0RNBAElBtDwT3PR+UKjW90HgavORgR7YgQVx/CpMu50nzTTp1RO7g== 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 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 11315069 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 05FA2138C for ; Wed, 1 Jan 2020 11:25:24 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D89142085B for ; Wed, 1 Jan 2020 11:25:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="bRoDYVtQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D89142085B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A4F20899A3; Wed, 1 Jan 2020 11:25:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by gabe.freedesktop.org (Postfix) with ESMTPS id CEDB88999E for ; Wed, 1 Jan 2020 11:25:21 +0000 (UTC) Received: by mail-pl1-x642.google.com with SMTP id b22so16710096pls.12 for ; Wed, 01 Jan 2020 03:25:21 -0800 (PST) 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:content-transfer-encoding; bh=kGyS2va2MM5LlItUz13S22TtfwiSSFhRb47vRs7rcSA=; b=bRoDYVtQ1NYUFDceNj0TvN7AgLnYHCKEZc9F2ihByaESmLqX4XnrdAyOdO4dIcdRNd BPIkUn4kHcXhQ90ZIpwuCpprRMAd9REj4spU0ZHxdb7GuFfpFARUird/OWwD74k/7O9q 6R61h1eJJ/m91+hWicSXyQHEFX4LaY2hg7YyI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kGyS2va2MM5LlItUz13S22TtfwiSSFhRb47vRs7rcSA=; b=IFe7J5gOwQIhJey0Z1Ib8YLpaz7GJGmsrtyBIiuhDQEzlpLy8dJj6+tA/GEZQvZ2DE hc0eKHOquXL7u4VrIuBm7b9btzDfNHhGdf8VzlnpqljLN57HoaMfnAPkEEETzJ1xWTvF IEb0h0BPoVD7XgmprL+uSPp2PRGhQHgYV2qYZgoxeJFS9w8vER+S64ucqc+Lvtyz/cia gsbMS2MY8/8TGkMRIZpub3rhrUZhmlb5pTnI6br6NI3Q5IOzb/UNWwLm9dw+sTnBcBdP yHwpoQIl4dRqHjd24dhnIc9MFR0DzvzNChaBXN5KmJL0LBidRVTvyhLc1q3TWaxGicSa XZ3g== X-Gm-Message-State: APjAAAXg3/6frvSRqfY7a8ybSlsYchQ2hf3GZESVGYrmbXPkJdZrBgRg 1F4jEd95tWozooGvg3cy9u+6EA== X-Google-Smtp-Source: APXvYqx1w7BI3kSg5znfx18d2dqgKYCH7WWv2q9ctxYTFGBJxvjbzmixsUdL7wGN2fv0ZiGpf8bK6g== 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 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 11315071 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D92EF109A for ; Wed, 1 Jan 2020 11:25:26 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B7DC02073D for ; Wed, 1 Jan 2020 11:25:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="e76aESV8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7DC02073D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1823F899BB; Wed, 1 Jan 2020 11:25:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7B8EB899BB for ; Wed, 1 Jan 2020 11:25:25 +0000 (UTC) Received: by mail-pl1-x643.google.com with SMTP id c23so16720723plz.4 for ; Wed, 01 Jan 2020 03:25:25 -0800 (PST) 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:content-transfer-encoding; bh=aAzFwJEYuGgvW/P9IbRhSf+XnGQckgZrqUZat3QeX28=; b=e76aESV8OxAQ+1VReIRY8qExAktiTMGpxkgpQS4hc8yEWCX2XUpVgRMyQ0P+3VhGxx cG+Dvzo+9tQIGq5JLT76qntE2V5+hVAB99vO8Cz1zO/6WgM+qGy/PgKfaAswdNYIsyQh Bu2Vy4n7gYkG3IXYbGQsVR3lCVEYmT4YSAHDs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aAzFwJEYuGgvW/P9IbRhSf+XnGQckgZrqUZat3QeX28=; b=rjjmKDbyKNGnWRA1ZeTYZE1ZwqN2ja8CUsyUzJa5myjdDSYznbnSKJDEmQOB659bEF rxFz0iT2J22zTtAaF/pRJ1FAWx2W+gFGl5sfUa92ZM/x6PPMO4W1xGPsF0K44p28e2su 6sAZHhh6VP9llmy9ZBGISqw0GGf+ES68vxoMdokHeM5PqR3OGOm3C19NOmGwyW2onJaU ESIum8T0BK/E4J8bfgdDcLdcF96sbm2jgXWHJWcokEECHB2izpCgNXV07IcDiWBvNXuZ V40zxrKK4o779azkB1ln+FXPQBKbW/8ONSk5xfHjdLW2cFL59JGQYpxh8vr09cDdthRP n5Og== X-Gm-Message-State: APjAAAWUz/GMfCN3VjrSA2J5K9QVtauVY+1IXV5h4WYL+Pc+Sd6ln1E1 uEXUB7Fj8EbDYqIE0kcRyaLbug== X-Google-Smtp-Source: APXvYqzkSctdjdd9fJlMbQsYlI1poSSJCvWf4LUQ6JA98+/eq25mxnQcgX+A0QG3VgKbw4bWIYZk/Q== 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 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 11315073 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 09E10138C for ; Wed, 1 Jan 2020 11:25:31 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD04720842 for ; Wed, 1 Jan 2020 11:25:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="auDcUmhg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD04720842 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 49C39899D4; Wed, 1 Jan 2020 11:25:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by gabe.freedesktop.org (Postfix) with ESMTPS id 01BE4899D4 for ; Wed, 1 Jan 2020 11:25:28 +0000 (UTC) Received: by mail-pj1-x1030.google.com with SMTP id t101so2115485pjb.4 for ; Wed, 01 Jan 2020 03:25:28 -0800 (PST) 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:content-transfer-encoding; bh=uOT/TkO2nnC7kJ3ZhTvZjXZpoEskkRgkFAB8b45lofE=; b=auDcUmhg4vlldekHTaQDyr7XuUDsHbVYAoGMfWRlGGSsfEv5e2rcUajNy+n+E22vxO TvQ3K/Bpf0JWXK1PRJsNwIluXIcIjsWU2WqD5CL/pnHgGQzmmwY9KiaPGLZznCVDhdW3 YPi4oE5/tU25aR8/zDNqLyUng7kdaivsSSKKk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uOT/TkO2nnC7kJ3ZhTvZjXZpoEskkRgkFAB8b45lofE=; b=tIDGqGjL9ysHxAKDJ33YUFx2LWHg1WIkuNqQcf3zzldE3f7pveLH3IHCIrUItNMOhm 5Mk5yTIYiwfKSFhGplBXWiNniFYBV8OCaatVAUSNQTGap2gFohp81FogFfer5RhXnzyy 4Aj9SOuBhYMw13wnxrB5qFV5ULtLzGIthuJpRgjHH/SVYi+UgM3Bjs5tMWiNyTi7h8x0 +gs2lt3fnnsZYDTcfYmElbS9C4uoE8ytEhkhsSNvb0WoAfcGmBg3zStuZJxzyrVcuIgP hvkdfPr1bczN2+NB2a8MBvoFnB6EGfCQ3W822PMo5wz5zdwEQcJAgFbeBYmilsx3AL+j DRBg== X-Gm-Message-State: APjAAAWP8aqrlf2SmSmNFsJ5FY3CsFXcIIt5L7fsZc2i3HjUzPwzFOTD tumcHgCYBSwTRN/GixTsRTix9w== X-Google-Smtp-Source: APXvYqw+QbH5vO3Ge5bKFurNuVGs9RF8kk81/+Grun+c37oR1I8wTfEAsM7OfMbCE0x8S1J/FwiNag== 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 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: 11315075 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 40C09138C for ; Wed, 1 Jan 2020 11:25:35 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F9472084D for ; Wed, 1 Jan 2020 11:25:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="MO1HGiBM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F9472084D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5CCEA89B38; Wed, 1 Jan 2020 11:25:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id AEAFD899EA for ; Wed, 1 Jan 2020 11:25:32 +0000 (UTC) Received: by mail-pf1-x42a.google.com with SMTP id 2so20700096pfg.12 for ; Wed, 01 Jan 2020 03:25:32 -0800 (PST) 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:content-transfer-encoding; bh=fdGoH1RBSE0s/FT++wCk+eXRQE/Dps6JokN9W13ec2A=; b=MO1HGiBMORzlmmGBTIkfOKcf78TkkSN/9tgtVrUAJc/hRF0XNQaz+yNfURcEgkZtLE 6LhWWEtQ16lZn4VmnnutJU83l2YZ0Kwi1+mRZ3H9iqS3DSN2jKxEUAZD/v3IeeTSo+Ol ovt48RgOeck5uh1ThZ/ZKLFMdDeBwR/dUv+7Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fdGoH1RBSE0s/FT++wCk+eXRQE/Dps6JokN9W13ec2A=; b=njMIUiJ9yo2RTzC4pXyt76lLA/AuIqGlvkdOgOT5WuXs7DgMqPBYPBJHHqhoZGZZri g9xEXEQboFwQouxz1i4aswFkz46aioLcbcnCkyCGdXhuXFg0CkytDIlpz3ZBpRTpWsc6 zgl1yIR4VbjQAWtrHwMOhn53ZAhXB4pPeNYFOcxz0i/sENnCZjtYMlpq8fKcKc5ypZFG RRvBSsklRM3aaWU8XAC0yMJ+E15hVYrzYDBrs4B2V3vxitcD+c9rWL27Zrwrneqz9JzA AzkGQ8RoKkUK/1zxxxd5UW9cyRXwpL8E9hKa2c3+XN6It8AKMjiqZ2Ulz52XiJPlf+Xa 2u4A== X-Gm-Message-State: APjAAAX17JtReK9HoNA4pK+gtqVEMuBPkEgGCPkrq+PrUR2WyIAtsb6N PSB68I9W//tAG9cLKFTILGrKZQ== X-Google-Smtp-Source: APXvYqyhFnef0p6xMGnWn9M8e38I99cM5qjK6fUCTcmrXYfohQ69YIgfsfWMkjrpcd1nvhR1r9Hkmg== 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 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , linux-amarula@amarulasolutions.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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>; + }; + }; + };