Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp467366lqb; Wed, 29 May 2024 00:33:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6/LGkOk1AnHkeMX2tDRJDRABj13iTT5LZYO0QJqKB83KF1hEXCdouXAmFVjYL3amj5yXHRdGhJTFJ5BEg6aaREpk7dHPobf1krIphfg== X-Google-Smtp-Source: AGHT+IHxu5aSOZm7rMwYEs5AUcW9T/IHxb+tzDZTJ61xNNqzJClEvVewjQWv30RRqdkkxTIH/q1/ X-Received: by 2002:a50:d59d:0:b0:578:656b:d287 with SMTP id 4fb4d7f45d1cf-578656bdd2bmr7898546a12.17.1716968015642; Wed, 29 May 2024 00:33:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716968015; cv=pass; d=google.com; s=arc-20160816; b=QVJ3w/ATIkJI/dCY/wdazrACJFI7RFBgPNkHVQ0W3i2WE57uzI00s64VIvNeWgWUs4 SN4SXx2aU9eyINZy769G3CRbfz2hP9oftqwU8/ud/nVCg4ONdcKKzcGBBSGxTe/MGDN+ rJtRzZZJJezh5jVRArswIJDz8MJQYTy/QgMwZimpFz7o3PrhZ9HuPQe1yuEeIqeei397 EzdBG8f3CUK6TDxdh+TI7zv5UXTpu9lS3yrKlqFzxGJOk60FO4fyIfJn4PlFovTWddUt lJxN8fVStHqOye/+IC9qC37sv0ghO3cuunm5KRbf1FB/TXDmVu0wsnm0hAzr/xwzO4Jb eHeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=VUH9pMZCHlXb4y2bMw3Yri4YYc7F6R84WpdoSgRXrJA=; fh=v3PXu85tCjZPhMnKmtdLZE5NV2QJnZhBjpLslvuZQEI=; b=LzwWEVXbJsM/YGfYGzz4I0yA/luf3jccndQrazGw7h8KyvaBEuFvgyiQIGu9diaErg WFcI4ygAUO1XMAIZTejMDYe6Kxty8i5Q1pO3VN+23PcxMp9AC9vz3wfSg657H44Jw6hP cYvGzCmEAFwwCWRfz2BEQQMVkCMPWsvizsTZJyVxP4HN2d6SD8Jjx1ufNP1/jcNekm+T ASwpTi4n6F+JXaRjvc2OuSGgwo19ZMltW9xIgmD7vmzWX+5RyIOUlFXYTSnjHqjeHlPr JPQfe+LhVCzk+dFeXg8uSc4nRw+hp3la30k460NQSipCddD2clDfJujQE7pSI3CCdLTq mrcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=je673Etj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-193582-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193582-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5785a44c0bbsi5882142a12.34.2024.05.29.00.33.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 00:33:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193582-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=je673Etj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-193582-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193582-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 608691F288F6 for ; Wed, 29 May 2024 07:27:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77AE5167DA4; Wed, 29 May 2024 07:26:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="je673Etj" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 83257167275; Wed, 29 May 2024 07:26:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716967618; cv=none; b=p66cBGYZQq+U3qi6RGMBRtuqwRwjjeHftIyfzmnB9EzxRsxlEE8jbQWnlYO2MJxA7LBtEIqkAk4vVqrLDr3lzbQNQTe7UJWpIieqjGX+4hY1tHAyTFpAsZJVWQ2eJpGGIfRI4xPyEnfTtBsp7LsKCxvTIX9zUZvGI7TGveiNhXY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716967618; c=relaxed/simple; bh=7rrG1rJKUVNczGau5dyk9TuLGcfgsrCcrXb8cFo1LMQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LIpSGjY8R7wLGJ8irDH5K6w18XyvqlXWIb2Jgv5LFjgwtLs7LSXaADiinUjVX38ZwFFLeosSnCCbHYGWA2bEliVpL4POdlgV7y1J240jPBth+0o+0SdLdEqA+2OLHOcBYvANMsSMrHihNLDwboyEm8m2fkupckySU3OTHWisnpk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=je673Etj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88078C2BD10; Wed, 29 May 2024 07:26:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716967618; bh=7rrG1rJKUVNczGau5dyk9TuLGcfgsrCcrXb8cFo1LMQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=je673Etj8yHcqijlAvaeRB3ePWC7uvP0tlrCApZ2shO0+StOhoS8ROJFHPtQ4f1x3 KR7R34NXamjUDvD/6/PqxYw6oSv2iOO3XJrX1aRYX2x9gJimfAp5G0trzQifZ9TemA 0uPkoejD9u/2C+lsw1vHlkKdYCtZ2mAHdec3M8QWUuRXaPbtxjYuw5imB0WyZkiONb aiaVu18Weh0mgkYfnYpYqb3n7IVlp4lyW4B68+L2+nj4bL68moH8Yr8zo0J2xF9sgT PI/TuPjnKAAp4d+P/x9DVV55f1yACnsBDOzzH4AW4ZgFQCepwWQxf99ktgbaykDhKa bKCwTOGY3fDNg== Message-ID: <080c4c05-e795-49d8-a547-d39d10ed8333@kernel.org> Date: Wed, 29 May 2024 09:26:52 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/4] dt-bindings: gpio: aspeed,sgpio: Order properties by DTS style To: Andrew Jeffery , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley 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 References: <20240529-dt-warnings-gpio-sgpio-interrupt-cells-v1-0-91c42976833b@codeconstruct.com.au> <20240529-dt-warnings-gpio-sgpio-interrupt-cells-v1-1-91c42976833b@codeconstruct.com.au> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhA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dt-warnings-gpio-sgpio-interrupt-cells-v1-1-91c42976833b@codeconstruct.com.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29/05/2024 07:13, Andrew Jeffery wrote: > Tidy up the list of required properties and the example node by ordering > the properties in terms of the DTS coding style. > > Signed-off-by: Andrew Jeffery > --- > Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml > index 46bb121360dc..6b15a3a3fb66 100644 > --- a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml > +++ b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml > @@ -51,12 +51,12 @@ properties: > required: > - compatible > - reg > - - gpio-controller > - - '#gpio-cells' > + - clocks > - interrupts > - interrupt-controller > + - gpio-controller > + - '#gpio-cells' > - ngpios > - - clocks > - bus-frequency No, this should have the same order as properties are listed. Don't change it. > > additionalProperties: false > @@ -65,13 +65,13 @@ examples: > - | > #include > sgpio: sgpio@1e780200 { > - #gpio-cells = <2>; > compatible = "aspeed,ast2500-sgpio"; > - gpio-controller; > - interrupts = <40>; > reg = <0x1e780200 0x0100>; > clocks = <&syscon ASPEED_CLK_APB>; > + interrupts = <40>; > interrupt-controller; > + gpio-controller; > + #gpio-cells = <2>; That's just example. I don't find this change useful but churn. Best regards, Krzysztof