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: 13758723 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 F2905C52D7C for ; Fri, 9 Aug 2024 11:56:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:References:Content-Type:Cc: To:In-Reply-To:Message-Id:Content-Transfer-Encoding:MIME-Version:Subject:Date :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oaBrU9ww+8KkBsQRcTa2HOJ8kACKTNUvLohCkg5ah1A=; b=FXFD66r7O6jAAdOi3Vi4H1HfMb zwmWQv7/vH3YSKg7EnoBBYgpgYqIvQPijgGbcpkOdU0OYjpekreRKsh9OjozBktHrAXaXRkpmo7CN fmzCv0jOI6C7XSJkQpMJDCtlpTPkNdpR8fQo0929J8ejWP+Z9lWKYDit6KK412JeKO+3j19XEdD2r QA5ZY7vRto8G0/u194+0FnSm4061Ob8glpNzEs8aGtqS0gpqqoBUlELCnngkzTLw6oRumi3Yud96T ikK1f6IhMyoKQv2isZtuJ3qC2X1g4yFoVrYA49NYtz7hpFzkORCH/b8j+GZAISa1Dj/v8MQhOPk7U 3JmGoPug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scOEF-0000000B7vl-0kYs; Fri, 09 Aug 2024 11:56:19 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scOD6-0000000B7cF-1QFJ for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2024 11:55:10 +0000 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20240809115502epoutp035c9471cd64099e676d7e0e3e4abc1604~qDV2FX0P41098910989epoutp03s for ; Fri, 9 Aug 2024 11:55:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20240809115502epoutp035c9471cd64099e676d7e0e3e4abc1604~qDV2FX0P41098910989epoutp03s 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 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+NgFtrCJsWRmVeSWpSXmKPExsWy7bCm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CnrsmPbkdo83w6cX+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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240809_045509_052715_F50ACB08 X-CRM114-Status: GOOD ( 15.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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