From patchwork Fri Apr 3 14:24:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 202453 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AA63C2BA18 for ; Fri, 3 Apr 2020 14:25:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0EA302078C for ; Fri, 3 Apr 2020 14:25:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ZMtQ3Z/u" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403878AbgDCOZE (ORCPT ); Fri, 3 Apr 2020 10:25:04 -0400 Received: from mail-pj1-f65.google.com ([209.85.216.65]:51329 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403869AbgDCOZE (ORCPT ); Fri, 3 Apr 2020 10:25:04 -0400 Received: by mail-pj1-f65.google.com with SMTP id w9so3058647pjh.1 for ; Fri, 03 Apr 2020 07:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=vKBRMX/UzCOn34k/kAwE26KCgVenN+ytvHTmdWU7Okc=; b=ZMtQ3Z/uwSYiMhhw2nTl6CsbXXgH9xLLOhxQrgzJsrv3UW4kLSwgmTsE+7IuS36SVf nNr3S9XTiC1OASHDsk3Kjfy1pztgLDzzIXtliEDLztXZmr+sVH40xM7/Q9Gd23g7LO7t QfJPhwHti/wJtJsJ6E7HVd7ge9OGsfoe7PzWc= 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; bh=vKBRMX/UzCOn34k/kAwE26KCgVenN+ytvHTmdWU7Okc=; b=Tf9q9oeLLOb7zkmaQ3esl7jqBNzVo/8e4zn7SC/cjiZHjU7dMc95s2vpuaqG3t0sdz suuRooRtww/axW84jKeMVmdzmzQUES75MSZLuf+3ZHRLcPvjsvgWwdiFcBPfdUMwfM61 c7rSJ0d/WYYrPWkww/5OM3zzA2ltTLaxgbLn0U7eXmRf3TbPP9INp5QlAQxal6pib2M6 aM3NFPaVt+XeKpPfnfIfx67PQ6j0s6+23j1/trTqwA+Bs7xJFzCmprsGv3QfLLjr+qaq 85/0w08ziPbxRiKkMmy+ALYKHWBMdBObF1y/M3tRw+hWX28RY7WWDO5ENH12+2yXndE5 UBHA== X-Gm-Message-State: AGi0PubwtHyYP6a+XXXKc9e5zNPwZBJTPt7qz0E+0kMUjeJFIZRkMX05 lT9jiioe46CdJHWammC+GhXAPb56WM4= X-Google-Smtp-Source: APiQypK/FOTXW2tO2HaeGhqMJi79/X/DjEIrHqAV05vSXxlPqEGWtElSKJxS/FsqoFPl8lB1RiTSIg== X-Received: by 2002:a17:90b:3615:: with SMTP id ml21mr10361300pjb.145.1585923902916; Fri, 03 Apr 2020 07:25:02 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9cd7:b821:2c84:e325]) by smtp.gmail.com with ESMTPSA id g75sm5857060pje.37.2020.04.03.07.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 07:25:02 -0700 (PDT) From: Jagan Teki To: Thierry Reding , Sam Ravnborg , Rob Herring Cc: David Airlie , Daniel Vetter , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v3 1/3] dt-bindings: display: panel: Convert feiyang, fy07024di26a30d to DT schema Date: Fri, 3 Apr 2020 19:54:51 +0530 Message-Id: <20200403142453.25307-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Convert the feiyang,fy07024di26a30d panel bindings to DT schema. Signed-off-by: Jagan Teki --- Changes for v3: - update the licence, used (GPL-2.0-only OR BSD-2-Clause) since I'm the author for old binding - use panel-common.yaml - mark true for common properties - use maxItems: 1 for reg - update example Changes for v2: - fix dt_binding_check .../display/panel/feiyang,fy07024di26a30d.txt | 20 ------- .../panel/feiyang,fy07024di26a30d.yaml | 58 +++++++++++++++++++ 2 files changed, 58 insertions(+), 20 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt create mode 100644 Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml diff --git a/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt b/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt deleted file mode 100644 index 82caa7b65ae8..000000000000 --- a/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt +++ /dev/null @@ -1,20 +0,0 @@ -Feiyang FY07024DI26A30-D 7" MIPI-DSI LCD Panel - -Required properties: -- compatible: must be "feiyang,fy07024di26a30d" -- reg: DSI virtual channel used by that screen -- avdd-supply: analog regulator dc1 switch -- dvdd-supply: 3v3 digital regulator -- reset-gpios: a GPIO phandle for the reset pin - -Optional properties: -- backlight: phandle for the backlight control. - -panel@0 { - compatible = "feiyang,fy07024di26a30d"; - reg = <0>; - avdd-supply = <®_dc1sw>; - dvdd-supply = <®_dldo2>; - reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ - backlight = <&backlight>; -}; diff --git a/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml b/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml new file mode 100644 index 000000000000..95acf9e96f1c --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/feiyang,fy07024di26a30d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Feiyang FY07024DI26A30-D 7" MIPI-DSI LCD Panel + +maintainers: + - Jagan Teki + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: feiyang,fy07024di26a30d + + reg: + description: DSI virtual channel used by that screen + maxItems: 1 + + avdd-supply: + description: analog regulator dc1 switch + + dvdd-supply: + description: 3v3 digital regulator + + reset-gpios: true + + backlight: true + +required: + - compatible + - reg + - avdd-supply + - dvdd-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "feiyang,fy07024di26a30d"; + reg = <0>; + avdd-supply = <®_dc1sw>; + dvdd-supply = <®_dldo2>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ + backlight = <&backlight>; + }; + }; From patchwork Fri Apr 3 14:24:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 202452 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67962C2BA16 for ; Fri, 3 Apr 2020 14:25:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D7EA2078C for ; Fri, 3 Apr 2020 14:25:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Dl8MYxOF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403806AbgDCOZM (ORCPT ); Fri, 3 Apr 2020 10:25:12 -0400 Received: from mail-pj1-f65.google.com ([209.85.216.65]:51337 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403918AbgDCOZL (ORCPT ); Fri, 3 Apr 2020 10:25:11 -0400 Received: by mail-pj1-f65.google.com with SMTP id w9so3058787pjh.1 for ; Fri, 03 Apr 2020 07:25:11 -0700 (PDT) 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; bh=xxGGn51zri+SmBzw6OefhHFXr2bA0wMiqg3raFhJWNk=; b=Dl8MYxOFg0TfBLOCOplJysObTuJ0bgBh15U2unyF9O1O5VlGEW8vPMVEsHiA+xpfLn u1p4DpYLO4L1LTNqUKtBfyeKN7Ok92m0YALjsOKfb5uaKdxhEtUZgHzSPkcR5HpO8UfU 2Ka1EVSjq/tTo6qFMot+aXuJbz8WHWL6sCC18= 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; bh=xxGGn51zri+SmBzw6OefhHFXr2bA0wMiqg3raFhJWNk=; b=nYF/5BuxApOsnsQliqN6Ib3BqXOY8zXXbGxhMhO/Hqu1AwFQPZfVR5x/XqMxkCBZAA xI9/vtGaVk/zgAGgstLThhK0znfoSKO5mFsbcXd9eygXjzduKNa4VhcD+AYdvJUjeoZD cU1kXGG2X0qLFFVNUQaO3hK5m2dD/os71Hlf3qK/2Pdwk8+2jAub3mi+eMU73zWrUBV7 0cOt3qBTd425PT2+5nIqnp/VPZaipxNBWI/T9bk9qNdXuLybrsLVDBlwYc5T2av4ttIx Ia6WkqlvcULucqZwglx6PN5qHg/8qNVBGG77VNH9hKFvkuP7vfHTVbfNCCIz+019OqZH GWDw== X-Gm-Message-State: AGi0PuYX/5ARIFesqCDAxNr00GUCx/w/JXJuwWCHtn2JQS1R97KpsPAN FWJ4w62d2HN9CmSDMTufCUke9A== X-Google-Smtp-Source: APiQypI5jQw1eSXRKQohkfFUTS7Vbekz33WC/zYzEcO9VRwvS2L6cNMg6F3ab1C/P8BJ+rmCfy9dQg== X-Received: by 2002:a17:90a:33c1:: with SMTP id n59mr9737670pjb.4.1585923910684; Fri, 03 Apr 2020 07:25:10 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9cd7:b821:2c84:e325]) by smtp.gmail.com with ESMTPSA id g75sm5857060pje.37.2020.04.03.07.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 07:25:09 -0700 (PDT) From: Jagan Teki To: Thierry Reding , Sam Ravnborg , Rob Herring Cc: David Airlie , Daniel Vetter , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v3 3/3] MAINTAINERS: Update feiyang, st7701 panel bindings converted as YAML Date: Fri, 3 Apr 2020 19:54:53 +0530 Message-Id: <20200403142453.25307-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200403142453.25307-1-jagan@amarulasolutions.com> References: <20200403142453.25307-1-jagan@amarulasolutions.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The feiyang,fy07024di26a30d.txt and sitronix,st7701.txt has been converted to YAML schemas, update MAINTAINERS to match them again. Signed-off-by: Jagan Teki --- Changes for v3: - none MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6ba8b584bf95..b987f2588e6a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5273,7 +5273,7 @@ DRM DRIVER FOR FEIYANG FY07024DI26A30-D MIPI-DSI LCD PANELS M: Jagan Teki S: Maintained F: drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c -F: Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt +F: Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml DRM DRIVER FOR GRAIN MEDIA GM12U320 PROJECTORS M: Hans de Goede @@ -5416,7 +5416,7 @@ DRM DRIVER FOR SITRONIX ST7701 PANELS M: Jagan Teki S: Maintained F: drivers/gpu/drm/panel/panel-sitronix-st7701.c -F: Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt +F: Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml DRM DRIVER FOR SITRONIX ST7586 PANELS M: David Lechner