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>; + };