From patchwork Mon Oct 7 07:13:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunyeal Hong X-Patchwork-Id: 13824282 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 D171ECFB43F for ; Mon, 7 Oct 2024 07:45:26 +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: Content-Transfer-Encoding:MIME-Version:In-Reply-To:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ssRExWKD5A07LgoUhNw/tWVunYPb56F3kIxoBfoq3pA=; b=r3OqaIYCrZYDJCSDD+LLLErasC wAqXnV5FJDDXIJYdZOJwaYFRfuPY1Gzo/WyBKML/i+ut20Myo8RqS19+a2BQnl18ww/dpPNmuZ5gS v6MwqaZGKRdlMU9lIHYaUI3O38hZVnvhPl6I5xCJpgb0YkR9i1Wo19X0Vyis/4DZtw57QEVdhvAvy XPl+ZVMQpY/LHul1aCjVgg1FtDaZqdAL60o6k1g4SS5G5wzfcOlPysC4kyUaG+18itmtoM/jY3Fr9 bnHFY7scTqpYtZNZHBgFKb3bEMWcVTe8eo3FezAtg9JIipjkwWT9ho2fROx/pZhmYLdQ6upoNggpO 9q6T0eeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sxiQb-00000001dLo-2NpJ; Mon, 07 Oct 2024 07:45:13 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sxhwK-00000001YUo-3XqB for linux-arm-kernel@bombadil.infradead.org; Mon, 07 Oct 2024 07:13:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=References:Content-Type: Content-Transfer-Encoding:MIME-Version:In-Reply-To:Message-ID:Date:Subject:Cc :To:From:Sender:Reply-To:Content-ID:Content-Description; bh=ssRExWKD5A07LgoUhNw/tWVunYPb56F3kIxoBfoq3pA=; b=QYaWWEttSDYM0SCXDA7Tix7MJj j56SvEOOgyGbFMvp5rAbWogYiKf1L26S8kaZfqn+8jIkc5dnnYAI1o22sS/M0fZKpGfEWRNHL2r/T 91cwxTxL71nMSq2tTWJBG8Xf86qexsLAgY03veFCfd0pDSLWDHQ6Ok5K2qQYVtudcJOBdbmCDIrJy l7I6OL6pfY/kYnkgaJHjZpBA9gKWd0lz/Dlz84rwvzTKarNrcXPwl2L/pn0twVWBQZgK8MpVpGDNd 3JcIa1dmh1Mk11EoeZJ/HOBqkXSQ+zAB98s1S3zqdjiuVdsL6B+7ug9/sMHyxPfKrS621rjEsykXQ uXtXQ6gA==; Received: from mailout2.samsung.com ([203.254.224.25]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sxhwE-00000004Ngv-1byR for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2024 07:13:55 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20241007071340epoutp02c96d6d3c7e0ebb72a03ee0c1c3a40585~8GkBD7CcW1886118861epoutp02Q for ; Mon, 7 Oct 2024 07:13:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20241007071340epoutp02c96d6d3c7e0ebb72a03ee0c1c3a40585~8GkBD7CcW1886118861epoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1728285220; bh=ssRExWKD5A07LgoUhNw/tWVunYPb56F3kIxoBfoq3pA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lWcuUIyYTkZdaAbo76QUup0nTxxAfPQsOLJjkLjIeRSFc3GLH0QZRID/01Do1WIkj 0kmDXv/+OInyIUcjfsSqHiH24fX1HKk/kXNh43PrbkoD7EGD/zPL2pcyIbhzJCuzr0 Gx1sdYh2CsnfLYGfl/omNydpHOw2MHM3XiZYZDEw= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20241007071339epcas2p274867e155f621ea924ff6a58efe34b17~8GkAif-p91721917219epcas2p2b; Mon, 7 Oct 2024 07:13:39 +0000 (GMT) Received: from epsmges2p4.samsung.com (unknown [182.195.36.99]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4XMVkC0yN0z4x9Pw; Mon, 7 Oct 2024 07:13:39 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id 04.E4.09811.22A83076; Mon, 7 Oct 2024 16:13:39 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20241007071338epcas2p4361cff07030753a9c7c3e1589209a20d~8Gj-hUyJ_2310723107epcas2p4U; Mon, 7 Oct 2024 07:13:38 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20241007071338epsmtrp275e14ef7d6a8f3dbc5783f1c9ee5e32a~8Gj-gXchA2826428264epsmtrp2B; Mon, 7 Oct 2024 07:13:38 +0000 (GMT) X-AuditID: b6c32a48-7f9ff70000002653-6c-67038a2227da Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id EC.18.08227.22A83076; Mon, 7 Oct 2024 16:13:38 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.60]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241007071338epsmtip2a7e85f04b8772fa991b2628c42a6e3e2~8Gj-N6qVr1371013710epsmtip2A; Mon, 7 Oct 2024 07:13:38 +0000 (GMT) From: Sunyeal Hong To: Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Rob Herring , Conor Dooley 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, Sunyeal Hong Subject: [PATCH v1 3/3] arm64: dts: exynosautov920: add peric1, misc and hsi0/1 clock DT nodes Date: Mon, 7 Oct 2024 16:13:33 +0900 Message-ID: <20241007071333.3011125-4-sunyeal.hong@samsung.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007071333.3011125-1-sunyeal.hong@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHJsWRmVeSWpSXmKPExsWy7bCmqa5yF3O6wanXTBYP5m1js1iz9xyT xfUvz1kt5h85x2px/vwGdotNj6+xWnzsucdqcXnXHDaLGef3MVlcPOVq8X/PDnaLw2/aWS3+ XdvIYtG0bD2TA5/H+xut7B6bVnWyeWxeUu/Rt2UVo8fnTXIBrFHZNhmpiSmpRQqpecn5KZl5 6bZK3sHxzvGmZgaGuoaWFuZKCnmJuam2Si4+AbpumTlAdyoplCXmlAKFAhKLi5X07WyK8ktL UhUy8otLbJVSC1JyCswL9IoTc4tL89L18lJLrAwNDIxMgQoTsjOmfHzOWHBWtGLOoTssDYyv BLoYOTkkBEwk5k2/x9LFyMUhJLCDUWLXp342COcTo8StS/ehMt8YJ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YtG0bD2TA5/H+xut7B6bVnWyeWxeUu/Rt2UVo8fnTXIBrFFcNimpOZllqUX6dglcGVM+ PmcsOCtaMefQHZYGxlcCXYycHBICJhJ/+1cwgdhCArsZJX5/VYKIy0hsbPjPDmELS9xvOcLa xcgFVPOeUeLl/odADRwcbAK6En/+OYDERQQOMUlM/PyUBcRhFrjMKHHs7mRmkG5hgTiJplcz WEBsFgFViZ19p8FsXgF7iY0nJkFtkJe4/vgo2BWcAg4Sz849ZARZIARUc/NDAkS5oMTJmU/A WpmBypu3zmaewCgwC0lqFpLUAkamVYySqQXFuem5xYYFRnmp5XrFibnFpXnpesn5uZsYwXGh pbWDcc+qD3qHGJk4GA8xSnAwK4nwRqxhTBfiTUmsrEotyo8vKs1JLT7EKM3BoiTO++11b4qQ QHpiSWp2ampBahFMlomDU6qBKW7Cw919s9+UKkwU7jx2dj1jU/IapX+1fw7wvdDsT9t/eYPP ldDZvvE/GQu/hVm/WPVaWvzQrC27xOU0eJYvKFqo0/Z9ZfhdpUX5V0PdwuM9r22ap8Ox5B3L 2TPCtny7n37z23zKl8tDbf+Z16Y5B56+Mah6t4Z9AuvTuVsy5u1p+75kt9Sswncv//c+Drv7 aMoLpxkHd7KszX1aXrNHoEtQ4nWs33d35r7555lab795XXGVU3mT9LzLazf5y3vlXs/0+M4Q 8dLKxdvggNzDo77F2kJXj09RXBQ9f8d/T5ZbyT9/ctRYHb7fNt18l3iM7U6r8APlM89brjkQ 8cZJ/GfaybVTbU9aFz5viGdPZxFSYinOSDTUYi4qTgQAIAa3IfoCAAA= X-CMS-MailID: 20241007071338epcas2p4361cff07030753a9c7c3e1589209a20d X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241007071338epcas2p4361cff07030753a9c7c3e1589209a20d References: <20241007071333.3011125-1-sunyeal.hong@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241007_081351_150861_B1C43163 X-CRM114-Status: GOOD ( 14.74 ) 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 cmu_peric1 for USI, I2C and I3C clocks respectively. Add cmu_misc for MISC, GIC and OTP clocks respectively. Add cmu_hsi0 for PCIE clocks respectively. Add cmu_hsi1 for USB and MMC clocks respectively. Signed-off-by: Sunyeal Hong --- .../arm64/boot/dts/exynos/exynosautov920.dtsi | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi index 91882b37fdb3..c759134c909e 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi @@ -172,6 +172,17 @@ chipid@10000000 { reg = <0x10000000 0x24>; }; + cmu_misc: clock-controller@10020000 { + compatible = "samsung,exynosautov920-cmu-misc"; + reg = <0x10020000 0x8000>; + #clock-cells = <1>; + + clocks = <&xtcxo>, + <&cmu_top DOUT_CLKCMU_MISC_NOC>; + clock-names = "oscclk", + "noc"; + }; + gic: interrupt-controller@10400000 { compatible = "arm,gic-v3"; #interrupt-cells = <3>; @@ -247,6 +258,19 @@ pwm: pwm@109b0000 { status = "disabled"; }; + cmu_peric1: clock-controller@10c00000 { + compatible = "samsung,exynosautov920-cmu-peric1"; + reg = <0x10c00000 0x8000>; + #clock-cells = <1>; + + clocks = <&xtcxo>, + <&cmu_top DOUT_CLKCMU_PERIC1_NOC>, + <&cmu_top DOUT_CLKCMU_PERIC1_IP>; + clock-names = "oscclk", + "noc", + "ip"; + }; + syscon_peric1: syscon@10c20000 { compatible = "samsung,exynosautov920-peric1-sysreg", "syscon"; @@ -283,12 +307,38 @@ pmu_system_controller: system-controller@11860000 { reg = <0x11860000 0x10000>; }; + cmu_hsi0: clock-controller@16000000 { + compatible = "samsung,exynosautov920-cmu-hsi0"; + reg = <0x16000000 0x8000>; + #clock-cells = <1>; + + clocks = <&xtcxo>, + <&cmu_top DOUT_CLKCMU_HSI0_NOC>; + clock-names = "oscclk", + "noc"; + }; + pinctrl_hsi0: pinctrl@16040000 { compatible = "samsung,exynosautov920-pinctrl"; reg = <0x16040000 0x10000>; interrupts = ; }; + cmu_hsi1: clock-controller@16400000 { + compatible = "samsung,exynosautov920-cmu-hsi1"; + reg = <0x16400000 0x8000>; + #clock-cells = <1>; + + clocks = <&xtcxo>, + <&cmu_top DOUT_CLKCMU_HSI1_NOC>, + <&cmu_top DOUT_CLKCMU_HSI1_USBDRD>, + <&cmu_top DOUT_CLKCMU_HSI1_MMC_CARD>; + clock-names = "oscclk", + "noc", + "usbdrd", + "mmc_card"; + }; + pinctrl_hsi1: pinctrl@16450000 { compatible = "samsung,exynosautov920-pinctrl"; reg = <0x16450000 0x10000>;