From patchwork Wed May 29 05:13:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 13677820 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 0A2F8C25B7C for ; Wed, 29 May 2024 05:14:32 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MmD4DaF+VFnwZxhtXRZ7xxrZJ2lu/uMMctBUGlHBn9g=; b=xzoAfC0GPMp1iV c/J5ElOOoEymblJz/pAfue9QhXyTA8JwUmdc1EHTZSgwqnf1I7khhOWrzFBlt0KPk+7zcc+3jUAqd +3ycjDvHPpzdLyhZpzo5oWgQSjPWK8amhJQRKYCZyBYUbOhM98eI1lAtV+UTNkH8NN9xcbRnxbkTx Arf5gmpilV0vwuE2qt2TxZj4A7UlEM/8MZkv8xBNC9ytbWA8onzZQYzMEP4k5fJMG1lLwL6PHJM76 MGrIm4q9TuzNQEPYktTSAqB/yiPHCeYozNq5NYcNPppBO300C33Sm6yeMHOeQtZOopYDG4uu3B69M 7uvSrccZ42xNoVIx1JhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCBdm-00000002qr8-0dDG; Wed, 29 May 2024 05:14:22 +0000 Received: from pi.codeconstruct.com.au ([203.29.241.158] helo=codeconstruct.com.au) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCBdR-00000002qhi-2bjL for linux-arm-kernel@lists.infradead.org; Wed, 29 May 2024 05:14:04 +0000 Received: from [127.0.1.1] (ppp118-210-171-248.adl-adc-lon-bras34.tpg.internode.on.net [118.210.171.248]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 43F322024D; Wed, 29 May 2024 13:13:49 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1716959629; bh=RM0WLi2RJAK84kDk7oeF/Th0CqQkfxxrTkSFxmoFxho=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=T5l8q/JkQhlJqQvasahZe8N9NJFmSYLuQ0yU3G9i4C5vTUCBKyMD7XHhRpPFfaIpM Ts5bK7T26S0UExzICplw4oGdsJS6tlHY+dJnNPlMKpUlZdC6IrtQSaFBpyTZZvtkCR aDIFiQqPBcRsGLsJqmC27MMCw2XO/6jSyeOyldx84q4IipV53vuytBBgqwE1sjFPRG YVxszLFo6dYlDUmpXt+Lp0N3z90kQ3AhH+3/YqXhWBY8vVXdmguaX/KKhtDNDrHMHj Jt9p+1+z8nc5vytFxAwoqp1AYpXglN59qW28cBWwFusHhQY+PB1CN9hQU6Ju+8us31 IL2hqk104VfAg== From: Andrew Jeffery Date: Wed, 29 May 2024 14:43:22 +0930 Subject: [PATCH 3/4] dt-bindings: gpio: aspeed,sgpio: Specify #interrupt-cells MIME-Version: 1.0 Message-Id: <20240529-dt-warnings-gpio-sgpio-interrupt-cells-v1-3-91c42976833b@codeconstruct.com.au> References: <20240529-dt-warnings-gpio-sgpio-interrupt-cells-v1-0-91c42976833b@codeconstruct.com.au> In-Reply-To: <20240529-dt-warnings-gpio-sgpio-interrupt-cells-v1-0-91c42976833b@codeconstruct.com.au> To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240528_221401_944564_ABDD1AC6 X-CRM114-Status: UNSURE ( 8.52 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Squash warnings such as: ``` /home/andrew/src/kernel.org/linux/build.aspeed_g5/arch/arm/boot/dts/aspeed/aspeed-ast2500-evb.dtb: sgpio@1e780200: '#interrupt-cells' does not match any of the regexes: 'pinctrl-[0-9]+' ``` Signed-off-by: Andrew Jeffery --- Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml index fe27b5d01e80..02c02ef97565 100644 --- a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml +++ b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml @@ -46,6 +46,9 @@ properties: interrupt-controller: true + '#interrupt-cells': + const: 2 + clocks: maxItems: 1 @@ -75,6 +78,7 @@ examples: clocks = <&syscon ASPEED_CLK_APB>; interrupts = <40>; interrupt-controller; + #interrupt-cells = <2>; gpio-controller; #gpio-cells = <2>; ngpios = <80>;