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 17127C4332E for ; Thu, 19 Mar 2020 03:11:14 +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 ED74020773 for ; Thu, 19 Mar 2020 03:11:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED74020773 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 6C0226E980; Thu, 19 Mar 2020 03:11:13 +0000 (UTC) Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) by gabe.freedesktop.org (Postfix) with ESMTPS id A055D6E980 for ; Thu, 19 Mar 2020 03:11:11 +0000 (UTC) Received: by mail-il1-f196.google.com with SMTP id l14so875608ilj.8 for ; 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=iZFGAZp39mb4Xmr+KBmnSK4Otv9OJBk1/M0jN2JrQudRmXqWkOUSgsGI5RkWEma1z2 dvUKWaeysDm/+G8NuGt1TLtl+IfxzaLTGK0CX2KQA6llYvCpOl5mVvLwWaLIuc6qRunL KHvVb4Sp4j7eADQ6/EkjMEIdUj7Zqoo+UahQX4oLbzuEDCRXmdRJpQh8hBORbBMhi9/e IG98TBKMYh0TUICBtqvnuPPq3l2gFrRGa99RpJ/GJXqNpj/6HJelafZqUlWXoKTGpXPS 8LpOMN0ksLM10bS0rdC6pMWm5F5da4FixKS+ehusFKztjyHyBxZj/sBnlLcK1Ji2G7v8 ED7g== X-Gm-Message-State: ANhLgQ3hKYyZk30LruNcwP5GfmQwoks9fxUods796vMzFNV2CeCbsWob Htlm814pUUYo1UjuRa2gpw== 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 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-Disposition: inline In-Reply-To: <20200315134416.16527-37-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: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 > _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel