Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp938412ybi; Fri, 14 Jun 2019 06:01:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsufwHzEWuT/tupNImnZL9npR+d9Ed19GPL9mid6/AzqGyY+ZMREJX2iTT0sYPRmE9YQ7d X-Received: by 2002:aa7:9f1c:: with SMTP id g28mr75201423pfr.81.1560517247073; Fri, 14 Jun 2019 06:00:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560517247; cv=none; d=google.com; s=arc-20160816; b=u3FemukCG0u3z7alwbyomugIz9RlyGPDrAAXKDtfMU+V+FHyNG5uE4z56wFCtYDLJK 40loWJzkskctTYCddsX3FEruqs6+OCrbVvEN0WzWITxM5CxIjuWgUObckkE65yRRtmkO mkV9hYPQ+rxv4fO0U0T8v5061WR3+JOs5vbk30tUqePk24rI6/0qvMprzSbdkP5W6MzL dN+yNQsEtN6ml2PzPFsmmT8EQkf7OibafQ1oj/gmUw2FIwgBnnuqMLOUbyJOgFO94vA4 UaEh7HVOZMt8Ym7p9W17NqBPiq2DzjeRdzZOs8hRnSmVXnU1Adb08oIGTKGRzWEzCqJO rYrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dxN8IMeJHVXnP1b6nJkOyvD5/EuemFZLofVhpm8EbR8=; b=NCB4D6ZKzCTP2uONxyu4OlICLrvYc+lLFzacyYhI4MPMtD5OyKQt2fzDe0YhjEm0p5 g0pIanNM8WtPu8XPLKDhEmPaQ5pvf30kFXvLF72jHIYB4D4bMsz8A91eYmbYJfVWluZr i8nIf2JRQdFzQoTclEfJeR8XhWUWT+Hnp96/W2qK7Cqz4U+QOpBrx7iT70VFrqhpvzg6 0MaabKCmeL+MzzOsiLKFQdxbMB6Yc2EBTDj2wt9NX3kfy8GKN/mWRFKw9Y8E7GZVhG2D WEkRSLHI+HDtYwbIlV0NqA76f+Ue/Q/6XHJiTzF/zF/itfJBHbNSRTsawwjW/6HBeFp6 iREQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HM9PZfbM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o39si2390450pje.28.2019.06.14.06.00.30; Fri, 14 Jun 2019 06:00:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HM9PZfbM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728017AbfFNM7y (ORCPT + 99 others); Fri, 14 Jun 2019 08:59:54 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:36735 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727654AbfFNM7y (ORCPT ); Fri, 14 Jun 2019 08:59:54 -0400 Received: by mail-lj1-f194.google.com with SMTP id i21so2324813ljj.3; Fri, 14 Jun 2019 05:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dxN8IMeJHVXnP1b6nJkOyvD5/EuemFZLofVhpm8EbR8=; b=HM9PZfbMeFKhbiqGJ8k7ChriLFbLkvmVVj2iyulEvchIEz8/+TjMU383RbCZ51pYIY iWfrjlAiZwOGWcLcvHI9tDh/4Y8DOFsyxWrW9KskJtoJ/XvLna/Y0LviTgz0q1mnM21k cD+Ri3bnDrggF+7wdTbiHkxxZ4MHBymFnUmPp6ChkbD4YwjqWBplnh2SD5AXK/hpkWzU vRISa1Kjnt2u32lJ9buRRkD5KScwAxjyCEZSYp13JNgP/0VN7r/6m08wa17fGE99B1i2 dZH2pgKYn+JWiQA0mcYs3/AIRxuVs970lPq2jIhJm3oQ4Glg36mZiTVQu648uhunD+2H aP6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dxN8IMeJHVXnP1b6nJkOyvD5/EuemFZLofVhpm8EbR8=; b=Udz4ZBS7DdfJk3K8dLzuG2c9GnGf44ZwxbfI7MFOaAVM9++RhXscT9bwBHYpI7l0HL LJrFJiz1qeI4+zfqzf/8XCaaFuR70ug5ItXcFQFmoN/mDNuI18VbojXV0Wodw5tmW/s/ 70vAcio8Hw2x1t8j1jNiHZlSq9OEiHrWO5GzLtRO6x2V4EFMb9zZs8m0usS04CLXo8qj DMMOzqkKHnrqEauDcB4Da36hqKOUlYwBp8hCo/V10OOHyfthpRqjcsZJOz9Fu9ydx3vR kNu6Dmps2aMxfSoHt5oxU8TalyOvyG9raLtxxMnUwHr5FGdtbtTpcyEZt5bbTRIOD1uD qHgg== X-Gm-Message-State: APjAAAXAU9r86MeSZECVPFFfB2uuJlpU+mFcJM8k9U5gnn9MWnQBLAIW nvLOxmc3chbZIx2MLdbGuTilNeema0PT92Q/8Ew= X-Received: by 2002:a2e:63c4:: with SMTP id s65mr40905213lje.211.1560517191687; Fri, 14 Jun 2019 05:59:51 -0700 (PDT) MIME-Version: 1.0 References: <1560513063-24995-1-git-send-email-robert.chiras@nxp.com> <1560513063-24995-2-git-send-email-robert.chiras@nxp.com> In-Reply-To: <1560513063-24995-2-git-send-email-robert.chiras@nxp.com> From: Fabio Estevam Date: Fri, 14 Jun 2019 09:59:54 -0300 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: display: panel: Add support for Raydium RM67191 panel To: Robert Chiras Cc: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , DRI mailing list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , NXP Linux Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 14, 2019 at 8:53 AM Robert Chiras wrote: > > Add dt-bindings documentation for Raydium RM67191 DSI panel. > > Signed-off-by: Robert Chiras > --- > .../bindings/display/panel/raydium,rm67191.txt | 42 ++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt > > diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt b/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt > new file mode 100644 > index 0000000..5a6268d > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt > @@ -0,0 +1,42 @@ > +Raydium RM67171 OLED LCD panel with MIPI-DSI protocol > + > +Required properties: > +- compatible: "raydium,rm67191" > +- reg: virtual channel for MIPI-DSI protocol > + must be <0> > +- dsi-lanes: number of DSI lanes to be used > + must be <3> or <4> > +- port: input port node with endpoint definition as > + defined in Documentation/devicetree/bindings/graph.txt; > + the input port should be connected to a MIPI-DSI device > + driver > + > +Optional properties: > +- reset-gpio: a GPIO spec for the RST_B GPIO pin reset-gpios (with the s in the end) is the recommendation. > +- display-timings: timings for the connected panel according to [1] This is not needed. > +- video-mode: 0 - burst-mode > + 1 - non-burst with sync event > + 2 - non-burst with sync pulse > + > +[1]: Documentation/devicetree/bindings/display/display-timing.txt This path does not exist. Also, could you try to align these bindings with the one from raydium,rm68200? There are power-supply and backlight optional properties there, which seem useful. > + > +Example: > + > + panel@0 { > + compatible = "raydium,rm67191"; > + reg = <0>; > + pinctrl-0 = <&pinctrl_mipi_dsi_0_1_en>; You should also pass pinctrl-names = "default"; if you use pinctrl-0. > + reset-gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>; Should be active low.