Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2317575rdb; Thu, 21 Sep 2023 15:17:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtNVqzzuSTlvMqpOZpwACwCQZ6yDDfLE2CigxKr+WBgVf3LmYDTR33LYE0mSbZzrTBE2ct X-Received: by 2002:a05:6808:144c:b0:3a0:3144:dd3a with SMTP id x12-20020a056808144c00b003a03144dd3amr7983922oiv.37.1695334622152; Thu, 21 Sep 2023 15:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695334622; cv=none; d=google.com; s=arc-20160816; b=G1ftpKrNt8c4hY46tSCAwRRDSdgfKk67X9/EjSw1FPMBnfFtj2IbQEYjntdu1yHk42 96bQtSG2aexCKdQXQT0wwT1wZM8C5jU8KHffdThtV2y+kBn0CRC9DSzwvQxl+Tuzt+3x ePM+INyPBVcWnoT3qE2GpqyvF40Hs2C9cuYV7s71Ziqz8iQPlmH+twzgDQdC6LONcJKV uvgRAPmlbF4TvW9WI9xUVTMT/Y9wZedE/PXMAkjgHKC2HvFLCyFgbynsYKblONefSSJ4 Gd0cHPzRuTGlBgPQ8EKbj6+ndJXxJmGsdI9RcQ0sFww+4UAZzCuD31s4wdmd2f4qMCuH CTLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=SR4tc2C8QH3aDcO1yeckMC2gG9159NNEGGM7JsQkgzk=; fh=SqAppvtBLqo6fv2GbXtsLg+5Ms2QXKGUatrg6Ff94r0=; b=EKr1fbdCrQkzD/9je/sSqCTbpV1fCndK6mbDAjDobTMM9QoDI4joyONPIifPcJJ1AB dZa6Bj06pGyPUmqZY6QxpiPeQF0J88v+icMDoWO60u+4/0GH7X15adzIub0uEjj7/rSU lYd4GjXc+AfD5oIqjEPgJTCXY0++eTe/Ep8+vjnnoF8BNP//76SumE/C1jJCFzX6y0ym vMlr+MpjHebkZcis+PP3Iv9QZE5n/8/7UG/R8KoTFlRAhSa97gp7YXf1iAjBT4PNud6r CD6OtFnj6Mn5r5SJPLSQeC3TVDgwktyRaDnp0FTpmxflvNw+usJXoMOIJPGza7zuEeOz N0Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=pUsid1Rn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id t22-20020a056a0021d600b00690bf904bb6si2462419pfj.307.2023.09.21.15.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 15:17:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=pUsid1Rn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4347B81A73CD; Thu, 21 Sep 2023 13:18:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231351AbjIUUQ3 (ORCPT + 99 others); Thu, 21 Sep 2023 16:16:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230350AbjIUUP6 (ORCPT ); Thu, 21 Sep 2023 16:15:58 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E41A58C29; Thu, 21 Sep 2023 10:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Mime-Version:Message-Id:Cc:To:From :Date:subject:date:message-id:reply-to; bh=SR4tc2C8QH3aDcO1yeckMC2gG9159NNEGGM7JsQkgzk=; b=pUsid1Rnlhp5ztvLrvJ2VjuFyI 57xSUwp8u6pCFSszJ5CmjoFo3QvRQYmCyICbPrFPVo+Pg6fkHjFK5Lo/DEGgu74290o8gDkf3mu1w etTvMPT7/P8IvyMVrjCoEaOxQqbNR1j7rpm6Lv/P3XYB9Vue+YojbWFLIyjoe7pqkMWI=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:49192 helo=pettiford) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1qjMRP-0000qN-D5; Thu, 21 Sep 2023 12:22:12 -0400 Date: Thu, 21 Sep 2023 12:22:10 -0400 From: Hugo Villeneuve To: Rob Herring Cc: jirislaby@kernel.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, robh+dt@kernel.org, hvilleneuve@dimonoff.com Message-Id: <20230921122210.39da471eea03ab602ff60824@hugovil.com> In-Reply-To: <169525159032.3189577.8595445478621843850.robh@kernel.org> References: <20230920152015.1376838-1-hugo@hugovil.com> <20230920152015.1376838-5-hugo@hugovil.com> <169525159032.3189577.8595445478621843850.robh@kernel.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Subject: Re: [PATCH 4/4] dt-bindings: sc16is7xx: convert to YAML X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 21 Sep 2023 13:18:06 -0700 (PDT) On Wed, 20 Sep 2023 18:13:10 -0500 Rob Herring wrote: > > On Wed, 20 Sep 2023 11:20:15 -0400, Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > > > Convert binding from text format to YAML. > > > > Additions to original text binding: > > - add rs485 reference. > > > > Signed-off-by: Hugo Villeneuve > > --- > > .../bindings/serial/nxp,sc16is7xx.txt | 118 ---------------- > > .../bindings/serial/nxp,sc16is7xx.yaml | 126 ++++++++++++++++++ > > 2 files changed, 126 insertions(+), 118 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt > > create mode 100644 Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > Documentation/devicetree/bindings/serial/nxp,sc16is7xx.example.dts:27.13-26: Warning (reg_format): /example-0/serial@51:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) > Documentation/devicetree/bindings/serial/nxp,sc16is7xx.example.dts:37.13-26: Warning (reg_format): /example-0/serial@53:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) > Documentation/devicetree/bindings/serial/nxp,sc16is7xx.example.dts:48.13-26: Warning (reg_format): /example-0/serial@54:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) > Documentation/devicetree/bindings/serial/nxp,sc16is7xx.example.dtb: Warning (pci_device_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/serial/nxp,sc16is7xx.example.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/serial/nxp,sc16is7xx.example.dtb: Warning (simple_bus_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/serial/nxp,sc16is7xx.example.dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' > Documentation/devicetree/bindings/serial/nxp,sc16is7xx.example.dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format' Hi Rob, will fix it for V2. I was already using 'make DT_CHECKER_FLAGS=-m dt_binding_check', but I incorrectly introduced a space between DT_SCHEMA_FILES= and the filename, and so it was ignored and all schemas were checked, and I lost the warnings in all the noise. I now have fixed it. Also, if someone is interested, I was trying to specify multiple files with DT_SCHEMA_FILES, and I just found out (after analysing the Makefile) that you need to separate them with the ":" character. It would be a good thing to add it to the documentation, I could submit a patch for this if you like. Thank you, Hugo. > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230920152015.1376838-5-hugo@hugovil.com > > The base for the series is generally the latest rc1. A different dependency > should be noted in *this* patch. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit after running the above command yourself. Note > that DT_SCHEMA_FILES can be set to your schema file to speed up checking > your schema. However, it must be unset to test all examples with your schema. > >