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=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 85775C4332D for ; Thu, 19 Mar 2020 02:49:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5744820772 for ; Thu, 19 Mar 2020 02:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584586141; bh=1nrNY0MjlXuYrPdwqw+A5sOCABwuccA5/M5u6r+SdXM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=TXt/djmwOw9tA2cbPGTsvUEQnHspDf8xgMr6IH7RDe5r9jb4eO+JwJPXxqpimeq8o F6xZ0HhNwCF3mxU3Cazmr3/3ygL7aPv+DNzP4Y6qeG4AFn4x65UL5CClVFfLoyQIS6 0YRd4zNblN5Csq6y8AsF7smUMlYRDj0ut2faLaLI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726697AbgCSCtA (ORCPT ); Wed, 18 Mar 2020 22:49:00 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:34541 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726666AbgCSCtA (ORCPT ); Wed, 18 Mar 2020 22:49:00 -0400 Received: by mail-io1-f66.google.com with SMTP id h131so756657iof.1; Wed, 18 Mar 2020 19:48:59 -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=I8iNR1+hmLqOvjeHPkSzzH6o4xUKxm3Foovicd7v/7c=; b=QAgcjjzhlrU0MKmMf+8tPCDGwYPLG8P3Bu4yuLebZXkZ08aSMtR1JxeejksoOml8Ym 5G32gmhq9WFBTf8Qg57R53UiLsRQ3i4Vt5VlkU0cu2rR5eCoayK+mvn4mLin3RdPjeFB 38TxvJAXz/5GtbR4QintE8/IVvlwq1G9LpNIoyWMq//RZObUmfP2UE4Mr8VwfyBzk6P9 sht4UzfiY7Rbuij2dwpY8ETHp3dcpTZQedCspDBa55w7DwwgySF9SRBGbA57xH7hEl6p dH0li+P3G/s2S5jw7EhM2EIlxPxBLSTymfsXnWFsLR4AqLQidVwZEREKHi3B2qKxAbl1 vC0A== X-Gm-Message-State: ANhLgQ2dxWB80uNldVpY9Be61/PxW6L7oYT6lH3qW/WSpU/xo8+oHrLF 1e68+QbkeAjOhwdelSJtpg== X-Google-Smtp-Source: ADFU+vssk5i7OAkbciAzXy4RqfIbgraA+MkHyU8BtSMwj1/iWgZCmjx9dUAao8lMFv+IAp1wgD1xUQ== X-Received: by 2002:a6b:fc1a:: with SMTP id r26mr811247ioh.134.1584586139361; Wed, 18 Mar 2020 19:48:59 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id r29sm307156ilk.76.2020.03.18.19.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 19:48:58 -0700 (PDT) Received: (nullmailer pid 13019 invoked by uid 1000); Thu, 19 Mar 2020 02:48:56 -0000 Date: Wed, 18 Mar 2020 20:48:56 -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 04/36] dt-bindings: display: convert arm,versatile-tft-panel to DT Schema Message-ID: <20200319024856.GB29911@bogus> References: <20200315134416.16527-1-sam@ravnborg.org> <20200315134416.16527-5-sam@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200315134416.16527-5-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:44PM +0100, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Linus Walleij > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/arm,versatile-tft-panel.txt | 31 ----------- > .../panel/arm,versatile-tft-panel.yaml | 51 +++++++++++++++++++ > 2 files changed, 51 insertions(+), 31 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt > create mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt > deleted file mode 100644 > index 0601a9e34703..000000000000 > --- a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt > +++ /dev/null > @@ -1,31 +0,0 @@ > -ARM Versatile TFT Panels > - > -These panels are connected to the daughterboards found on the > -ARM Versatile reference designs. > - > -This device node must appear as a child to a "syscon"-compatible > -node. > - > -Required properties: > -- compatible: should be "arm,versatile-tft-panel" > - > -Required subnodes: > -- port: see display/panel/panel-common.yaml, graph.txt > - > - > -Example: > - > -sysreg@0 { > - compatible = "arm,versatile-sysreg", "syscon", "simple-mfd"; > - reg = <0x00000 0x1000>; > - > - panel: display@0 { > - compatible = "arm,versatile-tft-panel"; > - > - port { > - panel_in: endpoint { > - remote-endpoint = <&foo>; > - }; > - }; > - }; > -}; > diff --git a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml > new file mode 100644 > index 000000000000..8ad7305887b4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/arm,versatile-tft-panel.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ARM Versatile TFT Panels > + > +maintainers: > + - Linus Walleij > + > +description: | > + These panels are connected to the daughterboards found on the > + ARM Versatile reference designs. > + > + This device node must appear as a child to a "syscon"-compatible > + node. > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: arm,versatile-tft-panel > + > + port: true > + > +required: > + - compatible > + - port > + > +additionalProperties: false > + > +examples: > + - | > + sysreg { > + compatible = "arm,versatile-sysreg", "syscon", "simple-mfd"; > + reg = <0x00000 0x1000>; > + > + panel: display@0 { Drop the unit-address or add 'reg'. > + compatible = "arm,versatile-tft-panel"; > + > + port { > + panel_in: endpoint { > + remote-endpoint = <&foo>; > + }; > + }; > + }; > + }; > + > +... > -- > 2.20.1 >