From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 79D1BC4332D for ; Thu, 19 Mar 2020 02:58:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 421C920774 for ; Thu, 19 Mar 2020 02:58:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584586701; bh=pIe+hELW0DszOEeVz3+ai3xlSyLYmkov/dJ1gGm3hyk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=lqvaSJLtVOGwnVsHH5UVdhTyIqn+0Z6pVZQKZbH+GZ4PBC1l+f3oVP+Y/pnEXHDtt cETh3IoubckoFiJO/EweUNJzLAzjmyL7lBVuYhO4stiBJz55QdGvuhHUnV/pZT/DUT BpcyXeuwOKmhuPGC2kUjmG5ZNiQ9iHwcgM/E/Pgo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726697AbgCSC6U (ORCPT ); Wed, 18 Mar 2020 22:58:20 -0400 Received: from mail-il1-f193.google.com ([209.85.166.193]:44724 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbgCSC6U (ORCPT ); Wed, 18 Mar 2020 22:58:20 -0400 Received: by mail-il1-f193.google.com with SMTP id j69so841590ila.11; Wed, 18 Mar 2020 19:58:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nM1k8lzE08ockeKYloA70XJW2sZFxyYzHCwuagreaWU=; b=CReyqd0SDltg/5s+AnW43KUApQkcVM3O3hMeSISSi1NIeJ6Td0nr/5/p1dO/5dTkUo 94z3g+jQzGteXZF3ZfZPoPVl3DyEZGeB5c8GiKBQ8uXtk7v2uXpt+7y04FcuUlalOQrm hHykHF2Yf/2zR5boOgAf9yk+lyptbqT7ht0gIVb7WQ/dUn9HtyrbsCh4Ibu2DnpFYJ9e LwFEwL2HU+Xt0DfFLPnsogjp3Q1jUJ4hEwMWdycWAweReQpyj4WA6MNb3tVn9JAdD4gS NhqlruGKvBOkDUtWaqwYV0+ILlr/oKfQKkg03FWsfbRmtmNMhmP0VeHc/aW0m+0n7D7+ Qlrw== X-Gm-Message-State: ANhLgQ3L0gEAP1AhJtKbq8e2SrXqviyug6gRJHB/U8yN7txUq+voxgE7 WOKqCW4aXjlduA7nRAm20Q== X-Google-Smtp-Source: ADFU+vt4duHipes2QaC+4RFruU+kDS5HHH7frANwByd8bHTgKrhzGOjiOUDZN3bZufC8BNbAMM3roA== X-Received: by 2002:a92:d843:: with SMTP id h3mr1149317ilq.246.1584586699318; Wed, 18 Mar 2020 19:58:19 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id o76sm328614ili.18.2020.03.18.19.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 19:58:17 -0700 (PDT) Received: (nullmailer pid 25742 invoked by uid 1000); Thu, 19 Mar 2020 02:58:15 -0000 Date: Wed, 18 Mar 2020 20:58:15 -0600 From: Rob Herring To: Sam Ravnborg Cc: dri-devel@lists.freedesktop.org, Thierry Reding , devicetree@vger.kernel.org, Alexandre Courbot , Andrzej Hajda , Brian Masney , Chris Zhong , Douglas Anderson , Guido Gunther , Heiko Schocher , Nikolaus Schaller , Hoegeun Kwon , Jagan Teki , Jerry Han , Jonathan Bakker , Laurent Pinchart , Lin Huang , Linus Walleij , linux-spi@vger.kernel.org, Marco Franchi , Marek Belisko , Mark Brown , Maxime Ripard , Maxime Ripard , Nickey Yang , Paul Cercueil , Peter Rosin , Peter Ujfalusi , Purism Kernel Team , Robert Chiras , Sandeep Panda , Stefan Mavrodiev , Tomi Valkeinen , Tony Lindgren , Vinay Simha BN , Werner Johansson Subject: Re: [PATCH v1 18/36] dt-bindings: display: convert raydium,rm67191 to DT Schema Message-ID: <20200319025814.GE29911@bogus> References: <20200315134416.16527-1-sam@ravnborg.org> <20200315134416.16527-19-sam@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200315134416.16527-19-sam@ravnborg.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sun, Mar 15, 2020 at 02:43:58PM +0100, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Robert Chiras > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/raydium,rm67191.txt | 41 ---------- > .../display/panel/raydium,rm67191.yaml | 75 +++++++++++++++++++ > 2 files changed, 75 insertions(+), 41 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt > create mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt b/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt > deleted file mode 100644 > index 10424695aa02..000000000000 > --- a/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt > +++ /dev/null > @@ -1,41 +0,0 @@ > -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-gpios: a GPIO spec for the RST_B GPIO pin > -- v3p3-supply: phandle to 3.3V regulator that powers the VDD_3V3 pin > -- v1p8-supply: phandle to 1.8V regulator that powers the VDD_1V8 pin > -- width-mm: see panel-common.txt > -- height-mm: see panel-common.txt > -- video-mode: 0 - burst-mode > - 1 - non-burst with sync event > - 2 - non-burst with sync pulse > - > -Example: > - > - panel@0 { > - compatible = "raydium,rm67191"; > - reg = <0>; > - pinctrl-0 = <&pinctrl_mipi_dsi_0_1_en>; > - pinctrl-names = "default"; > - reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; > - dsi-lanes = <4>; > - width-mm = <68>; > - height-mm = <121>; > - > - port { > - panel_in: endpoint { > - remote-endpoint = <&mipi_out>; > - }; > - }; > - }; > diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml > new file mode 100644 > index 000000000000..b78b66a4336f > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml > @@ -0,0 +1,75 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/raydium,rm67191.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Raydium RM67171 OLED LCD panel with MIPI-DSI protocol > + > +maintainers: > + - Robert Chiras > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: raydium,rm67191 > + > + reg: true > + port: true > + reset-gpios: true > + width-mm: true > + height-mm: true > + > + dsi-lanes: > + description: Number of DSI lanes to be used must be <3> or <4> > + enum: [3, 4] > + > + v3p3-supply: > + description: phandle to 3.3V regulator that powers the VDD_3V3 pin > + > + v1p8-supply: > + description: phandle to 1.8V regulator that powers the VDD_1V8 pin > + > + video-mode: > + description: | > + 0 - burst-mode > + 1 - non-burst with sync event > + 2 - non-burst with sync pulse > + enum: [0, 1, 2] > + > +required: > + - compatible > + - reg > + - dsi-lanes > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + dsi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + panel { panel@0 I thought our dsi bus binding would catch this... > + compatible = "raydium,rm67191"; > + reg = <0>; > + reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; > + dsi-lanes = <4>; > + width-mm = <68>; > + height-mm = <121>; > + video-mode = <1>; > + > + port { > + panel_in: endpoint { > + remote-endpoint = <&mipi_out>; > + }; > + }; > + }; > + }; > + > +... > -- > 2.20.1 >