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=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 515AEC433DF for ; Wed, 1 Jul 2020 16:01:00 +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 2683C20780 for ; Wed, 1 Jul 2020 16:01:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KbemRZPd"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Uu0c2e6Q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2683C20780 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=puri.sm 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=iILmWK2jtKnNUBzJ9yIpsfuU/joHkkGZGpn6ESiAAu0=; b=KbemRZPdXUSn6R9c0EqIUIrO8 KbhtqJsFSIAlsJvwRvgvyo9GvgL3uP2lKtUG+PVXEvqGYL6Ydx3kN5LNX8llBQvlxlqFc/7A5CLPm riav/NSAL+uVwm7g++sP0DYrarCFF8b8lraOb7F6ZCPYx8f/YBgD2DTWDXXdxDfn7bgAF1T/3SESJ UCMY+rIS3Ie0zPpL5GPNpEAPQFGYtd1DYfktM7UDK1kpwe6D2v4Yqam3xSCNpekmQUJkmXof3WDS1 J7pdxQ4sn8zkfgC6OArWrB3WJclsSRxW6/TDIAHQuduT4+sJkyT2v9+ZI71h3gHun9ZetZimlR5NH uHjW4zblA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqf8j-0006gx-Uu; Wed, 01 Jul 2020 15:59:13 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqf8h-0006gR-6P for linux-arm-kernel@merlin.infradead.org; Wed, 01 Jul 2020 15:59:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=r0oNiBkXBXbawRC2qTtN6r8V957w7vwMis1j6kJ90WM=; b=Uu0c2e6Qo5UNDDNK2j9zb/WIVh hPMIXJgK7Aa+vmOGMioKZYRiHXRQy3d4QL+zGsyr9aMOnJ0oizkigOgc4R95/apJj/qVuNi4Dw+7h bjjDFP/ZyIFSne0uvlQwgBnJHp8n0MD9FVS1H83znLWRyD/iemv/9l3KqASxfU7zAPjpPJZWiJA7E Z26ttTkB8Ypy3eth4INGo+XoBFtNLd5zWoOLLaTvvHP/Mfvqx/K1ecOx6cYvTxv1TPhFpG17ymtKK qcF+TdgI6igbba4MjemQh+kALUZEM8ge3vSZXgv5dmGD8URxcA/1KV7oyD/2ConSnF+vmQzsR8nuj JCrXUsPw==; Received: from honk.sigxcpu.org ([24.134.29.49]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqf8d-0005q0-0V for linux-arm-kernel@lists.infradead.org; Wed, 01 Jul 2020 15:59:10 +0000 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 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-Disposition: inline In-Reply-To: <20200701103126.1512615-3-megous@megous.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200701_165907_461044_F25AFC40 X-CRM114-Status: GOOD ( 22.42 ) 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="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel