From patchwork Thu Mar 28 09:10:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaewon Kim X-Patchwork-Id: 783988 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5460064CE1 for ; Thu, 28 Mar 2024 09:14:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711617277; cv=none; b=imWeGz8m+qn4NA08UiRKCTP8M8DxI4SeeUD4KvZXfZcYyraPB1Y+65uUrxEpemxWyFKvB/0wHtKKYU4c9OZDSYby8L3uQFGxrgDwO50B++7cNrMZWxZoWDy0Lh8bWgE7bIdV7C8TBI6ofX/psyC51UU+g0PZHlf9eT1MREd8/g8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711617277; c=relaxed/simple; bh=NvRgnweRNx8jfh9jFYr4kyG4aZ6/vwkHqoAX75g9yjI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: References; b=dFC2w+Euan4mDIvDugnol3i3AiRWZeNG6x+J/OSS6KFGdZs576GCyu3HVy9SsaTB9ilbUVGBJYG5H4TpR4Vaj6ipp0lNRIYqKrxrp4FGQmTBl1oxro1Fw1PkSZiVLOqBXbQM/jCDEKQbOo2ItA0CXzw90SfuAl6xNkoE7EMjsiw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=Tm5tMuo+; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Tm5tMuo+" Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20240328091427epoutp017a03395d96f2aeba5d1b94adec513c7c~A4tYcVqnE0035100351epoutp01t for ; Thu, 28 Mar 2024 09:14:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20240328091427epoutp017a03395d96f2aeba5d1b94adec513c7c~A4tYcVqnE0035100351epoutp01t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1711617267; bh=XZNLfrC7sORfa/3+gXDEZEzLM/IoNByBCHeH72dhZic=; h=From:To:Cc:Subject:Date:References:From; b=Tm5tMuo+FJY5rsB83ByZrrMx+VImEmgMRCjIPNAPeAXuFJ0SUtIHt+HULf6glOQjf hRfkzhZstprXle+QJOclOCle6zzt71YjJU/TLr7dGcptE21k9APD4sR3RARVtbi4mJ X81PbJf3yI4fEHwjjYRN77oAuo41K2CrehFmO8b0= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20240328091426epcas2p208bab96ab52db40fb58d0091188f5057~A4tX1gJge3121631216epcas2p2B; Thu, 28 Mar 2024 09:14:26 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.99]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4V4yXf4q51z4x9Q1; Thu, 28 Mar 2024 09:14:26 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id BC.F0.09665.2F435066; Thu, 28 Mar 2024 18:14:26 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20240328091426epcas2p4f227abb6cd7e710f49f4e61aa022f74f~A4tXDFxY13276532765epcas2p47; Thu, 28 Mar 2024 09:14:26 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240328091426epsmtrp113175e5df09bfaf7961f2a532f0f0bfb~A4tXCUtKk0853508535epsmtrp1F; Thu, 28 Mar 2024 09:14:26 +0000 (GMT) X-AuditID: b6c32a47-b9bfa700000025c1-d5-660534f247a8 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 48.8E.08390.1F435066; Thu, 28 Mar 2024 18:14:25 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240328091425epsmtip22419b86997fe6f36ca040526125ccc0d~A4tWyT-0B2411324113epsmtip2h; Thu, 28 Mar 2024 09:14:25 +0000 (GMT) From: Jaewon Kim To: Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd Cc: linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jaewon Kim Subject: [PATCH] clk: samsung: exynosautov9: fix wrong pll clock id value Date: Thu, 28 Mar 2024 18:10:00 +0900 Message-ID: <20240328091000.17660-1-jaewon02.kim@samsung.com> X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOJsWRmVeSWpSXmKPExsWy7bCmhe4nE9Y0g/u/FS0ezNvGZnH9y3NW ix0NR1gt9r7eym6x6fE1VouPPfdYLS7vmsNmMeP8PiaLi6dcLQ6/aWe1+HdtI4sDt8f7G63s Hpt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g-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240328091426epcas2p4f227abb6cd7e710f49f4e61aa022f74f References: All PLL id values of CMU_TOP were incorrectly set to FOUT_SHARED0_PLL. It modified to the correct PLL clock id value. Fixes: 6587c62f69dc ("clk: samsung: add top clock support for Exynos Auto v9 SoC") Signed-off-by: Jaewon Kim Reviewed-by: Sam Protsenko --- drivers/clk/samsung/clk-exynosautov9.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/samsung/clk-exynosautov9.c b/drivers/clk/samsung/clk-exynosautov9.c index e9c06eb93e66..f04bacacab2c 100644 --- a/drivers/clk/samsung/clk-exynosautov9.c +++ b/drivers/clk/samsung/clk-exynosautov9.c @@ -352,13 +352,13 @@ static const struct samsung_pll_clock top_pll_clks[] __initconst = { /* CMU_TOP_PURECLKCOMP */ PLL(pll_0822x, FOUT_SHARED0_PLL, "fout_shared0_pll", "oscclk", PLL_LOCKTIME_PLL_SHARED0, PLL_CON3_PLL_SHARED0, NULL), - PLL(pll_0822x, FOUT_SHARED0_PLL, "fout_shared1_pll", "oscclk", + PLL(pll_0822x, FOUT_SHARED1_PLL, "fout_shared1_pll", "oscclk", PLL_LOCKTIME_PLL_SHARED1, PLL_CON3_PLL_SHARED1, NULL), - PLL(pll_0822x, FOUT_SHARED0_PLL, "fout_shared2_pll", "oscclk", + PLL(pll_0822x, FOUT_SHARED2_PLL, "fout_shared2_pll", "oscclk", PLL_LOCKTIME_PLL_SHARED2, PLL_CON3_PLL_SHARED2, NULL), - PLL(pll_0822x, FOUT_SHARED0_PLL, "fout_shared3_pll", "oscclk", + PLL(pll_0822x, FOUT_SHARED3_PLL, "fout_shared3_pll", "oscclk", PLL_LOCKTIME_PLL_SHARED3, PLL_CON3_PLL_SHARED3, NULL), - PLL(pll_0822x, FOUT_SHARED0_PLL, "fout_shared4_pll", "oscclk", + PLL(pll_0822x, FOUT_SHARED4_PLL, "fout_shared4_pll", "oscclk", PLL_LOCKTIME_PLL_SHARED4, PLL_CON3_PLL_SHARED4, NULL), };