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,URIBL_BLOCKED,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 8104CC4332D for ; Thu, 19 Mar 2020 03:07:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3DE5C20773 for ; Thu, 19 Mar 2020 03:07:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584587262; bh=7Na9W78dZ+P39Vuhk1FHR++IA+GSjtDBbVb7harBmk8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=m1cfsL4OBP5l6Skz24hZdeSkkLTvRoxmzTnPO5civW47GAFVw5DkTmhKhqfhWi+yl lvjXTlv/X0/FyceUfDUNhJABHD/SJE1vgFVBy9CkVV258FxfJ+SR0M/iDEbnxFcfoZ EOwtfjywmkxHASYElhtN8IBBbY1iFP4OeTbcda9E= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbgCSDHl (ORCPT ); Wed, 18 Mar 2020 23:07:41 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:46535 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbgCSDHl (ORCPT ); Wed, 18 Mar 2020 23:07:41 -0400 Received: by mail-io1-f65.google.com with SMTP id v3so711461iom.13; Wed, 18 Mar 2020 20:07:40 -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=86v811Y5uL+B0s1Q5xmlGYr7t3LK+8i6eRl/RIQzj58=; b=iQ2nYDYUEmhxCVg8tUwGG6UZF5jttoknc2hUT3PvIGwuiUYKEMTxeKwlGqp65fl8KX uIbBRdT3Dy2cAXm6qhQdCitEkxzAwK3RFGRVuHbE3LmNbAenQl3wvE9mePcGMucPScWJ StAE9Z0/HY8Wt94zN9DuzXmJHKKFxWGxKPSthZInV+WVM8nmmaGnYZaqxcVof0qBD1WM r8shk5HZeLq9V21J35jnSIJOhWqIWAxAkBnxpKENUwpd5X6Glqo7R9GJ5apkrYugDKec VLlblKVB3IY6hoxT/5tTpYLmAOwQHKCOyqG3V+UBFSn91vsZyttRQ5Y3V3IC9/1Z/OmW f62A== X-Gm-Message-State: ANhLgQ0HkZ+AKIBFLJXBplXByVEx5VKDVGcSCd/6iCDAja4xzzAE1HyW oQoyY9K2t1AMcd+OY5hfTw== X-Google-Smtp-Source: ADFU+vvs+NLdPOFavAz5j6lj6RjwlLqqc+kyKy9RSv7PjfP9rE6u06LEJYD7+wFpe3wpOlq1hE41Wg== X-Received: by 2002:a02:5d89:: with SMTP id w131mr1171921jaa.127.1584587260151; Wed, 18 Mar 2020 20:07:40 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id p189sm278807iof.17.2020.03.18.20.07.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 20:07:39 -0700 (PDT) Received: (nullmailer pid 6632 invoked by uid 1000); Thu, 19 Mar 2020 03:07:34 -0000 Date: Wed, 18 Mar 2020 21:07:34 -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 32/36] dt-bindings: display: convert sharp,ls037v7dw01 to DT Schema Message-ID: <20200319030734.GH29911@bogus> References: <20200315134416.16527-1-sam@ravnborg.org> <20200315134416.16527-33-sam@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200315134416.16527-33-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:44:12PM +0100, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Tony Lindgren > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/sharp,ls037v7dw01.txt | 43 ------------ > .../display/panel/sharp,ls037v7dw01.yaml | 66 +++++++++++++++++++ > 2 files changed, 66 insertions(+), 43 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.txt > create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.txt b/Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.txt > deleted file mode 100644 > index 0cc8981e9d49..000000000000 > --- a/Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.txt > +++ /dev/null > @@ -1,43 +0,0 @@ > -SHARP LS037V7DW01 TFT-LCD panel > -=================================== > - > -Required properties: > -- compatible: "sharp,ls037v7dw01" > - > -Optional properties: > -- label: a symbolic name for the panel > -- enable-gpios: a GPIO spec for the optional enable pin. > - This pin is the INI pin as specified in the LS037V7DW01.pdf file. > -- reset-gpios: a GPIO spec for the optional reset pin. > - This pin is the RESB pin as specified in the LS037V7DW01.pdf file. > -- mode-gpios: a GPIO > - ordered MO, LR, and UD as specified in the LS037V7DW01.pdf file. > - > -Required nodes: > -- Video port for DPI input > - > -This panel can have zero to five GPIOs to configure to change configuration > -between QVGA and VGA mode and the scan direction. As these pins can be also > -configured with external pulls, all the GPIOs are considered optional with holes > -in the array. > - > -Example > -------- > - > -Example when connected to a omap2+ based device: > - > -lcd0: display { > - compatible = "sharp,ls037v7dw01"; > - power-supply = <&lcd_3v3>; > - enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */ > - reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */ > - mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */ > - &gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */ > - &gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */ > - > - port { > - lcd_in: endpoint { > - remote-endpoint = <&dpi_out>; > - }; > - }; > -}; > diff --git a/Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.yaml b/Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.yaml > new file mode 100644 > index 000000000000..56bd510ae398 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.yaml > @@ -0,0 +1,66 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/sharp,ls037v7dw01.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: SHARP LS037V7DW01 TFT-LCD panel > + > +description: | > + This panel can have zero to five GPIOs to configure to change configuration > + between QVGA and VGA mode and the scan direction. As these pins can be also > + configured with external pulls, all the GPIOs are considered optional with holes > + in the array. > + > +maintainers: > + - Tony Lindgren > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: sharp,ls037v7dw01 > + > + label: true > + enable-gpios: true > + reset-gpios: true > + port: true > + power-supply: true > + > + mode-gpios: > + description: | > + GPIO ordered MO, LR, and UD as specified in LS037V7DW01.pdf 3 or... > + This panel can have zero to five GPIOs to configure to 5? > + change configuration between QVGA and VGA mode and the > + scan direction. As these pins can be also configured > + with external pulls, all the GPIOs are considered > + optional with holes in the array. minItems: 3 maxItems: 5 > + > +required: > + - compatible > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + lcd0: display { > + compatible = "sharp,ls037v7dw01"; > + power-supply = <&lcd_3v3>; > + enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */ > + reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */ > + mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */ > + &gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */ > + &gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */ > + > + port { > + lcd_in: endpoint { > + remote-endpoint = <&dpi_out>; > + }; > + }; > + }; > + > +... > -- > 2.20.1 >