Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp770151ybt; Wed, 1 Jul 2020 09:33:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy6w2VsL3xrdsWiQQcsBZlR2hX25BCkbDWiPBIVSuaVHbo+C+5jNbGrMUoxBH+SMJUApoN X-Received: by 2002:aa7:c657:: with SMTP id z23mr20992681edr.265.1593621184875; Wed, 01 Jul 2020 09:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593621184; cv=none; d=google.com; s=arc-20160816; b=WyF/QCyfIpkYAfS0Nzn0VHxde+Kf7oCPUuf7AfjdKY7GzSG9Cx70ZCVjATd4xA5kpd 5VAIEXWAYUx1MWN/Gm/441zHYyDNMAtWS/xXxIKOOqxGNWmbE1ZEioOqt4fJyZxrxRFx /+TcTbHFqEZ/o53viUf1+lOegs39De+igQfxaOvfwBIY+pcIzRUqWrByEIem8of6QFHj df50fUYtDyZ5x5/k+vj6zyOdfGvng4lD1ohIXdcfzXSYHU8XiyDua+ogjvntxVZoKy6V KGInxkbOfcYHix6DcOuD1Az4m3jqOrtkDE/ZXo8FdPq1aOPjIIzaoTjvcCKje8/lkUa8 8cfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=6pMttNiswRx7DBUMviZHKFaMBYE1MxOHudFrzbBmIdk=; b=GsiSEEbkhev45uL9ZPSlNYpHlciaMl2X1Im1/uOITW5PYumR39qyGFhJfmwR+SbFhC 75eK50/uWKv8ukI1sW+oojuGZsDU26+/lGa7WZTJ8l2Z1r9JMvIOZVAuXltWT9tAmUcM 490mRI2ne1xGhusciY9Cj4b+K2dDCXQ+vNa0wnXkIH/PIoZnm3f2WZZctyDriYP0rf95 1Mt5DFm0X6IaPeVFGnXitjf1kmR9vJX55WvCjGqRWCe/bs3m7bFBvs0o9jFI1AM2h9sB npUw3eLCqtLjRgA561ko8Jtm3WGyTgoThe+mGEy87MZdsaig6mrVFUIEQrOy5OkHot/k +ppA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b="H/T1TXu+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b4si4075923eju.393.2020.07.01.09.32.40; Wed, 01 Jul 2020 09:33:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b="H/T1TXu+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732428AbgGAQcb (ORCPT + 99 others); Wed, 1 Jul 2020 12:32:31 -0400 Received: from vps.xff.cz ([195.181.215.36]:52930 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731770AbgGAQca (ORCPT ); Wed, 1 Jul 2020 12:32:30 -0400 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?= Cc: 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 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-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200701155857.GB174356@bogon.m.sigxcpu.org> X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Guido, On Wed, Jul 01, 2020 at 05:58:57PM +0200, Guido G?nther 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/rocktech,jh057n00900.txt > > create mode 100644 > > Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml > > 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,jh057n00900.txt b/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.txt > > deleted file mode 100644 > > index a372c5d84695..000000000000 > > --- a/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.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 voltage. > > -- iovcc-supply: phandle of the regulator that provides the iovcc supply > > - voltage. > > - > > -Example: > > - > > - &mipi_dsi { > > - panel@0 { > > - compatible = "rocktech,jh057n00900"; > > - reg = <0>; > > - backlight = <&backlight>; > > - reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; > > - vcc-supply = <®_2v8_p>; > > - iovcc-supply = <®_1v8_p>; > > - }; > > - }; > > diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.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,jh057n00900.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 = <1>; > > + #size-cells = <0>; > > + panel@0 { > > + compatible = "rocktech,jh057n00900"; > > + reg = <0>; > > + vcc-supply = <®_2v8_p>; > > + iovcc-supply = <®_1v8_p>; > > + reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; > > + backlight = <&backlight>; > > + }; > > + }; > > +... > > -- > > 2.27.0 > >