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=-5.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 6F34CC433E1 for ; Wed, 1 Jul 2020 16:33:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 3A96020781 for ; Wed, 1 Jul 2020 16:33:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ageKaQ7Y"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=megous.com header.i=@megous.com header.b="H/T1TXu+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A96020781 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=megous.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=u0vFk+A+HZTGXMoy1asJquga8RBFae+sJsRWxzBfHj0=; b=ageKaQ7YUzvP6lT//D/IP5DY4 q26ETqfDLrv9YKWgtZGbrnA/Z9tUvz9dB5L2yUcYeTvuEog4ERTZ6ccjacG2LsUc87IAh5fR8TbZ4 KOXwq8Sey988BXnc0rwiZLIp+zyGfvdrMelzRJ42xwtLVtiA4mAHaOdkADNtpNYowmr2QIGYAzn7B jMDL1QgbdTWxI9A1t5vzF+hHakHTekYOIZ52F9izgdKq7wdxEwsbkSl7IFDzQ131IcMnw2KbY3h+P VXmBm1Id3Nm7Myu4Z+d9axHht9chpP+oWNwti2SoHCBjmEYDxnZzcow4UH84f9vdmoi456mACO80G pIXCJUuaA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqff1-0000Ha-Rj; Wed, 01 Jul 2020 16:32:35 +0000 Received: from vps.xff.cz ([195.181.215.36]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqfev-0000CY-4k for linux-arm-kernel@lists.infradead.org; Wed, 01 Jul 2020 16:32:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1593621147; bh=yQdyiwJG0A0w25TNt5S9+Tyx+rihJlmHrZ5Ch0iuRzo=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=H/T1TXu+32OpzHlT61UjI0935+8p6dAuEkqfx9vm7iFtVjPE4z/J+Zf3Eva+u61dD lhphd6NgFd7dBXdwVuKBgneRowDJ2HWBkotWxkYXj6hEcv5K3Tm/bm1tAPiTooX6et O7zdc3SpFdseCm+TyAwBulGGQ+w+KxdHGPvEHjFc= Date: Wed, 1 Jul 2020 18:32:27 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Guido =?utf-8?Q?G=C3=BCnther?= Subject: Re: [PATCH v6 02/13] dt-bindings: panel: Convert rocktech,jh057n00900 to yaml Message-ID: <20200701163227.on7wo6fo5majket6@core.my.home> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Guido =?utf-8?Q?G=C3=BCnther?= , linux-sunxi@googlegroups.com, Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Purism Kernel Team , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Icenowy Zheng , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Samuel Holland , Martijn Braam , Luca Weiss , Bhushan Shah References: <20200701103126.1512615-1-megous@megous.com> <20200701103126.1512615-3-megous@megous.com> <20200701155857.GB174356@bogon.m.sigxcpu.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200701155857.GB174356@bogon.m.sigxcpu.org> X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200701_123229_597748_79C432E6 X-CRM114-Status: GOOD ( 20.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Purism Kernel Team , Samuel Holland , David Airlie , Linus Walleij , Bhushan Shah , Chen-Yu Tsai , Rob Herring , linux-kernel@vger.kernel.org, Martijn Braam , linux-sunxi@googlegroups.com, Thierry Reding , Maxime Ripard , Daniel Vetter , Sam Ravnborg , Luca Weiss , linux-arm-kernel@lists.infradead.org, Icenowy Zheng Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Guido, On Wed, Jul 01, 2020 at 05:58:57PM +0200, Guido G=FCnther wrote: > Hi Ondrej, > On Wed, Jul 01, 2020 at 12:31:15PM +0200, Ondrej Jirman wrote: > > Convert Rocktech MIPI DSI panel driver from txt to yaml bindings. > > = > > Signed-off-by: Ondrej Jirman > > --- > > .../display/panel/rocktech,jh057n00900.txt | 23 ------- > > .../display/panel/rocktech,jh057n00900.yaml | 66 +++++++++++++++++++ > > 2 files changed, 66 insertions(+), 23 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/display/panel/roc= ktech,jh057n00900.txt > > create mode 100644 > > Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.ya= ml > = > Thanks for the conversion! Shouldn't we switch to `sitronix-st7703.yaml` > as well in this patch? Names of yaml files should be according to one of the compatibles. And thank you for your review of the patches. regards, o. > Cheers, > -- Guido > = > > = > > diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,j= h057n00900.txt b/Documentation/devicetree/bindings/display/panel/rocktech,j= h057n00900.txt > > deleted file mode 100644 > > index a372c5d84695..000000000000 > > --- a/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00= 900.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 vo= ltage. > > -- 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,j= h057n00900.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,= jh057n00900.yaml > > new file mode 100644 > > index 000000000000..928ba42e7f8d > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00= 900.yaml > > @@ -0,0 +1,66 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/display/panel/rocktech,jh057n00900.= yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel > > + > > +maintainers: > > + - Ondrej Jirman > > + > > +description: | > > + Rocktech JH057N00900 is a 720x1440 TFT LCD panel > > + connected using a MIPI-DSI video interface. > > + > > +allOf: > > + - $ref: panel-common.yaml# > > + > > +properties: > > + compatible: > > + const: rocktech,jh057n00900 > > + > > + reg: > > + maxItems: 1 > > + description: DSI virtual channel > > + > > + vcc-supply: > > + description: Panel power supply > > + > > + iovcc-supply: > > + description: I/O voltage supply > > + > > + reset-gpios: > > + description: GPIO used for the reset pin > > + maxItems: 1 > > + > > + backlight: > > + description: Backlight used by the panel > > + $ref: "/schemas/types.yaml#/definitions/phandle" > > + > > +required: > > + - compatible > > + - reg > > + - vcc-supply > > + - iovcc-supply > > + - reset-gpios > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + > > + dsi { > > + #address-cells =3D <1>; > > + #size-cells =3D <0>; > > + panel@0 { > > + compatible =3D "rocktech,jh057n00900"; > > + reg =3D <0>; > > + vcc-supply =3D <®_2v8_p>; > > + iovcc-supply =3D <®_1v8_p>; > > + reset-gpios =3D <&gpio3 13 GPIO_ACTIVE_LOW>; > > + backlight =3D <&backlight>; > > + }; > > + }; > > +... > > -- = > > 2.27.0 > > = _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel