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 7C2F2C5478C for ; Tue, 27 Feb 2024 03:41:09 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=2HQMfDzDuZwErfWiIdcp6pTgF1ceSAXMXPJho6HeoQc=; b=c56lWMPnHcyJpN 1qo+WdJoOEKXt9/vHoSr0NAi6j3gJrfL6V2bt4lzroycsqFKdNUJ4Hon3PLk4qXPzyaJLKruVj/yA VZTd66t9C5x7CpZOFUSR/LQggCyOrboSOWkqBjc5rT0cw0vKTw5wcnBbFIJ+8Yg1+10KvU2L8onOY N1mwzvR2PbYxrnVVIRYqZvJ/XCxZZ7OhfgUOhdceZTwFs55x7qdxW9+k4I9gqEzo95PAwA8CadGz1 YR+oYiT11eUnHDNu76ezj0ZpDLpUWDeFWRKL1CTXoWzI/rnBM+0EGP3WTiDCJm8RGzsTCstSQao1H 2WCiwU+qpJXkIPKnMp3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1reoKs-00000003cmp-37CT; Tue, 27 Feb 2024 03:40:54 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1reoKp-00000003clg-1aOQ for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 03:40:52 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id B72E361488; Tue, 27 Feb 2024 03:40:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FFDDC433C7; Tue, 27 Feb 2024 03:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709005250; bh=F7EpFyKjl+IHhn75vKorY4OI7se0+dD77WgdblI6/x0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mcpnKLv33h4/RDikiNfpNAwZoEGni5wy7RwuQuOUWYZ49SjyUiEHngtHF/Ie0byu3 zpsuIyUhjpkniZG2ThzQAmVfzuckmU25CMlnu07msCPm0xA5nxUqrzReC8yNd0vBld huBTwoZQViD7rgdF2SEPq/mNYA/hNRvN10y8GM+M+etVEzSW0iA2W/1i9HQdFG2oI4 Q6xHXFfc+l5TTEYV6q1+uuKcbHLr89FQmlIVZn8+Va3Fb72zXHpAtWTIk6NseIFSLP dY5fghMr+ashA33RN9xeGZNk6adadUcknmYMkKwXvbgtQTqPS4jGFq2UXtg0BaCJWq Huol/qweALfYQ== Date: Mon, 26 Feb 2024 21:40:47 -0600 From: Rob Herring To: Andrew Jeffery Cc: joel@jms.id.au, krzysztof.kozlowski+dt@linaro.org, linux-aspeed@lists.ozlabs.org, brgl@bgdev.pl, linux-arm-kernel@lists.infradead.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, conor+dt@kernel.org Subject: Re: [PATCH v4] dt-bindings: gpio: aspeed,ast2400-gpio: Convert to DT schema Message-ID: <20240227034047.GA2644802-robh@kernel.org> References: <20240227004414.841391-1-andrew@codeconstruct.com.au> <170900020204.2360855.790404478830111761.robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <170900020204.2360855.790404478830111761.robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_194051_529782_7CE3D4FF X-CRM114-Status: GOOD ( 18.75 ) 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: , 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 Mon, Feb 26, 2024 at 08:16:43PM -0600, Rob Herring wrote: > > On Tue, 27 Feb 2024 11:14:14 +1030, Andrew Jeffery wrote: > > Squash warnings such as: > > > > ``` > > arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dtb: /ahb/apb@1e600000/gpio@1e780000: failed to match any schema with compatible: ['aspeed,ast2400-gpio'] > > ``` > > > > Signed-off-by: Andrew Jeffery > > --- > > v4: Add constraints for gpio-line-names, ngpios as requested by Krzysztof: > > https://lore.kernel.org/all/458becdb-fb1e-4808-87b6-3037ec945647@linaro.org/ > > > > Add more examples to exercise constraints. > > > > v3: https://lore.kernel.org/all/20240226051645.414935-1-andrew@codeconstruct.com.au/ > > > > Base on v6.8-rc6, fix yamllint warning > > > > Rob's bot picked the missing `#interrupt-cells` in the example on v2[1]. The > > patch was based on v6.8-rc1, and going back over my shell history I missed > > the following output from `make dt_binding_check`: > > > > ``` > > ... > > LINT Documentation/devicetree/bindings > > usage: yamllint [-h] [-] [-c CONFIG_FILE | -d CONFIG_DATA] [--list-files] [-f {parsable,standard,colored,github,auto}] [-s] [--no-warnings] [-v] [FILE_OR_DIR ...] > > yamllint: error: one of the arguments FILE_OR_DIR - is required > > ... > > ``` > > > > I've rebased on v6.8-rc6 and no-longer see the issue with the invocation > > of `yamllint`. > > > > [1]: https://lore.kernel.org/all/170892197611.2260479.15343562563553959436.robh@kernel.org/ > > > > v2: https://lore.kernel.org/all/20240226031951.284847-1-andrew@codeconstruct.com.au/ > > > > Address feedback from Krzysztof: > > https://lore.kernel.org/all/0d1dd262-b6dd-4d71-9239-8b0aec8cceff@linaro.org/ > > > > v1: https://lore.kernel.org/all/20240220052918.742793-1-andrew@codeconstruct.com.au/ > > > > .../bindings/gpio/aspeed,ast2400-gpio.yaml | 149 ++++++++++++++++++ > > .../devicetree/bindings/gpio/gpio-aspeed.txt | 39 ----- > > 2 files changed, 149 insertions(+), 39 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml > > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-aspeed.txt > > > > 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: > In file included from Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.example.dts:91: > ./scripts/dtc/include-prefixes/dt-bindings/clock/ast2600-clock.h:14: warning: "ASPEED_CLK_GATE_LCLK" redefined > 14 | #define ASPEED_CLK_GATE_LCLK 6 The examples aren't isolated from each other, so you can't have conflicting includes. You'll have to drop some of the examples or drop their use of the conflicting include. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel