From patchwork Fri Aug 9 11:54:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kwanghoon Son X-Patchwork-Id: 13758729 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 62346194085 for ; Fri, 9 Aug 2024 11:55:10 +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=1723204512; cv=none; b=k4sACht+rhqIX6azr1IfrXP8IEat6Igdk/BVIdBTogSW60n3I54jiulNvFgaCdL7nK3ovBEOZZ+FoteaY3rPfPKvmynSCz2J2lKzPyY/+034P87B1NLTbZRNp0LLLLp2wcDZvhsudq1OmK3b/7KqU9RdeZa3ECg/ZUW4kSnwTms= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723204512; c=relaxed/simple; bh=DlwwV/cfqJEJotoxvSuOqqNb11r+qX2+3KI5M671GPQ=; h=From:Date:Subject:MIME-Version:Message-Id:In-Reply-To:To:Cc: Content-Type:References; b=o0uJkur0puIcUDigATN37bDjKUdX7qUaCQU+zSraP+AP2NW7umgnNYHIRZdeqB3xhZsgV5e4MRmb0V/UmTVYoUd9vcxfTaiJn4M4mIjdM/A2wtUi4kXr/y38jLFRr7MMIZLHdaGl/GT+WUy+grW8H3066wNMOK0eEKM6IWE8OlU= 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=dhkBcsZ2; 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="dhkBcsZ2" Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20240809115502epoutp013a138767c9184a46bcc3f5704a5af032~qDV2HYbzB0936709367epoutp01B for ; Fri, 9 Aug 2024 11:55:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20240809115502epoutp013a138767c9184a46bcc3f5704a5af032~qDV2HYbzB0936709367epoutp01B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1723204502; bh=oaBrU9ww+8KkBsQRcTa2HOJ8kACKTNUvLohCkg5ah1A=; h=From:Date:Subject:In-Reply-To:To:Cc:References:From; b=dhkBcsZ28TdRcCC6sey4iMVNa2q+vsuGeddMtU1y4J5mfJnP77obC+jUnLb1so5rO yqvYUOAzkqegcCxhurc8KuIda63wufhj8hxcOxh//6n9Og8ZObEUUuOKVH1uIeGLQx hI+c6PXJKjcNBubc0X32J+kX/LuWgsUZxUexiJ7s= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20240809115502epcas1p19e884a1e6d6b4b847d4cc756534c44f8~qDV1iDMbN1785917859epcas1p1P; Fri, 9 Aug 2024 11:55:02 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.36.135]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4WgMm45zC3z4x9Pr; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 40.71.09734.49306B66; Fri, 9 Aug 2024 20:55:00 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20240809115500epcas1p32a698c821765e1a0d5fa998e6e08f1cd~qDVz28AP01889518895epcas1p37; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240809115500epsmtrp2c80367f8d87080c5a19cf92e7fb19545~qDVz2GAPg2146221462epsmtrp2X; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) X-AuditID: b6c32a39-8f9ff70000002606-a7-66b6039443c7 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id 7F.43.19367.49306B66; Fri, 9 Aug 2024 20:55:00 +0900 (KST) Received: from [127.0.1.1] (unknown [10.113.111.204]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240809115500epsmtip191c8ab68ce01f1f077dc7530ec32c4d0~qDVzjDugK0371703717epsmtip1h; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) From: Kwanghoon Son Date: Fri, 09 Aug 2024 20:54:12 +0900 Subject: [PATCH v3 1/3] dt-bindings: clock: exynosautov9: add dpum clock Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240809-clk_dpum-v3-1-359decc30fe2@samsung.com> In-Reply-To: <20240809-clk_dpum-v3-0-359decc30fe2@samsung.com> To: Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Rob Herring , Conor Dooley , Chanho Park , Tomasz Figa , Krzysztof Kozlowski Cc: linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kwanghoon Son X-Mailer: b4 0.14.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCJsWRmVeSWp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ROAD02rWpp28 XfzCnrsmPbkdo83w6cX+IHO2J5k5/gq3rq7MC1ljc3Cbg+y3W3ll57iuB6Xs94/Xm7Ez8dNP 4z05rj/+71s371jfUpmtr1y7u+a+CmCr91HfM1Hw48m0GeJR7qvLd78R3rb+7yJF611KLMUZ iYZazEXFiQBvmRBBIAMAAA== X-CMS-MailID: 20240809115500epcas1p32a698c821765e1a0d5fa998e6e08f1cd X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240809115500epcas1p32a698c821765e1a0d5fa998e6e08f1cd References: <20240809-clk_dpum-v3-0-359decc30fe2@samsung.com> Add dpum clock definitions and compatibles. Also used clock name 'bus' instead of full clock name dout_clkcmu_dpum_bus like other board cmu schema (GS101). Signed-off-by: Kwanghoon Son --- .../bindings/clock/samsung,exynosautov9-clock.yaml | 19 +++++++++++++++++++ include/dt-bindings/clock/samsung,exynosautov9.h | 11 +++++++++++ 2 files changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/samsung,exynosautov9-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynosautov9-clock.yaml index 55c4f94a14d1..32f39e543b36 100644 --- a/Documentation/devicetree/bindings/clock/samsung,exynosautov9-clock.yaml +++ b/Documentation/devicetree/bindings/clock/samsung,exynosautov9-clock.yaml @@ -35,6 +35,7 @@ properties: - samsung,exynosautov9-cmu-top - samsung,exynosautov9-cmu-busmc - samsung,exynosautov9-cmu-core + - samsung,exynosautov9-cmu-dpum - samsung,exynosautov9-cmu-fsys0 - samsung,exynosautov9-cmu-fsys1 - samsung,exynosautov9-cmu-fsys2 @@ -109,6 +110,24 @@ allOf: - const: oscclk - const: dout_clkcmu_core_bus + - if: + properties: + compatible: + contains: + const: samsung,exynosautov9-cmu-dpum + + then: + properties: + clocks: + items: + - description: External reference clock (26 MHz) + - description: DPU Main bus clock (from CMU_TOP) + + clock-names: + items: + - const: oscclk + - const: bus + - if: properties: compatible: diff --git a/include/dt-bindings/clock/samsung,exynosautov9.h b/include/dt-bindings/clock/samsung,exynosautov9.h index 3065375c2d8b..ce8fb8f7d718 100644 --- a/include/dt-bindings/clock/samsung,exynosautov9.h +++ b/include/dt-bindings/clock/samsung,exynosautov9.h @@ -179,6 +179,17 @@ #define CLK_GOUT_CORE_CCI_PCLK 4 #define CLK_GOUT_CORE_CMU_CORE_PCLK 5 +/* CMU_DPUM */ +#define CLK_MOUT_DPUM_BUS_USER 1 +#define CLK_DOUT_DPUM_BUSP 2 +#define CLK_GOUT_DPUM_ACLK_DECON 3 +#define CLK_GOUT_DPUM_ACLK_DMA 4 +#define CLK_GOUT_DPUM_ACLK_DPP 5 +#define CLK_GOUT_DPUM_SYSMMU_D0_CLK 6 +#define CLK_GOUT_DPUM_SYSMMU_D1_CLK 7 +#define CLK_GOUT_DPUM_SYSMMU_D2_CLK 8 +#define CLK_GOUT_DPUM_SYSMMU_D3_CLK 9 + /* CMU_FSYS0 */ #define CLK_MOUT_FSYS0_BUS_USER 1 #define CLK_MOUT_FSYS0_PCIE_USER 2 From patchwork Fri Aug 9 11:54:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kwanghoon Son X-Patchwork-Id: 13758730 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 5302719309E for ; Fri, 9 Aug 2024 11:55:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723204513; cv=none; b=ucvUonfiH+Oa58iOXFhhRcqceWyYLKuIYe5OhNGS6UBH0rvh5kTWo5uFUloE2faDCMVhRaP8G5eNylIxn61PKYjftMEtycuGIiNMoJDY+EOt19yH/8FSRDfzkLqWqmW0zG203+926FPdH6t96DO9JceS74cy+W5Q8mvaKgE9JwY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723204513; c=relaxed/simple; bh=HuB7+0+lduSH9n1aXvH8QNrnF1qWMCAkwysWDaRzhD0=; h=From:Date:Subject:MIME-Version:Message-Id:In-Reply-To:To:Cc: Content-Type:References; b=JgTlGlYqkGxJqOCwrVboEItZzqjJWfdDjgJuCBBv/bkQb26g+2O3eR+PKUWhwA7tqzCGydft8TmviAxPORRy1pQKvyKe7mmu7VinhwZn7CdLzX3oXHE0R2TuI1oEGG8/kfXM8ByU1Hm0T1D8fyPQQp1Mk3cRF0Z7W89SmMQuQeI= 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=ICbuff3e; 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="ICbuff3e" Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20240809115503epoutp030f0a59ef948e99a9963d28b90e23469d~qDV2cyNE-1179211792epoutp03B for ; Fri, 9 Aug 2024 11:55:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20240809115503epoutp030f0a59ef948e99a9963d28b90e23469d~qDV2cyNE-1179211792epoutp03B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1723204503; bh=ti7n4jh2Mw4aPtoeVYGdhmFH2buwD7PP1gN8PvkU+dE=; h=From:Date:Subject:In-Reply-To:To:Cc:References:From; b=ICbuff3evaMoD6SzfOPP7flmn7OEYloAtVHmdnlXgFCf2AfB57EcjLB5zlWaNxQWz q6pXWmdYNUle3vF2Ua8UxbAtiYFAxxSxI5KjRQRyFGJYgJqhErfAXoXD3zUrSX+SzI qWpBYOe8CaTUPSrpXuJtHIWzyvzdopI/Lrolmfug= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20240809115502epcas1p20f0142917c7ebe3eee2f5ceb0d56816e~qDV1pGtJd2527425274epcas1p26; Fri, 9 Aug 2024 11:55:02 +0000 (GMT) Received: from epsmgec1p1.samsung.com (unknown [182.195.36.133]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4WgMm500JSz4x9Pp; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmgec1p1.samsung.com (Symantec Messaging Gateway) with SMTP id B5.64.09623.49306B66; Fri, 9 Aug 2024 20:55:00 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20240809115500epcas1p34ab112e1a0da7247257b9cb8f7eafbe9~qDV0BN07Q1924619246epcas1p3B; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240809115500epsmtrp286e6eab320d9cc97c0418703f68f4318~qDV0AU9fs2146221462epsmtrp2c; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) X-AuditID: b6c32a36-ef9ff70000002597-19-66b603949296 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 03.17.07567.49306B66; Fri, 9 Aug 2024 20:55:00 +0900 (KST) Received: from [127.0.1.1] (unknown [10.113.111.204]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240809115500epsmtip1722a39cd18b3a29652fac75e15101e29~qDVzswwKm0525105251epsmtip1J; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) From: Kwanghoon Son Date: Fri, 09 Aug 2024 20:54:13 +0900 Subject: [PATCH v3 2/3] arm64: dts: exynosautov9: add dpum clock DT nodes Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240809-clk_dpum-v3-2-359decc30fe2@samsung.com> In-Reply-To: <20240809-clk_dpum-v3-0-359decc30fe2@samsung.com> To: Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Rob Herring , Conor Dooley , Chanho Park , Tomasz Figa , Krzysztof Kozlowski Cc: linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kwanghoon Son X-Mailer: b4 0.14.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGJsWRmVeSWpSXmKPExsWy7bCmvu4U5m1pBg0HzSwezNvGZnF5v7bF mr3nmCyuf3nOajH/yDlWi941V5ksXs66x2Zx/vwGdotNj6+xWnzsucdqcXnXHDaLGef3MVlc POVq8X/PDnaLw2/aWS3+XdvIYrFq1x9GB0GP9zda2T12zrrL7rFpVSebx+Yl9R59W1Yxenze JBfAFpVtk5GamJJapJCal5yfkpmXbqvkHRzvHG9qZmCoa2hpYa6kkJeYm2qr5OIToOuWmQN0 upJCWWJOKVAoILG4WEnfzqYov7QkVSEjv7jEVim1ICWnwLRArzgxt7g0L10vL7XEytDAwMgU qDAhO2NGzzfGgv3sFXtn7mVrYJzB1sXIySEhYCLx7+5lIJuLQ0hgB6PE7Mb/jBDOJ0aJKW+X MUE43xglWs+dYoJpeX6kgxkisZdR4sfu2VAtrxgl+h7eYQGpYhNQl1jStpYdxGYRUJVYsnkV mC0s4CmxfP4BRh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WtgnMHWxcjJISFgIvH8SAdzFyMXh5DA bkaJBUfOM0MkRCU6LjcydjFyANnCEocPF0PUvGCUWHvyHStIDZuAusSStrXsIDaLgKrEks2r wGxhAU+J5fMPMILYvAKCEidnPmEBmcMsoCmxfpc+SJhZQF5i+9s5zBAlthIHb65lBikRArLP PwE7jVPATuLYsVOsIGtFBA4yS/x+840dxGEWOMkoMXHBdnaIO4UlPu9ewzaBUXAWknWzENbN QrJuASPzKkbJ1ILi3PTcZMMCw7zUcr3ixNzi0rx0veT83E2M4FjT0tjBeG/+P71DjEwcjIcY JTiYlUR4m8M3pQnxpiRWVqUW5ccXleakFh9ilOZgURLnNZwxO0VIID2xJDU7NbUgtQgmy8TB KdXA5B/xmyvlU57uxRn9B2rETlpN57Cfdj58sm721E9i74/tPaqQ8XvtfFvGnGnrHzRcerpv Sj2zy4qvd5JP3bnxy7NRXkj1gHxYt7T/5Iqn3HMmWPDN6mTwUKrs+7bDR2fDWpk6z0+2mz7a BRrfFOdoWde7eNckzzTG5YtSApZ+qlc6YRLykcm4cuqJsv3Cvs9FEqcbCYrsl1t6efvqqzIz nmefmDFDOrSSkdXh4tdVRaVHTrPdsy0WTQmbrprU4BCYvn7K77nateJ1E5La/3wv2dG5ZL52 IoO3LN/twpd/ldmVby+/mx6c8vO3kqm59htxZ/cS/vfKuov0Ld4sDZDu2M//2Ob31q8JfsF/ nMynKLEUZyQaajEXFScCAPs2wREkAwAA X-CMS-MailID: 20240809115500epcas1p34ab112e1a0da7247257b9cb8f7eafbe9 X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240809115500epcas1p34ab112e1a0da7247257b9cb8f7eafbe9 References: <20240809-clk_dpum-v3-0-359decc30fe2@samsung.com> Add dpum clock for sysmmu, dpu. Signed-off-by: Kwanghoon Son --- arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi index 0248329da49a..599e72824875 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -251,6 +251,16 @@ cmu_fsys2: clock-controller@17c00000 { "dout_fsys2_clkcmu_ethernet"; }; + cmu_dpum: clock-controller@18c00000 { + compatible = "samsung,exynosautov9-cmu-dpum"; + reg = <0x18c00000 0x8000>; + #clock-cells = <1>; + + clocks = <&xtcxo>, + <&cmu_top DOUT_CLKCMU_DPUM_BUS>; + clock-names = "oscclk", "bus"; + }; + cmu_core: clock-controller@1b030000 { compatible = "samsung,exynosautov9-cmu-core"; reg = <0x1b030000 0x8000>; From patchwork Fri Aug 9 11:54:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kwanghoon Son X-Patchwork-Id: 13758731 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) (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 9B135194090 for ; Fri, 9 Aug 2024 11:55:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.25 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723204513; cv=none; b=Jnwbyf84IGUFvQgGAIeUl7NIxB1yE3RJw84hWSZO272krEQspShFCGdzzKHrrNrVgcNQi3mpt3WIzRbWermXm2dakSBtA2SPGrpivxeGHduSeyDMBt4guxhylFXTA6oxR2Q7p7FF7Bq+12H5GBUKre1boq7VTS/Sa6fI6y3NhYo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723204513; c=relaxed/simple; bh=R0q/IOIPXcMsyPFLcPBQhRysfTBtfQH3cXZEtAybYwE=; h=From:Date:Subject:MIME-Version:Message-Id:In-Reply-To:To:Cc: Content-Type:References; b=VtTDlOasNLO0QW58gjRsLwzHZCrHhl2U4UQilLXY36h20xib81RioCxSt8N3XgcLlP/jqDDf1qP+K21YNWim3YUFxFiZKr3HBgRdBg9+5N2/pGfEIYMOFcvLuwmXT8HHKk6i322MQ6PpJe2S8nsF+gUjcPMH3SDc/TVTtA/HGII= 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=BJLG+l31; arc=none smtp.client-ip=203.254.224.25 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="BJLG+l31" Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20240809115502epoutp0245e6d8aa31ccd2aab87a17e599b85184~qDV2CrtS13024430244epoutp02X for ; Fri, 9 Aug 2024 11:55:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20240809115502epoutp0245e6d8aa31ccd2aab87a17e599b85184~qDV2CrtS13024430244epoutp02X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1723204502; bh=oNAixaoIFl5Jvo3oZWyuHNh3u30bHQ/tEZRYaZSbFuo=; h=From:Date:Subject:In-Reply-To:To:Cc:References:From; b=BJLG+l313+FkuNYdK2p+D02xfp0pYfDPjMgLi0k/n+cdvnDa2L2Nn+Xjw+NTec/53 Mi0uK7jR0JkbF3myBO57rZK6xzQgU7SYie0Az3UDj/anUSnlIQTu1fjv9eg42YPjt0 zbBsindns0hjH4P+K49Qa7FWhcDuowgxMC/Vspfg= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20240809115502epcas1p488f61f09bd9f63b57fdfd74213788467~qDV1lA_Gi2221722217epcas1p4f; Fri, 9 Aug 2024 11:55:02 +0000 (GMT) Received: from epsmgec1p1-new.samsung.com (unknown [182.195.36.132]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4WgMm51dprz4x9Px; Fri, 9 Aug 2024 11:55:01 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmgec1p1-new.samsung.com (Symantec Messaging Gateway) with SMTP id D9.53.19509.49306B66; Fri, 9 Aug 2024 20:55:01 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20240809115500epcas1p458405a51caf1af8e9d4e2f7130b82725~qDV0N67Oo0888308883epcas1p4c; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240809115500epsmtrp18737ddff3c97a3b506951fea438610fa~qDV0M33Fa2135421354epsmtrp1f; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) X-AuditID: b6c32a4c-10bff70000004c35-16-66b603941f99 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id 01.53.19367.49306B66; Fri, 9 Aug 2024 20:55:00 +0900 (KST) Received: from [127.0.1.1] (unknown [10.113.111.204]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240809115500epsmtip1cac26f8bc4791bba8bace1794fb38bf6~qDVz2Q_xT0657906579epsmtip1l; Fri, 9 Aug 2024 11:55:00 +0000 (GMT) From: Kwanghoon Son Date: Fri, 09 Aug 2024 20:54:14 +0900 Subject: [PATCH v3 3/3] clk: samsung: exynosautov9: add dpum clock support Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240809-clk_dpum-v3-3-359decc30fe2@samsung.com> In-Reply-To: <20240809-clk_dpum-v3-0-359decc30fe2@samsung.com> To: Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Rob Herring , Conor Dooley , Chanho Park , Tomasz Figa , Krzysztof Kozlowski Cc: linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kwanghoon Son X-Mailer: b4 0.14.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOJsWRmVeSWpSXmKPExsWy7bCmru5U5m1pBud/Mlo8mLeNzeLyfm2L NXvPMVlc//Kc1WL+kXOsFr1rrjJZvJx1j83i/PkN7BabHl9jtfjYc4/V4vKuOWwWM87vY7K4 eMrV4v+eHewWh9+0s1r8u7aRxWLVrj+MDoIe72+0snvsnHWX3WPTqk42j81L6j36tqxi9Pi8 SS6ALSrbJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwfo dCWFssScUqBQQGJxsZK+nU1RfmlJqkJGfnGJrVJqQUpOgWmBXnFibnFpXrpeXmqJlaGBgZEp UGFCdkbX2/ksBb/VK9bvDW9gvKDUxcjJISFgIvF1yS5WEFtIYA+jxPuV9V2MXED2J0aJvX13 2eGc/9cuMsN03N6+Hiqxk1Hi7+bdjBDtrxglpm70BLHZBNQllrStZQexWQRUJe6+OsoCYgsL eEls6ZkLZvMKCEqcnPkEzGYWkJfY/nYOM0TcVuLcvWVgNqeAncSxY6dYQZaJCOxnljj18Dkb iMMscIJR4tftBYwQJwlLfN69BiwhIXCCQ+L448dQCReJFb8+MsEUvTq+hR3ClpJ42d8GZWdL HP24lw3CLpG4PmsRK4RtLLF/6WSgXg6gbZoS63f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FKhIDs80/Y QMKcAnYSx46dYgVZKyJwkFni95tvYHcyC5xklJi4YDs7xJ3CEp93r2GbwCg4C8m6WQjrZiFZ t4CReRWjaGpBcW56bnKBoV5xYm5xaV66XnJ+7iZGcIRpBe1gXLb+r94hRiYOxkOMEhzMSiK8 zeGb0oR4UxIrq1KL8uOLSnNSiw8xSnOwKInzKud0pggJpCeWpGanphakFsFkmTg4pRqYRLmm yh6ZWrS5ZDWzZVLkVpn6aXYGZ1xNdx3TNbXZ8nGCuFuAZ1PIzoaDefcX8QgJ1qQ9fOfY88Ez b8/5mMBNhZtW/VtgX7AvJKb5bF/iqhjmiAky109oLrxW+mVn78IXR65/LF2z99PWojhTwcdT F7JxPZ4yMbGO//wVG9GjE7cFcIl+1KnX/VV6ePOE+4/rRA476lya2W1/OcbURNjGRzRh/fpO Y+3WZ10Jfayrz/Ee27/jnLXzu6l6T9imnDPtmH8qv3jzqswJP1RlNnv7HJujFtN5qvhHpEr0 mzDvnOSm7NgzuTaKP87Irj286sa5aQxhvwwerFtpF5lWOrfM8ORUnbM2t2azvNmV/JE1UYml OCPRUIu5qDgRAN44CHMfAwAA X-CMS-MailID: 20240809115500epcas1p458405a51caf1af8e9d4e2f7130b82725 X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240809115500epcas1p458405a51caf1af8e9d4e2f7130b82725 References: <20240809-clk_dpum-v3-0-359decc30fe2@samsung.com> Add dpum clock for exynosautov9. Signed-off-by: Kwanghoon Son --- drivers/clk/samsung/clk-exynosautov9.c | 83 ++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/drivers/clk/samsung/clk-exynosautov9.c b/drivers/clk/samsung/clk-exynosautov9.c index f04bacacab2c..5971e680e566 100644 --- a/drivers/clk/samsung/clk-exynosautov9.c +++ b/drivers/clk/samsung/clk-exynosautov9.c @@ -20,6 +20,7 @@ #define CLKS_NR_TOP (GOUT_CLKCMU_PERIS_BUS + 1) #define CLKS_NR_BUSMC (CLK_GOUT_BUSMC_SPDMA_PCLK + 1) #define CLKS_NR_CORE (CLK_GOUT_CORE_CMU_CORE_PCLK + 1) +#define CLKS_NR_DPUM (CLK_GOUT_DPUM_SYSMMU_D3_CLK + 1) #define CLKS_NR_FSYS0 (CLK_GOUT_FSYS0_PCIE_GEN3B_4L_CLK + 1) #define CLKS_NR_FSYS1 (CLK_GOUT_FSYS1_USB30_1_ACLK + 1) #define CLKS_NR_FSYS2 (CLK_GOUT_FSYS2_UFS_EMBD1_UNIPRO + 1) @@ -1076,6 +1077,85 @@ static const struct samsung_cmu_info core_cmu_info __initconst = { .clk_name = "dout_clkcmu_core_bus", }; +/* ---- CMU_DPUM ---------------------------------------------------------- */ + +/* Register Offset definitions for CMU_DPUM (0x18c00000) */ +#define PLL_CON0_MUX_CLKCMU_DPUM_BUS_USER 0x0600 +#define CLK_CON_DIV_DIV_CLK_DPUM_BUSP 0x1800 +#define CLK_CON_GAT_GOUT_BLK_DPUM_UID_DPUM_IPCLKPORT_ACLK_DECON 0x202c +#define CLK_CON_GAT_GOUT_BLK_DPUM_UID_DPUM_IPCLKPORT_ACLK_DMA 0x2030 +#define CLK_CON_GAT_GOUT_BLK_DPUM_UID_DPUM_IPCLKPORT_ACLK_DPP 0x2034 +#define CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D0_DPUM_IPCLKPORT_CLK_S1 0x207c +#define CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D1_DPUM_IPCLKPORT_CLK_S1 0x2084 +#define CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D2_DPUM_IPCLKPORT_CLK_S1 0x208c +#define CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D3_DPUM_IPCLKPORT_CLK_S1 0x2094 + +static const unsigned long dpum_clk_regs[] __initconst = { + PLL_CON0_MUX_CLKCMU_DPUM_BUS_USER, + CLK_CON_DIV_DIV_CLK_DPUM_BUSP, + CLK_CON_GAT_GOUT_BLK_DPUM_UID_DPUM_IPCLKPORT_ACLK_DECON, + CLK_CON_GAT_GOUT_BLK_DPUM_UID_DPUM_IPCLKPORT_ACLK_DMA, + CLK_CON_GAT_GOUT_BLK_DPUM_UID_DPUM_IPCLKPORT_ACLK_DPP, + CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D0_DPUM_IPCLKPORT_CLK_S1, + CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D1_DPUM_IPCLKPORT_CLK_S1, + CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D2_DPUM_IPCLKPORT_CLK_S1, + CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D3_DPUM_IPCLKPORT_CLK_S1, +}; + +PNAME(mout_dpum_bus_user_p) = { "oscclk", "dout_clkcmu_dpum_bus" }; + +static const struct samsung_mux_clock dpum_mux_clks[] __initconst = { + MUX(CLK_MOUT_DPUM_BUS_USER, "mout_dpum_bus_user", + mout_dpum_bus_user_p, PLL_CON0_MUX_CLKCMU_DPUM_BUS_USER, 4, 1), +}; + +static const struct samsung_div_clock dpum_div_clks[] __initconst = { + DIV(CLK_DOUT_DPUM_BUSP, "dout_dpum_busp", "mout_dpum_bus_user", + CLK_CON_DIV_DIV_CLK_DPUM_BUSP, 0, 3), +}; + +static const struct samsung_gate_clock dpum_gate_clks[] __initconst = { + GATE(CLK_GOUT_DPUM_ACLK_DECON, "gout_dpum_decon_aclk", + "mout_dpum_bus_user", + CLK_CON_GAT_GOUT_BLK_DPUM_UID_DPUM_IPCLKPORT_ACLK_DECON, 21, + 0, 0), + GATE(CLK_GOUT_DPUM_ACLK_DMA, "gout_dpum_dma_aclk", "mout_dpum_bus_user", + CLK_CON_GAT_GOUT_BLK_DPUM_UID_DPUM_IPCLKPORT_ACLK_DMA, 21, + 0, 0), + GATE(CLK_GOUT_DPUM_ACLK_DPP, "gout_dpum_dpp_aclk", "mout_dpum_bus_user", + CLK_CON_GAT_GOUT_BLK_DPUM_UID_DPUM_IPCLKPORT_ACLK_DPP, 21, + 0, 0), + GATE(CLK_GOUT_DPUM_SYSMMU_D0_CLK, "gout_dpum_sysmmu_d0_clk", + "mout_dpum_bus_user", + CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D0_DPUM_IPCLKPORT_CLK_S1, 21, + 0, 0), + GATE(CLK_GOUT_DPUM_SYSMMU_D1_CLK, "gout_dpum_sysmmu_d1_clk", + "mout_dpum_bus_user", + CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D1_DPUM_IPCLKPORT_CLK_S1, 21, + 0, 0), + GATE(CLK_GOUT_DPUM_SYSMMU_D2_CLK, "gout_dpum_sysmmu_d2_clk", + "mout_dpum_bus_user", + CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D2_DPUM_IPCLKPORT_CLK_S1, 21, + 0, 0), + GATE(CLK_GOUT_DPUM_SYSMMU_D3_CLK, "gout_dpum_sysmmu_d3_clk", + "mout_dpum_bus_user", + CLK_CON_GAT_GOUT_BLK_DPUM_UID_SYSMMU_D3_DPUM_IPCLKPORT_CLK_S1, 21, + 0, 0), +}; + +static const struct samsung_cmu_info dpum_cmu_info __initconst = { + .mux_clks = dpum_mux_clks, + .nr_mux_clks = ARRAY_SIZE(dpum_mux_clks), + .div_clks = dpum_div_clks, + .nr_div_clks = ARRAY_SIZE(dpum_div_clks), + .gate_clks = dpum_gate_clks, + .nr_gate_clks = ARRAY_SIZE(dpum_gate_clks), + .nr_clk_ids = CLKS_NR_DPUM, + .clk_regs = dpum_clk_regs, + .nr_clk_regs = ARRAY_SIZE(dpum_clk_regs), + .clk_name = "bus", +}; + /* ---- CMU_FSYS0 ---------------------------------------------------------- */ /* Register Offset definitions for CMU_FSYS2 (0x17700000) */ @@ -2085,6 +2165,9 @@ static const struct of_device_id exynosautov9_cmu_of_match[] = { }, { .compatible = "samsung,exynosautov9-cmu-core", .data = &core_cmu_info, + }, { + .compatible = "samsung,exynosautov9-cmu-dpum", + .data = &dpum_cmu_info, }, { .compatible = "samsung,exynosautov9-cmu-fsys0", .data = &fsys0_cmu_info,