Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp743258ybt; Wed, 1 Jul 2020 08:59:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLg7j5NGk0k8B/brWBXqpAkEhXpTMTyNMHnEMSdxDzwq5mlFZs/N232od6Wm7Z/zMm1ksA X-Received: by 2002:a05:6402:1c11:: with SMTP id ck17mr28502712edb.38.1593619190319; Wed, 01 Jul 2020 08:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593619190; cv=none; d=google.com; s=arc-20160816; b=a+sri9ASGP7Pcty8UQjbixd8Jfp2KB3n0pV8h4Gt3OQ8w/Zs4+PxsfvVeg9DsRSM/F q8rO/yOb70aMvj0lLVLNlV6W1VmvZwoF9LXxSIgDgia4Vxx+Hiz/pS2L6gEuLUOT+o3Y Ho1/nQMAPQmKM1BjZOlfjOlMy307lYWlD8YM3DjBbgks3unGAzdO/9BhfcF+kPW02RLG Uy+MnTfqeXcMRkTHS/fneBGC43vnh+YwPM0LnerFmioL4vykb1k0+CwozsW6uJpHM5Al r4/Z41mtPQ06DMBcUFYo/+d8z6Nu5L07wC6a1FMWUODjaBSjL5I+QUaMVMCSj7b1c7W4 XNww== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=r0oNiBkXBXbawRC2qTtN6r8V957w7vwMis1j6kJ90WM=; b=p4aoFa4kJDs6GP2p8JdJ0cgCupTkIP8RmPnGuZeg7L6GDUe6vCbmVGCyqOjosOcuse dXVLdZivuEACRqfMsxZOQtREU+/WtH7jdoCcC4XdfMolaP+5ZjT5NQDvtr0s4G5QxELq g6s2+8t+y62E2Yr9AeHyu0viE2VrqSQHIxXs/KrA6igCE6SbbeddB60bFPHgzhLPgIwi ikqrFd9FMTurh/LjILirm+7IzijGckq3A5gJQENwESMDG2JxbGzc58cErdsHz6Pjtedm T6eM+WtSKASrtl+/9BrGU/Sk1oQxYjo++CF09SDSHVEc7rWANngwwItbhrEWGd9gPuS8 VVdQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x4si3922551edq.506.2020.07.01.08.59.26; Wed, 01 Jul 2020 08:59:50 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732226AbgGAP7D (ORCPT + 99 others); Wed, 1 Jul 2020 11:59:03 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:34168 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729308AbgGAP7D (ORCPT ); Wed, 1 Jul 2020 11:59:03 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id E4648FB04; Wed, 1 Jul 2020 17:58:59 +0200 (CEST) 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 HarL-GLC7aLb; Wed, 1 Jul 2020 17:58:58 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 08F4640972; Wed, 1 Jul 2020 17:58:58 +0200 (CEST) Date: Wed, 1 Jul 2020 17:58:57 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Ondrej Jirman 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: <20200701155857.GB174356@bogon.m.sigxcpu.org> References: <20200701103126.1512615-1-megous@megous.com> <20200701103126.1512615-3-megous@megous.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200701103126.1512615-3-megous@megous.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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 >