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.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 C24F2C18E5B for ; Sun, 15 Mar 2020 17:58:49 +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 9E95120637 for ; Sun, 15 Mar 2020 17:58:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E95120637 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=puri.sm 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 C0A3B89214; Sun, 15 Mar 2020 17:58:47 +0000 (UTC) Received: from honk.sigxcpu.org (honk.sigxcpu.org [24.134.29.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id D76ED89214 for ; Sun, 15 Mar 2020 17:58:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id EBD7BFB03; Sun, 15 Mar 2020 18:58:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QEgVtUjIBhwL; Sun, 15 Mar 2020 18:58:40 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 62A474117D; Sun, 15 Mar 2020 18:58:39 +0100 (CET) Date: Sun, 15 Mar 2020 18:58:39 +0100 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Sam Ravnborg Subject: Re: [PATCH v1 19/36] dt-bindings: display: convert rocktech,jh057n00900 to DT Schema Message-ID: <20200315175839.GA4953@bogon.m.sigxcpu.org> References: <20200315134416.16527-1-sam@ravnborg.org> <20200315134416.16527-20-sam@ravnborg.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200315134416.16527-20-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 , 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 , Jonathan Bakker , Brian Masney , devicetree@vger.kernel.org, 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, On Sun, Mar 15, 2020 at 02:43:59PM +0100, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: "Guido G=FCnther" > Cc: Purism Kernel Team > Cc: Thierry Reding > Cc: Sam Ravnborg Reviewed-by: Guido G=FCnther Thanks! -- Guido > --- > .../display/panel/rocktech,jh057n00900.txt | 23 -------- > .../display/panel/rocktech,jh057n00900.yaml | 57 +++++++++++++++++++ > 2 files changed, 57 insertions(+), 23 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/panel/rockt= ech,jh057n00900.txt > create mode 100644 Documentation/devicetree/bindings/display/panel/rockt= ech,jh057n00900.yaml > = > diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,jh0= 57n00900.txt b/Documentation/devicetree/bindings/display/panel/rocktech,jh0= 57n00900.txt > deleted file mode 100644 > index a372c5d84695..000000000000 > --- a/Documentation/devicetree/bindings/display/panel/rocktech,jh057n0090= 0.txt > +++ /dev/null > @@ -1,23 +0,0 @@ > -Rocktech jh057n00900 5.5" 720x1440 TFT LCD panel > - > -Required properties: > -- compatible: should be "rocktech,jh057n00900" > -- reg: DSI virtual channel of the peripheral > -- reset-gpios: panel reset gpio > -- backlight: phandle of the backlight device attached to the panel > -- vcc-supply: phandle of the regulator that provides the vcc supply volt= age. > -- iovcc-supply: phandle of the regulator that provides the iovcc supply > - voltage. > - > -Example: > - > - &mipi_dsi { > - panel@0 { > - compatible =3D "rocktech,jh057n00900"; > - reg =3D <0>; > - backlight =3D <&backlight>; > - reset-gpios =3D <&gpio3 13 GPIO_ACTIVE_LOW>; > - vcc-supply =3D <®_2v8_p>; > - iovcc-supply =3D <®_1v8_p>; > - }; > - }; > diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,jh0= 57n00900.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,jh= 057n00900.yaml > new file mode 100644 > index 000000000000..827417bbff63 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/rocktech,jh057n0090= 0.yaml > @@ -0,0 +1,57 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/rocktech,jh057n00900.ya= ml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Rocktech jh057n00900 5.5" 720x1440 TFT LCD panel > + > +maintainers: > + - Guido G=FCnther > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: rocktech,jh057n00900 > + > + reg: true > + reset-gpios: true > + backlight: true > + > + vcc-supply: > + description: The regulator that provides the vcc supply voltage > + > + iovcc-supply: > + description: The regulator that provides the iovcc supply voltage > + > +required: > + - compatible > + - reg > + - reset-gpios > + - backlight > + - vcc-supply > + - iovcc-supply > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + dsi { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + panel@0 { > + compatible =3D "rocktech,jh057n00900"; > + reg =3D <0>; > + backlight =3D <&backlight>; > + reset-gpios =3D <&gpio3 13 GPIO_ACTIVE_LOW>; > + vcc-supply =3D <®_2v8_p>; > + iovcc-supply =3D <®_1v8_p>; > + }; > + }; > + > +... > -- = > 2.20.1 > = _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel