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.5 required=3.0 tests=INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 D1FD2C4332D for ; Thu, 19 Mar 2020 02:56:11 +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 AD26C20773 for ; Thu, 19 Mar 2020 02:56:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD26C20773 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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 CFA146E0D1; Thu, 19 Mar 2020 02:56:09 +0000 (UTC) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD02B6E0D1 for ; Thu, 19 Mar 2020 02:56:08 +0000 (UTC) Received: by mail-io1-f66.google.com with SMTP id e20so314405ios.12 for ; Wed, 18 Mar 2020 19:56:08 -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=PPkja5C25VerS45bxtKqwCdIAsJE8Q53wltiW2Ahl8s=; b=D7a+we9s3HPk4MB8FPQ94aYKu3lvUKWut9XWYNq5nXxbOYAVonnkOFeNRPTdwuX48e KA0nEkThsHFPY7sMdH3p9Qq+nV5expvB/zjsYZg3g572lHZvzbQJ/0XH5fBhvBIRV0jE cJ+bE8iuomEa4HLmyWw2Cl26n7RWUpOXY8g8ksYFJ0/KVCRyaZrhhhE/PsI37M11FhU9 5wEwC6NvakRae0D92nLNf/eeuMT2XIuzD7M4km9vkLcv2odc4/Nb8O37lNTu9Ii2U7Nw mQkh9GZUAA6MuIShD6hNx5bGO0MSy7hhZWjPjVAKKQOACFjgl27obTSYqTgDFGBKMegF zcsQ== X-Gm-Message-State: ANhLgQ1XPkSjzr/DmPXJ3QhNAW5gJIdiRCE19gD8kfmuHl97+kw48XTd EtwQDmZKMk01s+67hyN+HQ== X-Google-Smtp-Source: ADFU+vu8Zs4sikgQ9qOl1rtXnWnxbh11VSlCCgp2VF3kXoJHSN0x4GdzUn913Ju/MZHC3HITrrVJBw== X-Received: by 2002:a02:9608:: with SMTP id c8mr1114138jai.68.1584586566760; Wed, 18 Mar 2020 19:56:06 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id q17sm314741ilm.85.2020.03.18.19.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 19:56:06 -0700 (PDT) Received: (nullmailer pid 22642 invoked by uid 1000); Thu, 19 Mar 2020 02:56:01 -0000 Date: Wed, 18 Mar 2020 20:56:01 -0600 From: Rob Herring To: Sam Ravnborg Subject: Re: [PATCH v1 16/36] dt-bindings: display: convert lg,lg4573 to DT Schema Message-ID: <20200319025601.GD29911@bogus> References: <20200315134416.16527-1-sam@ravnborg.org> <20200315134416.16527-17-sam@ravnborg.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200315134416.16527-17-sam@ravnborg.org> User-Agent: Mutt/1.10.1 (2018-07-13) 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: Maxime Ripard , Nikolaus Schaller , Jonathan Bakker , Sandeep Panda , dri-devel@lists.freedesktop.org, Paul Cercueil , Andrzej Hajda , Thierry Reding , Laurent Pinchart , Chris Zhong , Marco Franchi , Stefan Mavrodiev , Jerry Han , Hoegeun Kwon , Tony Lindgren , Nickey Yang , Tomi Valkeinen , Jagan Teki , Robert Chiras , Vinay Simha BN , Marek Belisko , Heiko Schocher , Brian Masney , devicetree@vger.kernel.org, Guido Gunther , Mark Brown , Alexandre Courbot , Werner Johansson , Purism Kernel Team , Peter Ujfalusi , Lin Huang , Douglas Anderson , linux-spi@vger.kernel.org, Peter Rosin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Sun, Mar 15, 2020 at 02:43:56PM +0100, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Heiko Schocher > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../bindings/display/panel/lg,lg4573.txt | 19 --------- > .../bindings/display/panel/lg,lg4573.yaml | 41 +++++++++++++++++++ > 2 files changed, 41 insertions(+), 19 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/panel/lg,lg4573.txt > create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/lg,lg4573.txt b/Documentation/devicetree/bindings/display/panel/lg,lg4573.txt > deleted file mode 100644 > index 824441f4e95a..000000000000 > --- a/Documentation/devicetree/bindings/display/panel/lg,lg4573.txt > +++ /dev/null > @@ -1,19 +0,0 @@ > -LG LG4573 TFT Liquid Crystal Display with SPI control bus > - > -Required properties: > - - compatible: "lg,lg4573" > - - reg: address of the panel on the SPI bus > - > -The panel must obey rules for SPI slave device specified in document [1]. > - > -[1]: Documentation/devicetree/bindings/spi/spi-bus.txt > - > -Example: > - > - lcd_panel: display@0 { > - #address-cells = <1>; > - #size-cells = <1>; > - compatible = "lg,lg4573"; > - spi-max-frequency = <10000000>; > - reg = <0>; > - }; > diff --git a/Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml b/Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml > new file mode 100644 > index 000000000000..b5b475cf8406 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/lg,lg4573.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: LG LG4573 TFT Liquid Crystal Display with SPI control bus > + > +maintainers: > + - Heiko Schocher > + > +allOf: > + - $ref: ../../spi/spi-slave.yaml# > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: lg,lg4573 > + > + reg: true > + spi-max-frequency: true > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + spi { > + compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; Better to drop this or it's going to fail when there's a schema for this spi controller. > + #address-cells = <1>; > + #size-cells = <0>; > + > + lcd_panel: display@0 { > + compatible = "lg,lg4573"; > + spi-max-frequency = <10000000>; > + reg = <0>; > + }; > + }; > + > +... > -- > 2.20.1 > _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel