From patchwork Mon Nov 30 06:23:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: mdurnev@gmail.com X-Patchwork-Id: 11939833 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=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 180BCC71155 for ; Mon, 30 Nov 2020 08:25:32 +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 A275E20719 for ; Mon, 30 Nov 2020 08:25:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GLQgkqJ2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A275E20719 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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 1D1A86E40B; Mon, 30 Nov 2020 08:25:29 +0000 (UTC) Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id B23E06E400 for ; Mon, 30 Nov 2020 06:25:07 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id a3so22712960wmb.5 for ; Sun, 29 Nov 2020 22:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HwnFymWMQTV9oikYfEqk9Alj6I5f+hN6S3yVGaHyZC0=; b=GLQgkqJ2PW7rwSg7OMR5tsmHbARMKy8wN1upF7hvOgcmACidG4DZklGJZtE1/+raZK WsXq0T+NjkTDuTeE8QzEFVizd3B2bwyPTdv+SDAcHegFoinltPnzkI7RSNgsHo3tD/cO N89Uw8z4VCaG2BWo4EQ+RboZHfo6euHAqBMngaSay9c3K785MX8D71rpIQGENyhDQX4K CVhrbG82bEIPMYBVZNkyiSVEzFQRlVw4+i1lAct4lH44RPuahoY1KwJQIXHzmeoiKIb5 Mp42ty8pH6Hce/PbfdGyblbJS0IYnaHY7k0gs8NsOftq5bW5P9c9uQzFL334wbyJca+3 JTgQ== 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=HwnFymWMQTV9oikYfEqk9Alj6I5f+hN6S3yVGaHyZC0=; b=uX2t5AgqHs+ilxIpN+3gXcHNfFeVMhlkchb6mipj9OZO7hl6eUQ1gyglUztxgS6OkG hdCv+Di6kyGKX7Mrtdgq3EF99SUrpzhUhs6LxtvWjlKPsBvxROjfO103NyqGUjLGHWUU orJbwSSHRN8nV5pBURJvVgecUn7QPKuEerZSeenyA2bnIUc4gfoj0qxZfDPSnVl5OyqJ t6VJ8J1Pto13J+Z8AXF5FYh5nWfRR2ruXcC9px1w7CKK7zJ9aH1kuK4wx36edxhNLpxb cL5TKUNO3ZRh7OFbyXD4Tw8+9TAe/pRxkfsX9hde0PzoQwbfAhFX6WS63t34zLjb3Fw6 rIfg== X-Gm-Message-State: AOAM532owM78bxfena9+vrEFZV7RuhJjKwP+16/IMRjRvlLFIwp23UAC qoQPlq2bTE7WJj2upqCxR4uaYUZwlKSH7g== X-Google-Smtp-Source: ABdhPJzzF7nyuLq9HYsSuTUbJnsAnZLfKAl5pXDUx87thw1mmbNsDOLi7nSBrKNTJU1/kHA+BKrS7w== X-Received: by 2002:a05:600c:2209:: with SMTP id z9mr22015998wml.123.1606717506450; Sun, 29 Nov 2020 22:25:06 -0800 (PST) Received: from rum-mikhail-dt.world.mentorg.com (nat-rum.mentorg.com. [139.181.33.34]) by smtp.gmail.com with ESMTPSA id u129sm22594649wme.9.2020.11.29.22.25.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Nov 2020 22:25:05 -0800 (PST) From: mdurnev@gmail.com X-Google-Original-From: mikhail_durnev@mentor.com To: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, noralf@tronnes.org Subject: [PATCH v1 3/3] dt-bindings: panel: Add bindings for MRB2801 Date: Mon, 30 Nov 2020 16:23:59 +1000 Message-Id: <1606717439-18383-4-git-send-email-mikhail_durnev@mentor.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1606717439-18383-1-git-send-email-mikhail_durnev@mentor.com> References: <1606717439-18383-1-git-send-email-mikhail_durnev@mentor.com> X-Mailman-Approved-At: Mon, 30 Nov 2020 08:25:11 +0000 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: mikhail_durnev@mentor.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Mikhail Durnev Add binding for Ronbo MRB2801 display module. This binding is for display panels using an Ilitek ILI9341 controller in parallel mode. Signed-off-by: Mikhail Durnev --- .../devicetree/bindings/display/ronbo,mrb2801.txt | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/ronbo,mrb2801.txt diff --git a/Documentation/devicetree/bindings/display/ronbo,mrb2801.txt b/Documentation/devicetree/bindings/display/ronbo,mrb2801.txt new file mode 100644 index 0000000..db1a861e --- /dev/null +++ b/Documentation/devicetree/bindings/display/ronbo,mrb2801.txt @@ -0,0 +1,42 @@ +MRB2801 display panel + +This binding is for display panels using an Ilitek ILI9341 controller in +parallel mode. + +Required properties: +- compatible: "ronbo,mrb2801" +- dc-gpios: D/C pin +- wr-gpios: W/R pin +- db-gpios: 8 or 16 DB pins +- reset-gpios: Reset pin +- wr-up-down-delays: Delays in ns for changing W/R from down to up and from up to down + +Optional properties: +- backlight: phandle of the backlight device attached to the panel +- rotation: panel rotation in degrees counter clockwise (0,90,180,270) + +Example: + mrb2801{ + compatible = "ronbo,mrb2801"; + db-gpios = <&gpio 17 0>, /* DB0 */ + <&gpio 18 0>, /* DB1 */ + <&gpio 27 0>, /* DB2 */ + <&gpio 22 0>, /* DB3 */ + <&gpio 23 0>, /* DB4 */ + <&gpio 24 0>, /* DB5 */ + <&gpio 25 0>, /* DB6 */ + <&gpio 4 0>, /* DB7 */ + <&gpio 14 0>, /* DB8 */ + <&gpio 15 0>, /* DB9 */ + <&gpio 5 0>, /* DB10 */ + <&gpio 6 0>, /* DB11 */ + <&gpio 13 0>, /* DB12 */ + <&gpio 19 0>, /* DB13 */ + <&gpio 26 0>, /* DB14 */ + <&gpio 12 0>; /* DB15 */ + dc-gpios = <&gpio 16 0>; /* D/C */ + wr-gpios = <&gpio 20 0>; /* W/R */ + wr-up-down-delays = <10 51>; + reset-gpios = <&gpio 21 0>; /* RST */ + backlight = <&backlight>; + };