Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1007049lqb; Wed, 29 May 2024 18:40:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCViQEK7cdu9LXcUA7Fn/oYJKGrQL7Bi7fRZyxRnu/1iT1H25IY8JgLb7PS1Jj+w/+cmEOAeQemwzWA/F/XdSru/5wqIPbUwzJArqHjPZw== X-Google-Smtp-Source: AGHT+IFfZc+geY3oQb/nNrN1xOV3KFNOXoecQVsHxr2vHRPyWQYgQvv2qjf1gV/ebtFrND0zQ0/o X-Received: by 2002:a17:90a:c20a:b0:2be:bd:36cc with SMTP id 98e67ed59e1d1-2c1abc126f5mr771542a91.8.1717033245476; Wed, 29 May 2024 18:40:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717033245; cv=pass; d=google.com; s=arc-20160816; b=MFm5b2ROLcro9SNX3IzyW+mgIdrFwl/b/6dAepKs56+MNSE316UewmzjMgGNGEQnnA DYgNRBlWMrO8TAW0pqAyNikm5HHEGsdEXzKaUKD43BSffO3kmK/ZZEtRf6mcqchpiIY6 wyZPwfckt5HPMVj6qrWvGK1zAcoudtkKWv5qch3HrLhkV415acV5zdYDkyOefBOsNHCy rXC1Q7aevZCAtDEmApyefF9gfVMEaF7OJVDJwW6dpaDtLb5DrJPbeFnz2xlmgmz1XTH+ G0Acdf2b/pvi08ITjtSvVgX3wJO7Hl+OzfnN9isAP/v0ht++DQPXox8ws2v4CkOVMyQS Ii2A== 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=1SCvZYb3nhOKFCGFtjKWFoOu9SXIs+4ZnQMej0UWIdI=; fh=BLf5SR3tCISB4JrP64qoMIt3C0bXlwDx8C9k5B+X+kA=; b=kxIaozc7k7oNToe/i3Ez2tj+mA7sLZY7xklZTBa6txjVQGJpVYGuSN0sbe5J/LpjkF TC8Y2tGwqhIXPYaBEoFxVKrAub+Y66KiqoRhCFcQuWN8nwzGSKwEHz31s5cXxvCzmw7T 9xtkIH6C8z9dcC2Tdz6353zniXyZ+tcbICDgKgQPWb4iCnHdhefgc7IAO8PMShsC74uT N2ILcFCNn7YYXAkUjY/ahNfyCCZN+US6QGum313G8+WwPQqUX8YbVOK71NiWWAVoDKkl oM4W3Wd7gI63JfWJ0pJXsbRGPkrAdOdUbCBiFv1+CBNyj5+c6ZStkFsJRT+yA0k+Wxgr Tztg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=RWjkJhrx; 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-194850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194850-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 98e67ed59e1d1-2c1a77ad1basi612168a91.174.2024.05.29.18.40.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 18:40:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194850-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=RWjkJhrx; 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-194850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194850-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 08DA12845C2 for ; Thu, 30 May 2024 01:40:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD07B1CD24; Thu, 30 May 2024 01:40:23 +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="RWjkJhrx" 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 670401BF31; 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=1717033222; cv=none; b=sOzzqA9506Sfrdxjk+eYwjwGpNJovaSWBmpGqZeFeBnID04XZR8CqIOhJEX4nFi4qRjCVDo9ihiHaFQiLBmGCVHgUrBmNpLcBD13JrJMnEGBVtwflmz1jRVJH9knpDt1UpQXHeTQwX6beY280Z7XhOGhWF2NNqFoxYXwmWfppc0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717033222; c=relaxed/simple; bh=JO7wwmqAHXK3bLDBcSGkf4Nurx/Nkn1DnQr2vC+i37c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IEBk7b210Kh9uAGrbdZRnO3k5bC1eQVGaFpEn2X4D2Kzj+0+MphCX+Q1Pw9e53xRArc02rvz2AJbeqRprRj4sIONdRayMdNYdjv5QFJdRxq/z9FEvRVedDl4hbeQDpX3hjjtY/IUX+Q6kL+xgo9QTY35JGZxGCuamNPhT2/aRuY= 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=RWjkJhrx; 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 AC7D12012B; Thu, 30 May 2024 09:40:18 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1717033219; bh=1SCvZYb3nhOKFCGFtjKWFoOu9SXIs+4ZnQMej0UWIdI=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=RWjkJhrxwBcBObJ0K8kU8WL58ykxTlzxaP4Kv/nhclY8RSr0aRrt1m9cIB6vlC5Xb lew55Xvs39WtfhzH/1NjMe0Bi+2fEQ0QVOMN6ybsdChDIf9rwiFcE/kQGMdGFJgspI Wy5wV/47vRSPlF3y2fZpwWeUotNpqvYIBNonZ+G217GZSkX8/VFGm2SqE8kKXriv40 pjUvUSQ2pmlkHRkkAup7FWcqT0Gt958UTtHcY2zsM4MU570RH3ud8ZPMIVyCRw5/+v ILaiFKoeKfeNjFS7f0rQNv9RckE7fU54n3yOnbHFql5x4XJYHVX8b6qTPnIrTVEFQz tF8UXvIKeQRyA== From: Andrew Jeffery Date: Thu, 30 May 2024 11:09:48 +0930 Subject: [PATCH v2 1/2] dt-bindings: gpio: aspeed,sgpio: Specify gpio-line-names 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-1-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, Krzysztof Kozlowski X-Mailer: b4 0.13.0 Some devicetrees specify gpio-line-names in the sgpio node despite it not being defined by the binding. It's a reasonable thing to do, so define the property to squash warnings such as: arch/arm/boot/dts/aspeed/aspeed-bmc-vegman-rx20.dtb: sgpio@1e780200: 'gpio-line-names' does not match any of the regexes: 'pinctrl-[0-9]+' Acked-by: Krzysztof Kozlowski 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 46bb121360dc..34cdf1ad9c73 100644 --- a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml +++ b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml @@ -33,6 +33,11 @@ properties: gpio-controller: true + # Each SGPIO is represented as a pair of input and output GPIOs + gpio-line-names: + minItems: 160 + maxItems: 256 + '#gpio-cells': const: 2 -- 2.39.2