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 F023EC3ABBC for ; Fri, 9 May 2025 08:27:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=QaIklvk5uYWvvAEYa7MPYV1dIuS75MAj2ipCal7HPLk=; b=uYgoOqY4M1854T Igz8B13ITaQ14uIAJAPWGa1o2cFRyUDKR3Db57ZWiawqtt2R2lZfD0/OueGRoYm/OK+nCvaVDXi8n jIKJ3XoqHBQcBjHm+I40xQz2AxGjf/u4Nn/OiElsVRP/3EU3SjkksbVx2JxSnnkfR9rcns0jAFjUy cIx4+R20/+JQSt6ErFFcYCffgi7xucWIiozf/eS81fSZ3+xSkwpj9eLExQ0kUNFMiLkwixfxP1Xf9 L9WoBqN+NsdJz6eINFyL2eltDd3bDE2rq5gmycgLF1kmlyxWlnNodHisadcXpkU0HBFLD/uYNiCk7 nDdtIYTIaoWUvxW/fBxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uDJ53-00000002vW0-229l; Fri, 09 May 2025 08:27:41 +0000 Received: from [58.32.228.46] (helo=mail-sh.amlogic.com) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uDITQ-00000002oM6-1SG0; Fri, 09 May 2025 07:48:50 +0000 Received: from rd03-sz.software.amlogic (10.28.11.121) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.39; Fri, 9 May 2025 15:48:41 +0800 From: Jian Hu To: Jerome Brunet , Xianwei Zhao , Chuan Liu , Neil Armstrong , Kevin Hilman , "Stephen Boyd" , Michael Turquette , "Dmitry Rokosov" , robh+dt , Rob Herring CC: Jian Hu , devicetree , linux-clk , linux-amlogic , linux-kernel , linux-arm-kernel Subject: [PATCH v3 0/6] add support for T7 family clock controller Date: Fri, 9 May 2025 07:48:18 +0000 Message-ID: <20250509074825.1933254-1-jian.hu@amlogic.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-Originating-IP: [10.28.11.121] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250509_004848_408779_FC314A7D X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org It introduces three clock controllers: - SCMI clock controller: these clocks are managed by the SCP and handled through SCMI. - PLL clock controller. - peripheral clock controller. Changes v3 since v2 at [2]: - update T7 PLL YAML - add 't7_' prefix for t7 clock name and variable in t7-pll.c and t7-peripherals.c - correct v1 patch link - add new macro MESON_PCLK_V2 - update the driver,header,yaml file license Changes v2 since v1 at [1]: - add CLK_MESON import - add const for clkc_regmap_config in PLL driver - fix eth_rmii_sel parent - update T7 PLL YAML file [1]: https://lore.kernel.org/all/20241231060047.2298871-1-jian.hu@amlogic.com [2]: https://lore.kernel.org/all/20250108094025.2664201-1-jian.hu@amlogic.com Jian Hu (6): dt-bindings: clock: add Amlogic T7 PLL clock controller dt-bindings: clock: add Amlogic T7 SCMI clock controller dt-bindings: clock: add Amlogic T7 peripherals clock controller clk: meson: t7: add support for the T7 SoC PLL clock clk: meson: add MESON_PCLK_V2 for sys gate clock clk: meson: t7: add t7 clock peripherals controller driver .../clock/amlogic,t7-peripherals-clkc.yaml | 112 + .../bindings/clock/amlogic,t7-pll-clkc.yaml | 114 + drivers/clk/meson/Kconfig | 27 + drivers/clk/meson/Makefile | 2 + drivers/clk/meson/clk-regmap.h | 24 + drivers/clk/meson/t7-peripherals.c | 2359 +++++++++++++++++ drivers/clk/meson/t7-pll.c | 1193 +++++++++ .../clock/amlogic,t7-peripherals-clkc.h | 230 ++ .../dt-bindings/clock/amlogic,t7-pll-clkc.h | 56 + include/dt-bindings/clock/amlogic,t7-scmi.h | 47 + 10 files changed, 4164 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/amlogic,t7-peripherals-clkc.yaml create mode 100644 Documentation/devicetree/bindings/clock/amlogic,t7-pll-clkc.yaml create mode 100644 drivers/clk/meson/t7-peripherals.c create mode 100644 drivers/clk/meson/t7-pll.c create mode 100644 include/dt-bindings/clock/amlogic,t7-peripherals-clkc.h create mode 100644 include/dt-bindings/clock/amlogic,t7-pll-clkc.h create mode 100644 include/dt-bindings/clock/amlogic,t7-scmi.h -- 2.47.1 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic