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 49DE6C4332B for ; Thu, 19 Mar 2020 03:11:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1489820773 for ; Thu, 19 Mar 2020 03:11:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584587473; bh=eiLH/3LVgc3XzpQHPrw68YL38C6bcgQoGQupWJ7fvrU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=vtNqCoaO/ejwDGuTwykAlJ3gR8+ak/cZfWVZahL2w94lkhqKOiRKwfmU+I/QYFvND hovTLcUHNXLiUPophycZ0QAVat+AYCYFypbUn7/C4uvLZbfsx0/H0io8cSOdEo3Q3Z 0AEeAPdAJn9HPSoJcGFvdbBEdGl0jMApFSzwYr1w= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726809AbgCSDLM (ORCPT ); Wed, 18 Mar 2020 23:11:12 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:40774 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbgCSDLM (ORCPT ); Wed, 18 Mar 2020 23:11:12 -0400 Received: by mail-il1-f196.google.com with SMTP id p12so886013ilm.7; Wed, 18 Mar 2020 20:11:11 -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=J+0LKz/6lSN9Mmuvfliw6x06SgGAqZYO0grtLAW3j6U=; b=nXvg518YAFbV9DjTogMhcW8gM3qUbTULAg2Zhlo7maUl/mgsFPCJ6ovTDAEqRLgzl1 hwz1Nj5MAnPIP6vD90HeaIz07rh9xVfWq4VezoJoKxcBWP5J3SeK6TxtR5u0Pu4Gibv8 bblTFRy2MjYzmhXPzkW4Kcu+p2eld3atlnsjWqIP65wZU+26bkGutFJpghV/cXakcM93 VpwhFj1ADuVWggb/A4xi1fpAiPeWeOwQB5ZuK7btkfYu7J35B67L07jh7KE8oNWJjNRo Q7OI9wUlwVbJJZDlY2xQYfCBRrhq5pXfQ5r63JeXqUy8ueatSx7LZaFl/eqmXUh2LV8B xKEQ== X-Gm-Message-State: ANhLgQ2HW5lV4nhxeGyOvlJIfOM/wv051othX6bFl6ZJp/0rzKjDeX9S vw6v4OEdfrnlXueJ7VBXiw== X-Google-Smtp-Source: ADFU+vszxBuKK7lsj5bUamMMz4xX5tBX0FIRFTriRVyf3HZunP/b/Jfg3ti57aekAIMoKMFMzE3f8A== X-Received: by 2002:a92:d70e:: with SMTP id m14mr1224873iln.30.1584587470975; Wed, 18 Mar 2020 20:11:10 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id 10sm336743ilb.45.2020.03.18.20.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 20:11:10 -0700 (PDT) Received: (nullmailer pid 11458 invoked by uid 1000); Thu, 19 Mar 2020 03:11:06 -0000 Date: Wed, 18 Mar 2020 21:11:06 -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 36/36] dt-bindings: display: convert olimex,lcd-olinuxino to DT Schema Message-ID: <20200319031106.GI29911@bogus> References: <20200315134416.16527-1-sam@ravnborg.org> <20200315134416.16527-37-sam@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200315134416.16527-37-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:16PM +0100, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Stefan Mavrodiev > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/olimex,lcd-olinuxino.txt | 42 ----------- > .../display/panel/olimex,lcd-olinuxino.yaml | 70 +++++++++++++++++++ > 2 files changed, 70 insertions(+), 42 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt > create mode 100644 Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt b/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt > deleted file mode 100644 > index a89f9c830a85..000000000000 > --- a/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt > +++ /dev/null > @@ -1,42 +0,0 @@ > -Binding for Olimex Ltd. LCD-OLinuXino bridge panel. > - > -This device can be used as bridge between a host controller and LCD panels. > -Currently supported LCDs are: > - - LCD-OLinuXino-4.3TS > - - LCD-OLinuXino-5 > - - LCD-OLinuXino-7 > - - LCD-OLinuXino-10 > - > -The panel itself contains: > - - AT24C16C EEPROM holding panel identification and timing requirements > - - AR1021 resistive touch screen controller (optional) > - - FT5x6 capacitive touch screnn controller (optional) > - - GT911/GT928 capacitive touch screen controller (optional) > - > -The above chips share same I2C bus. The EEPROM is factory preprogrammed with > -device information (id, serial, etc.) and timing requirements. > - > -Touchscreen bingings can be found in these files: > - - input/touchscreen/goodix.txt > - - input/touchscreen/edt-ft5x06.txt > - - input/touchscreen/ar1021.txt > - > -Required properties: > - - compatible: should be "olimex,lcd-olinuxino" > - - reg: address of the configuration EEPROM, should be <0x50> > - - power-supply: phandle of the regulator that provides the supply voltage > - > -Optional properties: > - - enable-gpios: GPIO pin to enable or disable the panel > - - backlight: phandle of the backlight device attacked to the panel > - > -Example: > -&i2c2 { > - panel@50 { > - compatible = "olimex,lcd-olinuxino"; > - reg = <0x50>; > - power-supply = <®_vcc5v0>; > - enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; > - backlight = <&backlight>; > - }; > -}; > diff --git a/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml b/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml > new file mode 100644 > index 000000000000..22d664abd552 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml > @@ -0,0 +1,70 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Binding for Olimex Ltd. LCD-OLinuXino bridge panel. > + > +maintainers: > + - Stefan Mavrodiev > + > +description: | > + This device can be used as bridge between a host controller and LCD panels. > + Currently supported LCDs are: > + - LCD-OLinuXino-4.3TS > + - LCD-OLinuXino-5 > + - LCD-OLinuXino-7 > + - LCD-OLinuXino-10 > + > + The panel itself contains: > + - AT24C16C EEPROM holding panel identification and timing requirements > + - AR1021 resistive touch screen controller (optional) > + - FT5x6 capacitive touch screnn controller (optional) > + - GT911/GT928 capacitive touch screen controller (optional) > + > + The above chips share same I2C bus. The EEPROM is factory preprogrammed with > + device information (id, serial, etc.) and timing requirements. > + > + Touchscreen bingings can be found in these files: > + - input/touchscreen/goodix.yaml > + - input/touchscreen/edt-ft5x06.txt > + - input/touchscreen/ar1021.txt > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: olimex,lcd-olinuxino > + > + backlight: true > + enable-gpios: true > + power-supply: true > + reg: true > + > +required: > + - compatible > + - reg > + - power-supply > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + i2c2 { i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + panel@50 { > + compatible = "olimex,lcd-olinuxino"; > + reg = <0x50>; > + power-supply = <®_vcc5v0>; > + enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; > + backlight = <&backlight>; > + }; > + }; > + > +... > -- > 2.20.1 >