Article View: org.kernel.vger.linux-samsung-soc
Article #1[PATCH v2] clk: samsung: correct clock summary for hsi1 block
From: Pritam Manohar Sutar
Date: Tue, 06 May 2025 08:01
Date: Tue, 06 May 2025 08:01
43 lines
8422 bytes
8422 bytes
clk_summary shows wrong value for "mout_hsi1_usbdrd_user".
It shows 400Mhz instead of 40Mhz as below.
dout_shared2_div4 1 1 0 400000000 0 0 50000 Y ...
mout_hsi1_usbdrd_user 0 0 0 400000000 0 0 50000 Y ...
dout_clkcmu_hsi1_usbdrd 0 0 0 40000000 0 0 50000 Y ...
Correct the clk_tree by adding correct clock parent for
"mout_hsi1_usbdrd_user".
Post this change, clk_summary shows correct value.
dout_shared2_div4 1 1 0 400000000 0 0 50000 Y ...
mout_clkcmu_hsi1_usbdrd 0 0 0 400000000 0 0 50000 Y ...
dout_clkcmu_hsi1_usbdrd 0 0 0 40000000 0 0 50000 Y ...
mout_hsi1_usbdrd_user 0 0 0 40000000 0 0 50000 Y ...
Fixes: 485e13fe2fb6 ("clk: samsung: add top clock support for ExynosAuto v920 SoC")
Cc: stable <stable@kernel.org>
Signed-off-by: Pritam Manohar Sutar <pritam.sutar@samsung.com>
---
Changes in v2:
- Updated commit message as pointed by Alim Akhtar.
- Link to v1: https://patchwork.kernel.org/project/linux-samsung-soc/patch/20250428115049.2064955-1-pritam.sutar@samsung.com/
drivers/clk/samsung/clk-exynosautov920.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/samsung/clk-exynosautov920.c b/drivers/clk/samsung/clk-exynosautov920.c
index dc8d4240f6de..b0561faecfeb 100644
--- a/drivers/clk/samsung/clk-exynosautov920.c
+++ b/drivers/clk/samsung/clk-exynosautov920.c
@@ -1393,7 +1393,7 @@ static const unsigned long hsi1_clk_regs[] __initconst = {
/* List of parent clocks for Muxes in CMU_HSI1 */
PNAME(mout_hsi1_mmc_card_user_p) = {"oscclk", "dout_clkcmu_hsi1_mmc_card"};
PNAME(mout_hsi1_noc_user_p) = { "oscclk", "dout_clkcmu_hsi1_noc" };
-PNAME(mout_hsi1_usbdrd_user_p) = { "oscclk", "mout_clkcmu_hsi1_usbdrd" };
+PNAME(mout_hsi1_usbdrd_user_p) = { "oscclk", "dout_clkcmu_hsi1_usbdrd" };
PNAME(mout_hsi1_usbdrd_p) = { "dout_tcxo_div2", "mout_hsi1_usbdrd_user" };
static const struct samsung_mux_clock hsi1_mux_clks[] __initconst = {
--
2.34.1
Technical Details
Message-ID:
<20250506080154.3995512-1-pritam.sutar@samsung.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!nntp.lore.kernel.org!not-for-mailReferences:
<CGME20250506075413epcas5p2ce0db6da9f359e9c3bb16b03c1a5eb4f@epcas5p2.samsung.com>Show Full Headers
Complete Article Headers
Message-ID: <20250506080154.3995512-1-pritam.sutar@samsung.com> Subject: [PATCH v2] clk: samsung: correct clock summary for hsi1 block Date: Tue, 6 May 2025 13:31:54 +0530 From: Pritam Manohar Sutar <pritam.sutar@samsung.com> References: <CGME20250506075413epcas5p2ce0db6da9f359e9c3bb16b03c1a5eb4f@epcas5p2.samsung.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!nntp.lore.kernel.org!not-for-mail Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (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 93E0514B965 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal: ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746524713; cv=none; b=NOU3P4KMINpGB/y6k1y9wBJrSYZlvtgI1/axHIrnG48f291xhTumhxcTDYFhoBK0lkI7P+k/2u7Y3g4zcbQ+K7WVL4muGemB+LA72lqcHr6TiCfmXLId33LpTyzX6B/TfRNGBA5PCIaKBydW+vstMG5xqxhC0VKa9DZ4TCrFabg= ARC-Message-Signature: ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746524713; c=relaxed/simple; bh=lXRFaGpQmyZ+YFfaL8CbnLaP8UdnmN3oKkQGpsGRQVk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: References; b=LCO/dp7dt9+NrW79C6BFh95VAIXM7e5/y3lfLo+lo5ZlX+1ozQUzgXR71zKIO6qvfyQvsjcIiIn6z+OZh/jXb2wHPjYWCRmm0AfiyU60gT7BZsYcfX+VXVEoJD2fNuOmKA+Ospz0u5qiBKSl2cX8LIP2tBR52OqP6dpnfPmTXoE= ARC-Authentication-Results: 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=awRtSKKJ; arc=none smtp.client-ip=203.254.224.33 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="awRtSKKJ" Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20250506094503epoutp03412563dc4857685d7a0563e10adb8b74~85vbO2ieO1705517055epoutp03f DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20250506094503epoutp03412563dc4857685d7a0563e10adb8b74~85vbO2ieO1705517055epoutp03f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1746524703; bh=o37GEJbMCiK+/zd5lVzb4C3rovhL67AxKzA9bCSpfc0=; h=From:To:Cc:Subject:Date:References:From; b=awRtSKKJNZmUWuq3ImVDR/DDbLSBkANu3wZ1SZJ9nmV7le+NI5MXP9ctvgCnqIpCo SeG0779Lny5Yr/099Ubbpby8BdP8ZEKI/dXsvyjf+cudSgbpYJTdJ7Mw/ZUL+fwuK7 5DOe3r3fzaSEtKwmxgqPnEWxyqN1ks4nkjvaWWL4= Received: from epsnrtp03.localdomain (unknown [182.195.42.155]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPS id 20250506094502epcas5p296e358ba2c931bd5cea728720f4e323d~85vamUhlB0393203932epcas5p2I; Received: from epcas5p4.samsung.com (unknown [182.195.38.176]) by epsnrtp03.localdomain (Postfix) with ESMTP id 4ZsD5S3rDZz3hhT9; Tue, 6 May Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20250506075413epcas5p2ce0db6da9f359e9c3bb16b03c1a5eb4f~84OqOF_Hj0433704337epcas5p2t; Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20250506075413epsmtrp10e2e38e8362a86128042bc0cd71a100e~84OqDrxs-2829128291epsmtrp1x; X-AuditID: b6c32a52-41dfa70000004c16-e8-6819c025a9aa Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id Received: from bose.samsungds.net (unknown [107.108.83.9]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20250506075411epsmtip2856a7bfd5c50c7918eaa2bd424a91bcc~84On6ck161414214142epsmtip2n; To: krzk@kernel.org, s.nawrocki@samsung.com, cw00.choi@samsung.com, alim.akhtar@samsung.com, mturquette@baylibre.com, sboyd@kernel.org, sunyeal.hong@samsung.com Cc: linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, rosa.pila@samsung.com, dev.tailor@samsung.com, faraz.ata@samsung.com, Pritam Manohar Sutar <pritam.sutar@samsung.com>, stable <stable@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: <linux-clk.vger.kernel.org> List-Subscribe: <mailto:linux-clk+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-clk+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOLMWRmVeSWpSXmKPExsWy7bCSvK7qAckMg+fneS0ezNvGZnH9y3NW i3s7lrFbXLuxkN3i/PkN7BabHl9jtfjYc4/V4vKuOWwWM87vY7K4eMrV4tm9FWwWX34+YLY4 /Kad1eLftY0sFp/OX2CzaFq2nslBwOP9jVZ2j02rOtk8Ni+p9+jbsorR4/MmuQDWKC6blNSc zLLUIn27BK6M69/b2QrO8Fds/XqLvYGxibeLkZNDQsBE4ubctexdjFwcQgLbGSWetR9khEjI SDyatpEVwhaWWPnvOVTRW0aJJecnM3cxcnCwCZhKTNyTABIXEVjDKNG1/xcriMMssJxJ4mHT JCaQbmEBN4m7tzewg9gsAqoSx1ovs4HYvAL2EkeXTmOC2CAvsf/gWWaIuKDEyZlPWEBsZqB4 89bZzBMY+WYhSc1CklrAyLSKUTS1oDg3PTe5wFCvODG3uDQvXS85P3cTIzjstYJ2MC5b/1fv ECMTB+MhRgkOZiUR3pZZEhlCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeZVzOlOEBNITS1KzU1ML UotgskwcnFINTBPyT3jplCZUZhasSb152jSlbhfPujfdScoCq878VXn3/ryzlfjG+DPzzzAs ifebJp/2+c35tlWPX530VzR7sP5a8zHOqEmv9Yw6JUJW7HLfdb97/oI/Jhuuv5rmUDY9pt7S l13S7su7L9OXn196Zbn3rELTnp+3jgtOjEnIntL97cbDLvnpjqlBJ7bZsHV9Pb6OR373x5kH PVYvOXdik1a5eeuJVvn+n0G8IekhuquYd61cGF+p0SFe15f50Mn/se815WXJ1TduaxmYnuFU Wnd2ZoTFgWWee7RbO+PvPdf68PynTs2rYu7JiU+LLFbcbzgXcj7Kc/11gbUqW+873FgbsV3p t/FLGb0H1a8jTA2UWIozEg21mIuKEwFKaNGo6gIAAA== X-CMS-MailID: 20250506075413epcas5p2ce0db6da9f359e9c3bb16b03c1a5eb4f X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P CpgsPolicy: CPGSC10-542,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250506075413epcas5p2ce0db6da9f359e9c3bb16b03c1a5eb4f Newsgroups: org.kernel.vger.linux-clk,org.kernel.vger.linux-kernel,org.kernel.vger.linux-samsung-soc