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 E2AFDC982FA for ; Wed, 23 Sep 2026 11:16:01 +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:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id :Date:Subject:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2dWxy66DL6ZQOEpUY3a01AiL5fJlvAN6E66brqR1EoQ=; b=NVmXOS/HM5EN4S zBoHmIlwDDunHUoaRalSjuwJNEXTHC3oWBiacKa/txIZYpacjdQ3ZGucV4pSkQNcx7EBZglpSUCet KEscaeZ2MI/AXLAmfEvG/e9lwExqilED5/DvbrMFwtzZzN6BwEADs2ZMIJ+tJo9SP/M5MFYXDypfu oIa5YlBQuotu+IGbFkyXlmZJl3wBFYi84ndTYs50qwBvo/hrGHkfDJOPj98YJ8gdQqWAxvwHFHTww smL11ez+IclHTEBL2Ab/kNUXt+yA38yTBD68r3AJP4rnaCwlGYZPQXsPKyGbxDSrmKYzJSvEWrH2O 040WNks/1BZqCvucQLjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x9KxC-000000081Xf-26fN; Wed, 23 Sep 2026 11:15:58 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x9Kx0-000000081Oq-1zS6; Wed, 23 Sep 2026 11:15:46 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id BF5A660200; Wed, 23 Sep 2026 11:15:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 52392C2BCB8; Wed, 23 Sep 2026 11:15:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1790162145; bh=HRSub+QE/8D3AF670B+wnGCu13xlGmfbVGSfPKurvgI=; h=From:Subject:Date:To:Cc:Reply-To:From; b=U1Brx+dIs/rBOG68GdLQVFs34oyrCQfA+VCmiI0y2UP+0mNrIvkAk+GelnloSJbb2 XtttRHED30bJW6YeCchI4c6SvIxsXhMxMk2imVl9TB2Eka4MN62qXyS2xzTE2WGcAz /MNxxgBeLxRmo7eZ6+r32SclvBJoxkFhdpaG0NjMt5LT1s0TmVL2V9v4iFsJJK1ArG J5LzMQFwmoOZF7WzuB3n6g2uWxhbKF+3bzsOpLenaWkdJGr6VP838tTJRJJBxg4IqS TfHQw78fZjJ9nBlRiC/EwXzAsjA2QZxBrhfqGZNEEiqzTCKmT1cbydFPgsaG3p+n21 3RGSofjz9ctbg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24286C982EA; Wed, 23 Sep 2026 11:15:45 +0000 (UTC) From: Jian Hu via B4 Relay Subject: [PATCH RFC 0/3] clk: meson: Refactor PLL pre-divider as a divider clock Date: Wed, 23 Sep 2026 19:14:46 +0800 Message-Id: <20260923-meson_refactor_n-v1-0-3a8ce27121a2@amlogic.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKa0s2oC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzMDSyNj3dzU4vy8+KLUtMTkkvyi+DzdVPM0I1NLA5NUU2MzJaC2AqBcZgX YyGilIDdnpdjaWgDD1C+zZwAAAA== X-Change-ID: 20260923-meson_refactor_n-e7f25904e536 To: Neil Armstrong , Jerome Brunet , Stephen Boyd , Brian Masney , Kevin Hilman , Martin Blumenstingl , Jerome Brunet , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jian Hu X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1790162143; l=2037; i=jian.hu@amlogic.com; s=20260415; h=from:subject:message-id; bh=HRSub+QE/8D3AF670B+wnGCu13xlGmfbVGSfPKurvgI=; b=qmDP/SwmQ069y+a6xgYtXYhqff3EX/JqLT+8cgk6vr/IkknbC3kUvbzBiRxk5cunM2tXxSIMv CjmByR+ELneCRuqA5hTYSvE1SKb6yGQPrMwT8FtnqnIASFrSeV1OIXM X-Developer-Key: i=jian.hu@amlogic.com; a=ed25519; pk=zHUE+rNtH9z+Sb8au1/elWknjFQmy5QDVkBoxleuOIA= X-Endpoint-Received: by B4 Relay for jian.hu@amlogic.com/20260415 with auth_id=735 X-Original-From: Jian Hu 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: , Reply-To: jian.hu@amlogic.com 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 This series refactors the Meson PLL framework to remove the dedicated PLL pre-divider (N) parameter from the PLL implementation and model it as a separate divider clock. Currently, the Meson PLL framework models the PLL pre-divider using a dedicated n field in struct meson_clk_pll_data. This makes the pre-divider part of the PLL-specific implementation, although the Common Clock Framework already provides a generic divider clock. This series separates the pre-divider from the PLL and makes the PLL DCO take the pre-divider clock as its parent. This allows the pre-divider to be modeled using the standard CCF divider implementation and simplifies the PLL framework. The series currently covers T7 as an RFC to get feedback on the framework design before applying the same approach to other SoCs. Series: clk: meson: pll: Remove the dedicated n parameter dt-bindings: clock: amlogic: Add T7 pre-divider clock IDs clk: meson: t7: Model PLL pre-divider as a divider clock The other Meson SoCs will be converted separately after the T7 PLL framework refactoring has been reviewed and the overall approach is agreed upon. Any feedback on the proposed clock hierarchy and the separation of the PLL pre-divider from the PLL itself would be appreciated. Signed-off-by: Jian Hu --- Jian Hu (3): clk: meson: pll: Remove the dedicated n parameter dt-bindings: clock: amlogic: Add T7 pre-divider clock IDs clk: meson: t7: Model PLL pre-divider as a divider clock drivers/clk/meson/clk-pll.c | 178 +++++------------------ drivers/clk/meson/clk-pll.h | 13 -- drivers/clk/meson/t7-pll.c | 183 ++++++++++++++++++------ include/dt-bindings/clock/amlogic,t7-pll-clkc.h | 6 + 4 files changed, 181 insertions(+), 199 deletions(-) --- base-commit: 43e1705ecab981c66baee89041e6f728c0436f19 change-id: 20260923-meson_refactor_n-e7f25904e536 Best regards, -- Jian Hu _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic