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 4BE01CD342A for ; Tue, 3 Sep 2024 15:05:51 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oWUr5KclCLjeFeQyoHpsXqJsx6+HvrwGj+zVXfdM4js=; b=XBoc3MoxQVpy8/SQXhTlA/FLfP mJ8V4PB1hOH5jvXes3LYsmi4dpFFINSIYcQdQxSN4Y6Xmd5SSjBYEUF3Y7LudMyBZg1ZueBgtiHNj mKT5QjE0S5SwmL4XF6IZ4is1XXr1Qufowa+qbZGExiTuLtHVg8CGGeIra8NQa21ZWTketq8xZXtwG UJVD4aVZriSsmw5WDJ9WX+F71H4NKbJhFfJ8ZTlo4MX0HILRKS8lDGHgrwkV2nl3FFonF3FJspuym WN6RSd2uLHZubfKwasLZ1qEUc9EnHiCsaTS3PR1DVKqfTE0IjvG001Vm3N+qH8rviLFCECNmiDQUl MxUOdwDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slV69-00000000jUj-26BY; Tue, 03 Sep 2024 15:05:37 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slV5E-00000000jLE-2vp1 for linux-arm-kernel@lists.infradead.org; Tue, 03 Sep 2024 15:04:41 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id A55215C59DD; Tue, 3 Sep 2024 15:04:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F2FBC4CEC4; Tue, 3 Sep 2024 15:04:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725375879; bh=sf3xNg203/lr8nt9OtokONsd4BgI7GDuvGcxFo78X+o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JiGr66dRo72VmOAc29W41ELqSFMOOqKgnA1OPWzIih5KTat9VKMC91k50pdB65QDc yiVJn6AuPC8CPVBxQUqri90qDBy3D4CdfqqoFfuriBmycV0Ah8PWaRtOnz8J83Z1va 7Rmuhm1r3E8w+4G2d10XXLNsG2dl1tF1ckLXa6k4qv6f7MQlME3sETQAhKWlhQNYOJ 3BzYzrf6+ruGFfgs0FtIWtQsWWY4We2rNdQrA2BNMHQZ4TR5Zj/OvhLyffF4xkKuRO daiNlB8OF+jPEP0mU9lSPRhsXAG+AC6Jwd3L/jl3SqqObpMFDBOHd7atGc0twCdCl/ wDPFqRC5hoo8Q== Date: Tue, 3 Sep 2024 10:04:38 -0500 From: Rob Herring To: Lorenzo Bianconi Cc: Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Felix Fietkau , Philipp Zabel , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, upstream@airoha.com, angelogioacchino.delregno@collabora.com, linux-arm-kernel@lists.infradead.org, lorenzo.bianconi83@gmail.com, ansuelsmth@gmail.com Subject: Re: [PATCH 1/7] dt-bindings: clock: airoha: update reg mapping for EN7581 SoC. Message-ID: <20240903150438.GA1008227-robh@kernel.org> References: <20240831-clk-en7581-syscon-v1-0-5c2683541068@kernel.org> <20240831-clk-en7581-syscon-v1-1-5c2683541068@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240831-clk-en7581-syscon-v1-1-5c2683541068@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240903_080440_802334_81E0656F X-CRM114-Status: GOOD ( 17.21 ) 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 On Sat, Aug 31, 2024 at 09:18:43AM +0200, Lorenzo Bianconi wrote: > clk-en7523 driver for EN7581 SoC is mapping all the scu memory region > while it is configuring the chip-scu one via a syscon. Update the reg > mapping definition for this device. This patch does not introduce any > backward incompatibility since the dts for EN7581 SoC is not public yet. > > Signed-off-by: Lorenzo Bianconi > --- > .../devicetree/bindings/clock/airoha,en7523-scu.yaml | 12 +++--------- > 1 file changed, 3 insertions(+), 9 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml > index 84353fd09428..ca426c328535 100644 > --- a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml > +++ b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml > @@ -34,8 +34,8 @@ properties: > - airoha,en7581-scu > > reg: > - minItems: 2 > - maxItems: 4 > + minItems: 1 > + maxItems: 2 This should really have the 'items' list here instead of in the if/then schemas. > > "#clock-cells": > description: > @@ -75,9 +75,6 @@ allOf: > reg: > items: > - description: scu base address > - - description: misc scu base address > - - description: reset base address > - - description: pb scu base address And then this would be just 'maxItems: 1' and the other if 'minItems: 2'. Rob