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 A6CB3CCF9E3 for ; Wed, 22 Oct 2025 07:06:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=51t1/iNVM2HBzkz2QiorIEzKBR09AqSE5Y7aDiEpWvU=; b=EEkKlShPYxOqUnbrrA5Asmb8s3 1rJvvQUp1To1jGdBt3wCf+yXqedNvoBr48ISfQTwPLJxHbYMXo/qc8YAXG9K0jRJSgTpkV4/SxRYr +jYLVyrSwcaUXBD0zNZ8Dp7DRC7ZN51CkQBlKw/24c83qvDlwunlAqMXY3fbPgqpSktDlxEBSm0wa /7OeZ5ZPhFdjpMhXPJCHU+DLqKhBQbUOPg7hYRWCX4EUf0fkJ78HSuzIxTHOWwu3AF0NiFH3MfaDq MwXRJDa7iqJY9i1Gqb8JVR7D9iKP7LCmaV4GEgTxhwe8ykn35qKxMWZqPWxDM0F3Ei13zNgIXHbGO tHzBeLHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vBSv1-00000001nFS-2k49; Wed, 22 Oct 2025 07:05:59 +0000 Received: from mail.aspeedtech.com ([211.20.114.72] helo=TWMBX01.aspeed.com) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vBSut-00000001n6i-1VNn for linux-arm-kernel@lists.infradead.org; Wed, 22 Oct 2025 07:05:52 +0000 Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Wed, 22 Oct 2025 15:05:44 +0800 Received: from twmbx02.aspeed.com (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Wed, 22 Oct 2025 15:05:44 +0800 From: Ryan Chen To: ryan_chen , , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , , Lee Jones , Catalin Marinas , Will Deacon , Arnd Bergmann , Bjorn Andersson , Geert Uytterhoeven , Nishanth Menon , , Taniya Das , Lad Prabhakar , Kuninori Morimoto , Eric Biggers , , , , Subject: [PATCH v6 3/6] dt-bindings: mfd: aspeed,ast2x00-scu: allow #size-cells range Date: Wed, 22 Oct 2025 15:05:40 +0800 Message-ID: <20251022070543.1169173-4-ryan_chen@aspeedtech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251022070543.1169173-1-ryan_chen@aspeedtech.com> References: <20251022070543.1169173-1-ryan_chen@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251022_000551_399116_D8B7E5BF X-CRM114-Status: GOOD ( 11.19 ) 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 The #size-cells property in the Aspeed SCU binding is currently fixed to a constant value of 1. However, newer SoCs (ex. AST2700) may require two size cells to describe certain subregions or subdevices. This patch updates the schema to allow #size-cells values in the range of 1 to 2. This makes the binding more flexible while maintaining compatibility with existing platforms. It also resolves dt-binding validation warnings reported by `make dt_binding_check`. Signed-off-by: Ryan Chen --- Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml index da1887d7a8fe..ee7855845e97 100644 --- a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml +++ b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml @@ -38,7 +38,7 @@ properties: maximum: 2 '#size-cells': - const: 1 + enum: [1, 2] '#clock-cells': const: 1 -- 2.34.1