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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72401C433F5 for ; Tue, 14 Dec 2021 15:22:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject: References:In-Reply-To:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iBhHJkEjsUK45NU773ZTa/X3OPJERaZvHP2vUT+oac4=; b=Dz6Hbd0WrrfTIg 3fP81NyH4NeU2G+bPsVwKhXxg72G9+iZhijaPq8v2pNuxoF5Xx87PMO5/ZOlaK6D9HQJw1ubEGhnO 6IBGEWVolUS0LqFIbOYzaNCbm/9TOZbACllZ1Lj+D9/044u6JtSGOTTUWx1Qz6pm9Ub6/KEtRgl5P 3wSZ3dggtGS0/0EDh57aBfbBnLnnL4edcJtSE1VsOvvbwWfneoaI0SCJfLpsia5xD5KpnmeUcbIa7 8Q8Xxtp+uETk03IntcBfozBYbRNQK+0gdX0/k1iIKEsUklley5/fw+qw5EEzktj29T+YiRdlpHzFU RHG3Z7R0K52wMnLd1Znw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mx9cU-00Edg8-G0; Tue, 14 Dec 2021 15:21:35 +0000 Received: from mail-oi1-f172.google.com ([209.85.167.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mx9cO-00EdeN-1g for linux-arm-kernel@lists.infradead.org; Tue, 14 Dec 2021 15:21:29 +0000 Received: by mail-oi1-f172.google.com with SMTP id 7so27508695oip.12 for ; Tue, 14 Dec 2021 07:21:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=CeVTJxVLieMM1wNrzU3l7k4wN5m7Qg+xX9F3SbifJyk=; b=6jUdxDE5TKEFK+lx+6//eaLpFqqU44amKvuOh0Sktr9WfidGH8eWQP7nyUTLDVKM3/ jzP1Gi9pQtlY4IOkyxb56Hne5c4rpojt4SO251URuBb9O263BKcallZC7rcHtd1nqg0E Xhe2OiGJ4FGBO+h3oNDC/BL8AIudlT977sQkVCFzk6zemu5wOQQnkFoBt96+Rvra/Qh9 RDYey1p+baayCvR90Vd0Gr8xI9awzfb49f2T0iNLW4s2jN7t23MfIvr9gnmbe6enjoU+ /dMW0flJHShxKPCCGvehCcKAodHrHZTpXL5JzzsFZPs4GUlqHu/kGWZnOcBHaf2e/hHa R50w== X-Gm-Message-State: AOAM532c8K7q9+Vu4+3ABtwi9BUriruTK+3vNDl+cIQh+Bi6SCmYqEu3 4UxjOZa7Z+3KZK+hgXCqvA== X-Google-Smtp-Source: ABdhPJxJLKiNRfmfOx7gj4LnEZr9eaLimLXHtgbjhIGu9Ogs1oF3YghVqWH6ACnV/L59+f+nO5j8pA== X-Received: by 2002:a05:6808:10c9:: with SMTP id s9mr4679639ois.23.1639495286921; Tue, 14 Dec 2021 07:21:26 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id l27sm15514ota.26.2021.12.14.07.21.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Dec 2021 07:21:25 -0800 (PST) Received: (nullmailer pid 3397588 invoked by uid 1000); Tue, 14 Dec 2021 15:21:25 -0000 From: Rob Herring To: Vladimir Oltean Cc: devicetree@vger.kernel.org, Rasmus Villemoes , Zhiqiang Hou , Marc Zyngier , linux-kernel@vger.kernel.org, Shawn Guo , Biwen Li , linux-arm-kernel@lists.infradead.org, Rob Herring , Kurt Kanzenbach , Li Yang In-Reply-To: <20211214013800.2703568-11-vladimir.oltean@nxp.com> References: <20211214013800.2703568-1-vladimir.oltean@nxp.com> <20211214013800.2703568-11-vladimir.oltean@nxp.com> Subject: Re: [RFC PATCH devicetree 10/10] dt-bindings: ls-extirq: add a YAML schema for the validator Date: Tue, 14 Dec 2021 09:21:25 -0600 Message-Id: <1639495285.020377.3397587.nullmailer@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211214_072128_116730_EEEC337C X-CRM114-Status: GOOD ( 19.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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 On Tue, 14 Dec 2021 03:38:00 +0200, Vladimir Oltean wrote: > This is a conversion of the free-form description of the device tree > bindings to a YAML schema. The description of fsl,extirq-map is best > effort: it looks like the devicetree schema doesn't really like vendor > properties getting too complicated, and puts a bunch of descriptions on > what they can and can't describe. An array of uint32s is the best I > could come up with. It doesn't help, either, that the > schemas/interrupt-controller.yaml definition for interrupt-map, which > I was planning to use as an inspiration, is "true # FIXME", all things > which aren't valid in vendor properties. > > Signed-off-by: Vladimir Oltean > --- > .../interrupt-controller/fsl,ls-extirq.txt | 56 --------- > .../interrupt-controller/fsl,ls-extirq.yaml | 110 ++++++++++++++++++ > 2 files changed, 110 insertions(+), 56 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.txt > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.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: Error: Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.example.dts:34.31-32 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:373: Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.example.dt.yaml] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1413: dt_binding_check] Error 2 doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/1567537 This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel