From patchwork Sat Aug 31 07:18:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13785954 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 594ADCA100B for ; Sat, 31 Aug 2024 07:20:18 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=efLWS3Qm5iOTlpnoIsqYraJ7s8sfZubeTBdcn+m7Q8o=; b=YLHWnKjqs/pvoraAMLBC/tYqGH oL1tsO1zx00TYHcurXn19CdRIau2evT8+YtQM8sJbVfAfAukrXUUQMN+Oxdz3TOyN8vsaTo7KWFRU giLEXZlYBS8DuLYaYJy6s3qGGLjfNENAbzyslf5Bw0bHnjbRzypMzmPojBm5jvhlDFqdWIEYCVK0H 3+fQ44iyeRN4t8bnZcADsaV4N+owch49mV0AOWfTfqBJ88DhuSj6KF/q63t15CJP10Q/ky4zCE1pQ gsEYDwqi7nP6Osw7MOfI6Y5Lb15h/ntvK6jstfIEx1JN3tHcDcOlljVtKzl7nuFpyj1s3NHKWuqKP Du/1cG6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skIP0-00000008okE-3BvN; Sat, 31 Aug 2024 07:20:06 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1skIO7-00000008ock-35My for linux-arm-kernel@lists.infradead.org; Sat, 31 Aug 2024 07:19:13 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id DBE24A4014E; Sat, 31 Aug 2024 07:19:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37329C4CEC0; Sat, 31 Aug 2024 07:19:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725088750; bh=FZvzmN2QmkFMKRZRjjhpM9mGeFi/KjKH6wH2YnfODb0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=OV+5M4BZU21KzagrraQ6xVHLG2SmRQsqOvq3zC7UXIlqZKJW/JfcX0yOR8/4ulTme yPcVt0xc3qn5mIxw7LNx73DoD7eE2Ahp+5oOohmwlxGwvU+pWjPYujqqAHZsatdyOX adJ1bImYmdLYeQe0ihJtLUdix+Bo53K4trJQQmoo679AQiEjsXzWSqid8QZVPc87+f 8e4jCsLJ76FeWXSwKIJFurvRb67JLn8bF4wnXDJCnx/OYqkAwZs0W484jCfUOdOILw kwizjH4JEeupYv7MyKs4YOjzpN6LxaBvacrf/8quYippw2EFtJD2/f0fGeVq7qcm58 YtssG7AVznQ0Q== From: Lorenzo Bianconi Date: Sat, 31 Aug 2024 09:18:43 +0200 Subject: [PATCH 1/7] dt-bindings: clock: airoha: update reg mapping for EN7581 SoC. MIME-Version: 1.0 Message-Id: <20240831-clk-en7581-syscon-v1-1-5c2683541068@kernel.org> References: <20240831-clk-en7581-syscon-v1-0-5c2683541068@kernel.org> In-Reply-To: <20240831-clk-en7581-syscon-v1-0-5c2683541068@kernel.org> To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Felix Fietkau , Philipp Zabel Cc: 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, Lorenzo Bianconi X-Mailer: b4 0.14.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240831_001911_876753_38420DB8 X-CRM114-Status: GOOD ( 10.11 ) 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 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 "#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 additionalProperties: false @@ -98,10 +95,7 @@ examples: scuclk: clock-controller@1fa20000 { compatible = "airoha,en7581-scu"; - reg = <0x0 0x1fa20000 0x0 0x400>, - <0x0 0x1fb00000 0x0 0x90>, - <0x0 0x1fb00830 0x0 0x8>, - <0x0 0x1fbe3400 0x0 0xfc>; + reg = <0x0 0x1fb00000 0x0 0x970>; #clock-cells = <1>; #reset-cells = <1>; };