From patchwork Wed Aug 28 06:27:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Chen X-Patchwork-Id: 13780755 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 9A59DC5474A for ; Wed, 28 Aug 2024 06:28:48 +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: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:In-Reply-To:References: List-Owner; bh=PZL6BAfEQ7zgusiSYxeyEJA8eURa9C3w4dm4TCmsOI4=; b=mTqAhsg+TEoKKw gbLlXrx7wJCdFOvTnLN8zHDxQ8QJTLtrUYiSxl4/FvKWOSSjr7ggrmQNc+zl3wxv6Yt5HJd3188qR 8xWeJJ09nHOd0THElMW5KfFUy76+I52j4/RnCZhTglSqwLJ/YT+RdGNxOHNmYFIPQIO4qC7AnWru/ H4Fv/6975iFi0++ecTrkEaPRlSwBShQFFHQqhiXxT2g/fnAebQFra49HIfvnszHMHFCg6/KEMoEgi Pi7Jseyoid+lPJECTxhND1euvZHNpkKbDUA/RgMMkLZMQ+130bLI1LwBleqXu5RHR+zwrMbzwYn3B whpax/WtEvqgkhEnTrhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjCAZ-0000000E64R-291m; Wed, 28 Aug 2024 06:28:39 +0000 Received: from mail.aspeedtech.com ([211.20.114.72] helo=TWMBX01.aspeed.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjC9h-0000000E5ni-1tZs for linux-arm-kernel@lists.infradead.org; Wed, 28 Aug 2024 06:27:47 +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.1258.12; Wed, 28 Aug 2024 14:27:40 +0800 Received: from twmbx02.aspeed.com (192.168.10.152) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Wed, 28 Aug 2024 14:27:40 +0800 From: Ryan Chen To: , , , , , , , , , , , , , Subject: [PATCH v2 0/3] Add support for AST2700 clk driver Date: Wed, 28 Aug 2024 14:27:37 +0800 Message-ID: <20240828062740.1614744-1-ryan_chen@aspeedtech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240827_232745_531581_E770C48A X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. 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 This patch series is add clk driver for AST2700. AST2700 is the 8th generation of Integrated Remote Management Processor introduced by ASPEED Technology Inc. Which is Board Management controller (BMC) SoC family. AST2700 have two SoC connected, one is SoC0, another is SoC1, it has it's own scu, this driver inlcude SCU0 and SCU1 driver. v2: -yaml: drop 64bits address example. -yaml: add discription about soc0 and soc1 -dt-bindings: remove (), *_NUMS, reserved. -dt-bindings: remove dulipated define number -clk-ast2700: drop WARN_ON, weird comment. Ryan Chen (3): dt-bindings: reset Add AST2700 reset bindings dt-bindings: clock: Add AST2700 clock bindings clk: aspeed: add AST2700 clk driver drivers/clk/Kconfig | 10 + drivers/clk/Makefile | 1 + drivers/clk/clk-ast2700.c | 1198 +++++++++++++++++ .../dt-bindings/clock/aspeed,ast2700-clk.h | 165 +++ .../dt-bindings/reset/aspeed,ast2700-reset.h | 125 ++ 5 files changed, 1499 insertions(+) create mode 100644 drivers/clk/clk-ast2700.c create mode 100644 include/dt-bindings/clock/aspeed,ast2700-clk.h create mode 100644 include/dt-bindings/reset/aspeed,ast2700-reset.h