Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1007149lqb; Wed, 29 May 2024 18:41:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX0vHYygbeoI+9MZBICfuu00OxIv2kPwFqqCv73fDbJiEynKLUDxguE/+0fP3x4vrzvydmGlmdp2LKmbQ3CG0pBltYq5LxDnDR6B/J3Dg== X-Google-Smtp-Source: AGHT+IHvucUIOHc2yNAHtrIJdZEa6Z52jV4czCQ406WXFlpIdiCt3t51ii4eYhDFTEeLulwOeWSP X-Received: by 2002:aa7:80ca:0:b0:702:2c1e:53c0 with SMTP id d2e1a72fcca58-702311c6960mr684552b3a.26.1717033266844; Wed, 29 May 2024 18:41:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717033266; cv=pass; d=google.com; s=arc-20160816; b=0eK3H67trhxGNWYk32wBRATyzHh++DUAh6vy+UKCfdeRQIDwqWrHi1Igj6aKbpg0rj UqnbCDCqnDaKX84VQJr6jerY/xdKcHjUaXZXdLg0wk/EqKPo6SlRVhXAYI8Vm27+A1+h zAMEPNxrQjtJbjCPN9xIIlNV8KQtas5vKLNSM1EnERYjHpKtkGGxAdWcTpOfzCdpbh2Z NvYLbwunJDXY4+ma7AMmHJJu8eME8CK/O07afmx2AQduVGmG2BUJSdE2pcJoH9k00B8t AobutY5nkwgc4Fd3E6ugVnJl6h4p/H3Kbdk6N2pAU7XRuk0t8P8w0pGF457kJo/W1H/d 4e5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ErLapQqkYUF70ZPHEVqq7CYbi3OWaCay12uuoAyOF+o=; fh=iSoQrEj7f2z99guhVVKAd7kJckTgQKwA5NwRc22YFSo=; b=QcimvoEuMP+J4ip7RRpcRO9kyaZ+6mm/kkP60Y8dy15SSLEktmUIQmiGrRUTTqzBXo AngIZXGPQSK+WzZWDzr571TAuwcoc9sTmIxHKgoYtyzD4geEV1/FDwr2iStxzowyp7WE 0brQDLQwDeL8mwabAhSQQA5ZMoncMmSEDc9qHtD5sZDGQIx/ENgvAWa1rudWLIySBwPN Fbq50mS7aCBlazB4mHYPj3J9Yh/2jVNFS3/Wo+fFHSQ5CNKjYj4Rtran+ofYhTnrV/PJ bul3xleK761ElXXOLq9bBs01pEIDZ/dYo2AQMyY0AygCQTPOsma0z51dHvQGcc7s7gtL LQjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=GJCyeMjh; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-194851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194851-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-70224f84d04si1461501b3a.174.2024.05.29.18.41.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 18:41:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=GJCyeMjh; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-194851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194851-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0198C284BF0 for ; Thu, 30 May 2024 01:40:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68CD0208BC; Thu, 30 May 2024 01:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="GJCyeMjh" Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23AC11BF3A; Thu, 30 May 2024 01:40:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717033223; cv=none; b=CyUJn9WeZ6CR4Llb4S6CyH13DoxFoy2GgBK1O7+LvVKnpus8s3vQI5qj9ofrzwliK6fvKlA0IUwpHsrUlerVlQYhB0ViJuXkGI86LzjV/0LGjhsnNBW4wFZU6f3s+SCp3d/cyF4BM50u+g8HCVY4aydWjpMuTjUAzPBA7QOJNPo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717033223; c=relaxed/simple; bh=omFm5ce2AOlS/lYSLsthVtR85tT7UUbDCXpxWCjYZQE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IJTFThYEJ8uAvjpUNsdcFzJu0tQx0AVtkjB5Ol8QuF4BjPsVGTAAf4VuVvQt1SinJATFoQuFBN6Ycfue2r6ywb7Wqr5Q7lNInnuPqc1xV27KbqDV6k8HneS0+hzSXhl4VIWDJ+3Yy6RCEjjMsFkDRzgGWYDVNv+0zWMNd5BpklI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=GJCyeMjh; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au 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 67395201EE; Thu, 30 May 2024 09:40:19 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1717033220; bh=ErLapQqkYUF70ZPHEVqq7CYbi3OWaCay12uuoAyOF+o=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=GJCyeMjhaKZQp+DVyfyn+RCjNQk5fZnevTUN4H4qvXsc9qwy5dtqaJiNzHgi2eDBt NcHGJA0u5NKxi9LuO010j1YdBnRPcS0zVTN3/TZbEjtNbkfdw0denWFu63IWIiOpuv B19qQMDM2i8KAzpVRzuwy8aTUO7/kMqGrsfnvSoeZiPiv5O+Z09dQ2cN/9onQaz3cH GBdiSRbcLUqtw/Ped02fX8RD9Qot/OmMz+ZD3wrTGrzxigVKA2JAz4xtZmOjGyv0FI aXs8cU6YRZ6hrJEt5FFllY14G5bZEDa61U2MKNJ4HhD5o8cf8z46VO6bBJ6rcH1n0k 8DHVJ+NwCmwDA== From: Andrew Jeffery Date: Thu, 30 May 2024 11:09:49 +0930 Subject: [PATCH v2 2/2] dt-bindings: gpio: aspeed,sgpio: Specify #interrupt-cells Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240530-dt-warnings-gpio-sgpio-interrupt-cells-v2-2-912cd16e641f@codeconstruct.com.au> References: <20240530-dt-warnings-gpio-sgpio-interrupt-cells-v2-0-912cd16e641f@codeconstruct.com.au> In-Reply-To: <20240530-dt-warnings-gpio-sgpio-interrupt-cells-v2-0-912cd16e641f@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 Squash warnings such as: arch/arm/boot/dts/aspeed/aspeed-ast2500-evb.dtb: sgpio@1e780200: '#interrupt-cells' does not match any of the regexes: 'pinctrl-[0-9]+' Also, mark #interrupt-cells as required. The kernel devicetrees already specified it where compatible nodes were defined, and u-boot pulls in the kernel devicetrees, so this should have minimal practical impact. Signed-off-by: Andrew Jeffery --- Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml index 34cdf1ad9c73..1046f0331c09 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 @@ -60,6 +63,7 @@ required: - '#gpio-cells' - interrupts - interrupt-controller + - '#interrupt-cells' - ngpios - clocks - bus-frequency @@ -77,6 +81,7 @@ examples: reg = <0x1e780200 0x0100>; clocks = <&syscon ASPEED_CLK_APB>; interrupt-controller; + #interrupt-cells = <2>; ngpios = <80>; bus-frequency = <12000000>; }; -- 2.39.2