From patchwork Thu Feb 27 10:59:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 13994155 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 F08A7C19F2E for ; Thu, 27 Feb 2025 11:06:38 +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-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=VFwR9bSonAWb+2pGDDc10fYLnCw/mDANOeUPNgJEuBE=; b=lMYlJ0aiEnrSZbnd/B1JUQvZxe POy+w9PDEpi1dKjRM9uKrKDlG12R7XQlW2v//TjSYYgd9XIhhgZvFZUycyPMHwvDvv6n8+mZlz/i/ 9Td5Vj4yIaU9iXxAO86pQziA2jgLmAw5skoItpiNCftx3Y1g0JxHvPkR2t/D8iEfNd/kytm1Bf/vF 3cko7aLMDrHX+I/lCBTqfURGUprz9m3urtesdZFX0LMpDK6rVKoiAW6ferCl2G++6A4RjS4zPED+/ TmIz2okx4Xv8k2F0FdyoregYpnSiZ0IfjE5sgQ3BPhXNwQYtWF/hUYhBiLwuuTMNkPzLg/+IMWwny gMFekwUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnbin-000000075uP-0VV4; Thu, 27 Feb 2025 11:06:29 +0000 Received: from mail-m19731120.qiye.163.com ([220.197.31.120]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tnbc6-000000074S9-1gXv; Thu, 27 Feb 2025 10:59:36 +0000 Received: from localhost.localdomain (unknown [103.29.142.67]) by smtp.qiye.163.com (Hmail) with ESMTP id c6596a3c; Thu, 27 Feb 2025 18:59:24 +0800 (GMT+08:00) From: Kever Yang To: heiko@sntech.de Cc: linux-rockchip@lists.infradead.org, Kever Yang , devicetree@vger.kernel.org, Conor Dooley , Michael Turquette , Rob Herring , Stephen Boyd , Philipp Zabel , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Elaine Zhang , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 0/2] rockchip: Add rk3562 clock support Date: Thu, 27 Feb 2025 18:59:13 +0800 Message-Id: <20250227105916.2340856-1-kever.yang@rock-chips.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVlCTxoeVkxCHR4YTEtCSEtNH1YVFAkWGhdVEwETFh oSFyQUDg9ZV1kYEgtZQVlKS0hVSUJVSk9JVU1MWVdZFhoPEhUdFFlBWU9LSFVKS0lPT09IVUpLS1 VKQktLWQY+ X-HM-Tid: 0a95470fab6903afkunmc6596a3c X-HM-MType: 1 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NVE6Pio6KzIOQg0uAhpOOhc5 LzcKCTpVSlVKTE9LTU5IQk1OQk1DVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlKS0hVSUJVSk9JVU1MWVdZCAFZQUpITk83Bg++ DKIM-Signature: a=rsa-sha256; b=R8kC9d33Z9g4FYnESeaM5DTtFcaYpcAcra30dOEJFu4VTNO5NqvT0oPGH/4dvNmMoT0B9GLdB8Rhrvu6Op6MEU+5stY0nOLVGHwGM+lg9oYCoWTFmuD4JbdXBa/Fes+0PSlRoCTeQ2uUu4Br9H6H+q9hUNwvmKW2acI+s9gMnEk=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=VFwR9bSonAWb+2pGDDc10fYLnCw/mDANOeUPNgJEuBE=; h=date:mime-version:subject:message-id:from; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250227_025935_008581_FD3C080D X-CRM114-Status: UNSURE ( 9.96 ) 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 set add cru driver for a new SoC rk3562, the SoC DT will be sent as a separate patch set and the new compatible will be used in the DT. Changes in v3: - remove rk3562_cru_base and MODULE_ALIAS Changes in v2: - remove rockchip,grf info - Update file license - Update the reset ID with rst-rk3562.c - remove CLK_NR_CLKS Finley Xiao (1): clk: rockchip: Add clock controller for the RK3562 Kever Yang (1): dt-bindings: clock: Add RK3562 cru .../bindings/clock/rockchip,rk3562-cru.yaml | 55 + drivers/clk/rockchip/Kconfig | 7 + drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk3562.c | 1108 +++++++++++++++++ drivers/clk/rockchip/clk.h | 40 + drivers/clk/rockchip/rst-rk3562.c | 429 +++++++ .../dt-bindings/clock/rockchip,rk3562-cru.h | 379 ++++++ .../dt-bindings/reset/rockchip,rk3562-cru.h | 358 ++++++ 8 files changed, 2377 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3562-cru.yaml create mode 100644 drivers/clk/rockchip/clk-rk3562.c create mode 100644 drivers/clk/rockchip/rst-rk3562.c create mode 100644 include/dt-bindings/clock/rockchip,rk3562-cru.h create mode 100644 include/dt-bindings/reset/rockchip,rk3562-cru.h