From patchwork Fri Sep 6 10:34:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuan Liu via B4 Relay X-Patchwork-Id: 13793911 X-Patchwork-Delegate: neil.armstrong@linaro.org 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 2B711CE7AFB for ; Fri, 6 Sep 2024 10:37:10 +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:In-Reply-To:References: Message-Id:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Cml7SeufjgzY8QWpIRLzBCgl54uSInCl13E3N8zT0hU=; b=w286bBDmed5IIC T8etLRcfCIoejwPAhnDa5BGsNEohtsGaIsHE5yFEdks//uOv+C/1EZygW+9A/SrXQaUdgkEZlCncv yGmXmUh02/x9XfLwMd9lnu9KPHUsoyqTvUmCR0puExaQQUGI2AEZhvQAcu2/2kQI2rxzC6f4NFr/4 3fRUEPWT7R2ZZ0Bqhz21Nm3EJY5LkE0G9tz2Om/nFAyYpDC4j8pPqfe1WtQFtGYxYMmXjGelk4JhK S/Hs5mSHYU1j/CP8WGJ2APdGkBMsfs3kzuqLhbU66V+ntCdgnOHFcLmmlVJRj5geh0LcnJ+7eQAnz c8XzAMhVlbq4f905CEqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smWKu-0000000Bn0R-28rM; Fri, 06 Sep 2024 10:37:04 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smWIt-0000000BmTV-0Pw6; Fri, 06 Sep 2024 10:35:01 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id CF0725C5BB7; Fri, 6 Sep 2024 10:34:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 00445C4CEC5; Fri, 6 Sep 2024 10:34:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725618898; bh=Q5Nu6ki00BNEPUpMCqJOMGrigpdjNMijiEiU0fOJHMs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=feLd2oA2h1fpNCwu7OpYQg6Jto2lrd2wkK8rIboKdt5MEPbWf8DvzVpLyDlb2+JF1 xS81og+9ExOQU8Hiy7c4cpSGLIrljE3hzX6juND7ZQxvH2qX+R5JHsIocdeokZ8PjG 5KC83NKiI617ls/Ki73IxaFbL0byLlalpjCAqdaasuJh1CjMTtGYOUWTyIyE0PJyFy Yz6KFOaNMOTNAOq9rWnTahxmQRquAGsADK7WmHG8y1XcKSXfIgtV2FvkIirhJggiwY r8u+g4skA+DftSPhHlfORbz78/eGGezkuaOtfioeoBvW5ekwCYwG2E4oZ168wmgiSt KE6zIpKX+G5iQ== 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 E02A6CE7AFD; Fri, 6 Sep 2024 10:34:57 +0000 (UTC) From: Chuan Liu via B4 Relay Date: Fri, 06 Sep 2024 18:34:40 +0800 Subject: [PATCH v2 1/3] clk: meson: Support PLL with fixed fractional denominators MIME-Version: 1.0 Message-Id: <20240906-fix_clk-v2-1-7a3941eb2cdf@amlogic.com> References: <20240906-fix_clk-v2-0-7a3941eb2cdf@amlogic.com> In-Reply-To: <20240906-fix_clk-v2-0-7a3941eb2cdf@amlogic.com> To: Neil Armstrong , Jerome Brunet , Michael Turquette , Stephen Boyd , Kevin Hilman , Martin Blumenstingl Cc: linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chuan Liu X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725618896; l=1859; i=chuan.liu@amlogic.com; s=20240902; h=from:subject:message-id; bh=sWmncD36tYvYasLV2agsUM1OmEI/Pbp0y7H5RQI6gyA=; b=4/xHBnoby8jx3W1+dFt1CO/FshqhvP3WwGUal1rMsRXHWSq+LWZPSvMSKC2/icWrRMR/HUXnO PsJNpbDCIRdClPh2zEqrnCf1n7wS7rEGGn5JB6cxFetc3LLQkMSdhul X-Developer-Key: i=chuan.liu@amlogic.com; a=ed25519; pk=fnKDB+81SoWGKW2GJNFkKy/ULvsDmJZRGBE7pR5Xcpo= X-Endpoint-Received: by B4 Relay for chuan.liu@amlogic.com/20240902 with auth_id=203 X-Original-From: Chuan Liu X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_033459_306138_9839BBC4 X-CRM114-Status: GOOD ( 11.44 ) 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: chuan.liu@amlogic.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Chuan Liu Some PLLS with fractional multipliers have fractional denominators with fixed values, instead of the previous "(1 << pll-> frc.width)". Signed-off-by: Chuan Liu --- drivers/clk/meson/clk-pll.c | 8 +++++--- drivers/clk/meson/clk-pll.h | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/clk/meson/clk-pll.c b/drivers/clk/meson/clk-pll.c index bc570a2ff3a3..a141ab450009 100644 --- a/drivers/clk/meson/clk-pll.c +++ b/drivers/clk/meson/clk-pll.c @@ -57,12 +57,13 @@ static unsigned long __pll_params_to_rate(unsigned long parent_rate, struct meson_clk_pll_data *pll) { u64 rate = (u64)parent_rate * m; + unsigned int frac_max = unlikely(pll->frac_max) ? pll->frac_max : + (1 << pll->frac.width); if (frac && MESON_PARM_APPLICABLE(&pll->frac)) { u64 frac_rate = (u64)parent_rate * frac; - rate += DIV_ROUND_UP_ULL(frac_rate, - (1 << pll->frac.width)); + rate += DIV_ROUND_UP_ULL(frac_rate, frac_max); } return DIV_ROUND_UP_ULL(rate, n); @@ -100,7 +101,8 @@ static unsigned int __pll_params_with_frac(unsigned long rate, unsigned int n, struct meson_clk_pll_data *pll) { - unsigned int frac_max = (1 << pll->frac.width); + unsigned int frac_max = unlikely(pll->frac_max) ? pll->frac_max : + (1 << pll->frac.width); u64 val = (u64)rate * n; /* Bail out if we are already over the requested rate */ diff --git a/drivers/clk/meson/clk-pll.h b/drivers/clk/meson/clk-pll.h index 7b6b87274073..949157fb7bf5 100644 --- a/drivers/clk/meson/clk-pll.h +++ b/drivers/clk/meson/clk-pll.h @@ -43,6 +43,7 @@ struct meson_clk_pll_data { unsigned int init_count; const struct pll_params_table *table; const struct pll_mult_range *range; + unsigned int frac_max; u8 flags; }; From patchwork Fri Sep 6 10:34:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuan Liu via B4 Relay X-Patchwork-Id: 13793896 X-Patchwork-Delegate: neil.armstrong@linaro.org 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 567BBCE7AFB for ; Fri, 6 Sep 2024 10:35:10 +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:In-Reply-To:References: Message-Id:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=F7NPpDHpH53qi2wwANcEADCmtEm3lW4ZTvnbjKCcm2Y=; b=h75W+Say35kWLL LKky3HV7/XgnbmbA9/QVFKvty7Cm+lGWOTv1Wam1McxEh6vt/TTDsHf8NMn108kOurG+GoH8zjFPg fY35wKVlwBkuYkE7GyBT32R93lM9EBed9rWGxFaQWrYtz67ke4MrRUVQ4BzSsDKMT53wF3qA02CTA QyoKSHRPJG/Q4xZOv6ViPRG9JSQDqwf7zQKRn2RYKzbJp7yXLonMZCXCPfWDrSQh/fjbnAegkhVHF Y5VomYoYCR+0HxUJcBYph2G++/hyon0BqQeSTPY/XzNRPceKvwSDfQpofbHnJBLDhVD+FYgCoMcOT V7iWSClbp5/BwzrdaLlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smWIw-0000000BmVA-2dZO; Fri, 06 Sep 2024 10:35:02 +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 1smWIt-0000000BmTW-0tlb; Fri, 06 Sep 2024 10:35:00 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 19307A44E50; Fri, 6 Sep 2024 10:34:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 11535C4CEC8; Fri, 6 Sep 2024 10:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725618898; bh=wNROTOGwTrtcI0H20f0EmINCmCNdwFiZLjQMJFcLHU0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Z6FSWxuRSTKe/x3nQ8Q3ngcRLUR2Bmr427Sp2jclLnw+S7ttvc0dj5WuTu6vdwyZZ Vc08i8ggquZSgUuH45nHbIbuW6ywtNjzKx/kbyNWyHFbJP9vS+sTyddN8DL1h3GxZ3 OI8uwI4W9LwaNVTpCm8262abAHdj/iUUzBmSEKbY2I5qqKbtUQ/PGxrHtXK8YK9ELk LN7CisCV1g4lZnzHnCQ5z9DBVS741Qd6hjQZU7TRwrGUHkZQHMZWg7xUTCHE6ffDoj 0ELoME1wn29+lHK6llxnq1x7u/5iNbfby9Fb2Aag5Ffa6WWqAlwWHIGB7n4/oLDN8i S4G71bwzPMJXg== 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 024A6CE7AFE; Fri, 6 Sep 2024 10:34:58 +0000 (UTC) From: Chuan Liu via B4 Relay Date: Fri, 06 Sep 2024 18:34:41 +0800 Subject: [PATCH v2 2/3] clk: meson: c3: pll: fix frac maximum value for hifi_pll MIME-Version: 1.0 Message-Id: <20240906-fix_clk-v2-2-7a3941eb2cdf@amlogic.com> References: <20240906-fix_clk-v2-0-7a3941eb2cdf@amlogic.com> In-Reply-To: <20240906-fix_clk-v2-0-7a3941eb2cdf@amlogic.com> To: Neil Armstrong , Jerome Brunet , Michael Turquette , Stephen Boyd , Kevin Hilman , Martin Blumenstingl Cc: linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chuan Liu X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725618896; l=770; i=chuan.liu@amlogic.com; s=20240902; h=from:subject:message-id; bh=I33Vhd+oqJKtNl4x++Y8xPKvaKodnZowE3DBu//z/PA=; b=SADKBH0Q0M4WKvE3kt3/P9oBlUQyRQdTGwUXOIBOYeC1DM1J+oIsLeZanYu9JVZEUNfkwxyeO LKUG7LOZoIMBf9/qE6ZBzEJkfCtwZ+SCdrrj54fGqYCVjdoC0hTkw2F X-Developer-Key: i=chuan.liu@amlogic.com; a=ed25519; pk=fnKDB+81SoWGKW2GJNFkKy/ULvsDmJZRGBE7pR5Xcpo= X-Endpoint-Received: by B4 Relay for chuan.liu@amlogic.com/20240902 with auth_id=203 X-Original-From: Chuan Liu X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_033459_359125_ACEC8F0A X-CRM114-Status: UNSURE ( 9.37 ) 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: , Reply-To: chuan.liu@amlogic.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Chuan Liu The fractional denominator of C3's hifi_pll fractional multiplier is fixed to 100000. Fixes: 8a9a129dc565 ("clk: meson: c3: add support for the C3 SoC PLL clock") Signed-off-by: Chuan Liu --- drivers/clk/meson/c3-pll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/meson/c3-pll.c b/drivers/clk/meson/c3-pll.c index 32bd2ed9d304..35fda31a19e2 100644 --- a/drivers/clk/meson/c3-pll.c +++ b/drivers/clk/meson/c3-pll.c @@ -361,6 +361,7 @@ static struct clk_regmap hifi_pll_dco = { .range = &c3_gp0_pll_mult_range, .init_regs = c3_hifi_init_regs, .init_count = ARRAY_SIZE(c3_hifi_init_regs), + .frac_max = 100000, }, .hw.init = &(struct clk_init_data) { .name = "hifi_pll_dco", From patchwork Fri Sep 6 10:34:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuan Liu via B4 Relay X-Patchwork-Id: 13793897 X-Patchwork-Delegate: neil.armstrong@linaro.org 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 1860DCE7AFD for ; Fri, 6 Sep 2024 10:36:06 +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:In-Reply-To:References: Message-Id:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jE8Z4eqIRDXK1HYKHz5PuV5TeoDlsXR9Rej38TCfEJY=; b=FDWYUD3MeBPCb6 2aX3V5XvTSdH5gtrWQWWSZ1AxFP/QUzk/Mjkse6OEmPJPhwDtqf/Sn8CJq1Wn48VrjDVszCR3A56T famvryjxZY66PW7JODsFCcwCzlHYE5QfSfNzHWZ5oI11Xz76QOVbXZy7d8wnPA+XnIXvFuE2euety 3KN8snz/nGPX4v+Q+ewpy7o4f0LIvmmBU6fuCbTCLh+wZqxPDfLyAEVy13NxmcnTZ/PpcJh3APSIB Bw4y471iO3H6UR6aKXXLn85vXC3Ewc71f+CHRuOJ8qO3sq4uEBgKJa/ElbRFewN7VBknSLwBUkqpZ YpLN1h1nUTUL6jElFeDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smWJt-0000000Bmhs-2b0b; Fri, 06 Sep 2024 10:36:01 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smWIt-0000000BmTX-1Cms; Fri, 06 Sep 2024 10:35:01 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 15DFF5C5BFB; Fri, 6 Sep 2024 10:34:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 20D86C4CECC; Fri, 6 Sep 2024 10:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725618898; bh=uCQdKOYsTP4hrdyMRlGaCSGI01VPRdBPeBN372SaHDQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=hCC7ONT/cma4aU4Z+r81N9RKtxKkYiwnLLzscmNvctmk6zKdwO5veqtwaJfrH6tGL rX3BAgm1wS+ptOGNdEucxbMgzafuu+ZwE6ArALAFYpXVL2qnD1oqB4FsHFkwOKCd6H 3d89x0ihJso6L7UdL537YUJDILXENHayvC2n5SwL92huhMU0F9gXyIJ9HRFrVIUUru O+yz3469o2aOf7/7oMjjxP0F7W/aGC3HMeWR2btV9WkVkRJSSZvK5qE6SD/Qo4evm6 +48d/CSoragLY6ILimAndiWNIgEAtiHqexOmqswOTYdoWK9w8whsg8lJZQuT5OpXHH c1gOCnSIU9xzg== 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 16738CE7AFB; Fri, 6 Sep 2024 10:34:58 +0000 (UTC) From: Chuan Liu via B4 Relay Date: Fri, 06 Sep 2024 18:34:42 +0800 Subject: [PATCH v2 3/3] clk: meson: s4: pll: fix frac maximum value for hifi_pll MIME-Version: 1.0 Message-Id: <20240906-fix_clk-v2-3-7a3941eb2cdf@amlogic.com> References: <20240906-fix_clk-v2-0-7a3941eb2cdf@amlogic.com> In-Reply-To: <20240906-fix_clk-v2-0-7a3941eb2cdf@amlogic.com> To: Neil Armstrong , Jerome Brunet , Michael Turquette , Stephen Boyd , Kevin Hilman , Martin Blumenstingl Cc: linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chuan Liu X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1725618896; l=793; i=chuan.liu@amlogic.com; s=20240902; h=from:subject:message-id; bh=0Clx6bfIj6hxSYsk/ARky+mR6oBy1RRrZhsjk6VQ2QA=; b=ThDaSqaw71UK6w/lWibNMR0YeJltaOgEuPPvwpd+6M1NwIFlx1gS3eMXr41yBZug7ojGK0sGw EBsrcnT4InBBrsES6cADjt0jMtjpw4fJjYCzE5zDZzNdk8sEla4Wvfn X-Developer-Key: i=chuan.liu@amlogic.com; a=ed25519; pk=fnKDB+81SoWGKW2GJNFkKy/ULvsDmJZRGBE7pR5Xcpo= X-Endpoint-Received: by B4 Relay for chuan.liu@amlogic.com/20240902 with auth_id=203 X-Original-From: Chuan Liu X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_033459_429734_5262C4EE X-CRM114-Status: UNSURE ( 8.35 ) 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: , Reply-To: chuan.liu@amlogic.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Chuan Liu The fractional denominator of S4's hifi_pll fractional multiplier is fixed to 100000. Fixes: 80344f4c1a1e ("clk: meson: s4: pll: hifi_pll support fractional multiplier") Signed-off-by: Chuan Liu --- drivers/clk/meson/s4-pll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/meson/s4-pll.c b/drivers/clk/meson/s4-pll.c index a97e19057b05..9697f6577e06 100644 --- a/drivers/clk/meson/s4-pll.c +++ b/drivers/clk/meson/s4-pll.c @@ -371,6 +371,7 @@ static struct clk_regmap s4_hifi_pll_dco = { .range = &s4_gp0_pll_mult_range, .init_regs = s4_hifi_init_regs, .init_count = ARRAY_SIZE(s4_hifi_init_regs), + .frac_max = 100000, .flags = CLK_MESON_PLL_ROUND_CLOSEST, }, .hw.init = &(struct clk_init_data){