Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4088550iog; Tue, 28 Jun 2022 08:44:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tjeszQpQLRDpXjA9uyn86w05ht7gzJ17BPijYfhkLIa0fge7VyZAqP+2JCzc6lSoRtdJZ1 X-Received: by 2002:a17:902:b592:b0:168:b8ee:8166 with SMTP id a18-20020a170902b59200b00168b8ee8166mr4300328pls.156.1656431089289; Tue, 28 Jun 2022 08:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656431089; cv=none; d=google.com; s=arc-20160816; b=xGQvZGby0+v/Ks87lx7+0j53524DnO2jMHEwZ8W860MFI3Et5XpgBPMgvth4cghQ7j C7gNi3LXjLzVSvrgJD58fagu9i1916EHJfEMFxaLmRA53C+GdmaoL9Q4AZTVRpGI5AdB wb2rJpfCFvnZ1Xprue49OFaHTXr6NzCw0hBuah9xZkxVAsZg6QN2T1csijeInhHod7Z3 yxjda1HqZ5QWoGtnldlKGSaCXFmBGgHIwbpD7SbL0fPE08rIB1dkbM39t+g2f58VfH7t QdSb6KV7QW6fRSVxr3cBbRV1gS9Vk+OzSIZDUO6XGYJgW0xUtTj3w0Z5I7/etdo/Uj4E +Ngw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=P0sqvBQfXJBUKI8lNIKrD1HNYte6pbUWWSD0At9sAug=; b=0nvT4Z5W1qmn6fiF03oGmB3ikww8SeuY6l+tF3ZbywDqXcTXaaL6zBmnBcS3fUzJAj UluqPXGUyEU8LMt2k39cL1dxcmdE4AJjnX72dEqMrmTCSiiwKI8bvx9aJbMcqaOAhiD3 WOazZNdagFBgpfI0ToQAbyvC+HQoGeC2Z/7DGc6IIZMt20VvGjkOwDoD/Yr68Udr0mOB X9pTzlQoTfYaj1rmnjK4A5o9U/rH0M75zi8fjP+pIa3nlkhKm43UVFkWKoGemFqP9tRt qmV0RBCLi9jaL3loHkvqNKOhWO+WzuxCLohx10jKZcnR+y9uTDE5VGN6jSe46khxWPup a49w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w69-20020a638248000000b0040c76b0efdesi18309900pgd.711.2022.06.28.08.44.36; Tue, 28 Jun 2022 08:44:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347769AbiF1PEy convert rfc822-to-8bit (ORCPT + 99 others); Tue, 28 Jun 2022 11:04:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347757AbiF1PEv (ORCPT ); Tue, 28 Jun 2022 11:04:51 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E988024942; Tue, 28 Jun 2022 08:04:48 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o6ClP-0005Ih-K7; Tue, 28 Jun 2022 17:04:27 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Vinod Koul , Liam Girdwood , Mark Brown , Serge Semin , Daniel Lezcano , Palmer Dabbelt , Palmer Dabbelt , linux-riscv@lists.infradead.org Cc: Thomas Gleixner , Paul Walmsley , Albert Ou , Conor Dooley , Masahiro Yamada , Damien Le Moal , Geert Uytterhoeven , Niklas Cassel , Dillon Min , Heng Sia , Jose Abreu , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, linux-riscv@lists.infradead.org, Conor Dooley Subject: Re: [PATCH v2 01/16] dt-bindings: display: convert ilitek,ili9341.txt to dt-schema Date: Tue, 28 Jun 2022 17:04:26 +0200 Message-ID: <22692709.6Emhk5qWAg@diego> In-Reply-To: <3361801.QJadu78ljV@diego> References: <20220627194003.2395484-1-mail@conchuod.ie> <20220627194003.2395484-2-mail@conchuod.ie> <3361801.QJadu78ljV@diego> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 28. Juni 2022, 17:00:56 CEST schrieb Heiko St?bner: > Hi Conor, > > Am Montag, 27. Juni 2022, 21:39:49 CEST schrieb Conor Dooley: > > From: Conor Dooley > > > > A dt-schema binding for the Ilitek ili9341 was created as > > panel/ilitek,ili9341.yaml but the txt binding was ignored in the > > process. Move the remaining items in the txt binding to the yaml one & > > delete it. > > > > The example in the txt binding has a spi-max-frequency which disagrees > > with the yaml replacement (and its own documentation) so change that to > > conform with the binding. There are no users in tree of the Adafruit > > yx240qv29 to check against. > > > > Link: https://cdn-learn.adafruit.com/assets/assets/000/046/879/original/SPEC-YX240QV29-T_Rev.A__1_.pdf > > Signed-off-by: Conor Dooley > > in your v1 you already got a [0] > Reviewed-by: Rob Herring > for this patch > > Looking at the diffstat, which didn't change, you should > include such tags in followup revisions, to prevent > reviewers from double efforts. and now I see that the review actually happened _after_ v2 was send ;-) > [0] https://lore.kernel.org/r/20220627232054.GA3155668-robh@kernel.org > > > --- > > .../bindings/display/ilitek,ili9341.txt | 27 ----------- > > .../display/panel/ilitek,ili9341.yaml | 48 +++++++++++++------ > > 2 files changed, 34 insertions(+), 41 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/display/ilitek,ili9341.txt > > > > diff --git a/Documentation/devicetree/bindings/display/ilitek,ili9341.txt b/Documentation/devicetree/bindings/display/ilitek,ili9341.txt > > deleted file mode 100644 > > index 169b32e4ee4e..000000000000 > > --- a/Documentation/devicetree/bindings/display/ilitek,ili9341.txt > > +++ /dev/null > > @@ -1,27 +0,0 @@ > > -Ilitek ILI9341 display panels > > - > > -This binding is for display panels using an Ilitek ILI9341 controller in SPI > > -mode. > > - > > -Required properties: > > -- compatible: "adafruit,yx240qv29", "ilitek,ili9341" > > -- dc-gpios: D/C pin > > -- reset-gpios: Reset pin > > - > > -The node for this driver must be a child node of a SPI controller, hence > > -all mandatory properties described in ../spi/spi-bus.txt must be specified. > > - > > -Optional properties: > > -- rotation: panel rotation in degrees counter clockwise (0,90,180,270) > > -- backlight: phandle of the backlight device attached to the panel > > - > > -Example: > > - display@0{ > > - compatible = "adafruit,yx240qv29", "ilitek,ili9341"; > > - reg = <0>; > > - spi-max-frequency = <32000000>; > > - dc-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; > > - reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; > > - rotation = <270>; > > - backlight = <&backlight>; > > - }; > > diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml > > index 6058948a9764..94ca92878434 100644 > > --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml > > +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml > > @@ -23,6 +23,7 @@ properties: > > - enum: > > # ili9341 240*320 Color on stm32f429-disco board > > - st,sf-tc240t-9370-t > > + - adafruit,yx240qv29 > > - const: ilitek,ili9341 > > > > reg: true > > @@ -47,31 +48,50 @@ properties: > > vddi-led-supply: > > description: Voltage supply for the LED driver (1.65 .. 3.3 V) > > > > -additionalProperties: false > > +unevaluatedProperties: false > > > > required: > > - compatible > > - reg > > - dc-gpios > > - - port > > + > > +if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - st,sf-tc240t-9370-t > > +then: > > + required: > > + - port > > > > examples: > > - |+ > > + #include > > spi { > > #address-cells = <1>; > > #size-cells = <0>; > > panel: display@0 { > > - compatible = "st,sf-tc240t-9370-t", > > - "ilitek,ili9341"; > > - reg = <0>; > > - spi-3wire; > > - spi-max-frequency = <10000000>; > > - dc-gpios = <&gpiod 13 0>; > > - port { > > - panel_in: endpoint { > > - remote-endpoint = <&display_out>; > > - }; > > - }; > > - }; > > + compatible = "st,sf-tc240t-9370-t", > > + "ilitek,ili9341"; > > + reg = <0>; > > + spi-3wire; > > + spi-max-frequency = <10000000>; > > + dc-gpios = <&gpiod 13 0>; > > + port { > > + panel_in: endpoint { > > + remote-endpoint = <&display_out>; > > + }; > > + }; > > + }; > > + display@1{ > > + compatible = "adafruit,yx240qv29", "ilitek,ili9341"; > > + reg = <1>; > > + spi-max-frequency = <10000000>; > > + dc-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; > > + reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; > > + rotation = <270>; > > + backlight = <&backlight>; > > }; > > + }; > > ... > > > >