From patchwork Thu Jul 11 01:13:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunyeal Hong X-Patchwork-Id: 13729909 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 3145AC3DA41 for ; Thu, 11 Jul 2024 01:14:18 +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: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:In-Reply-To:List-Owner; bh=XLfN72mNtIGtMdNbunDcS+ZxnGbyTvCYz2gJ3EuHUN0=; b=hDcYgz20aWZ83WOwia0g5UnucK QF0H4hoA4uYqgMZhrlz2xJaQssIooQ8ijCd05PTi7RdDdNBI2oUfIyJ+yEsF9Bux7sYZp8ygSrUG+ i6LMog3n+l+Na6hMkCNLEhZbZ8nOSSmTeAj0wAP9R/QtyPMSK1HpGXjxUGx1uAsU2KUXf27VYtK7h aDJk6qg259EfUZZs1sn48eqteJVbeC1ngjY7o5a6aWjdQfl3pDzAkf7qXMneWIwGOpTJrmkFiHJMx hOlmZT+0G1x0Ga2O7IGyHqaZisV2gVoFVb29g8r7uNKEPwDFPUpURGkX6NRnUmkdNi7uovzy2YzYs Y8lfK7yQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRiNr-0000000CII0-1g5k; Thu, 11 Jul 2024 01:14:07 +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 1sRiNJ-0000000CI95-45A7 for linux-arm-kernel@lists.infradead.org; Thu, 11 Jul 2024 01:13:37 +0000 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20240711011325epoutp0358c469d50a67ef6a9bbe369bfa3dd96c~hA4XKHwwD0897308973epoutp03U for ; Thu, 11 Jul 2024 01:13:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20240711011325epoutp0358c469d50a67ef6a9bbe369bfa3dd96c~hA4XKHwwD0897308973epoutp03U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1720660405; bh=XLfN72mNtIGtMdNbunDcS+ZxnGbyTvCYz2gJ3EuHUN0=; h=From:To:Cc:Subject:Date:References:From; b=AlP888SPoHzt2np0MXPT1zHcKYZZl0uVUPeTd2ZO3KuJ33SuYaxzII77QhYx9Av52 OzQvJw22iLwz5ecYwTKRv5GGfaa9c728noqGi03MOwI98Xb+mgz5k99Dvsfmh7GCtd 4oug/zeSOl3OL0xKza7112/atxc1NXzvwISMQRoU= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20240711011325epcas2p2fa7c5dcc443e3f9f51943d1d47d5e500~hA4WkEWpG0058500585epcas2p2A; Thu, 11 Jul 2024 01:13:25 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.90]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4WKGv85gpRz4x9Py; Thu, 11 Jul 2024 01:13:24 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 86.E2.09485.4B13F866; Thu, 11 Jul 2024 10:13:24 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20240711011324epcas2p26548bc764e4e8edec63cc1ebffe70ede~hA4Vq2i300059100591epcas2p2J; Thu, 11 Jul 2024 01:13:24 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240711011324epsmtrp1ea6b09cd8b1cd99fcd618edee7c77252~hA4Vp4opk0440904409epsmtrp1P; Thu, 11 Jul 2024 01:13:24 +0000 (GMT) X-AuditID: b6c32a46-f3bff7000000250d-96-668f31b436b6 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 75.1D.07412.4B13F866; Thu, 11 Jul 2024 10:13:24 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.60]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240711011323epsmtip22ffdcb16e2f6e77699f35253b4696ce2~hA4Vb4HXQ0294702947epsmtip2I; Thu, 11 Jul 2024 01:13:23 +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 v3 0/4] initial clock support for exynosauto v920 SoC Date: Thu, 11 Jul 2024 10:13:12 +0900 Message-ID: <20240711011316.2713270-1-sunyeal.hong@samsung.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAJsWRmVeSWpSXmKPExsWy7bCmue4Ww/40g1VLtCwezNvGZrFm7zkm i+tfnrNazD9yjtXi/PkN7BabHl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oqEWc1FxIgB/CL6M4wIAAA== X-CMS-MailID: 20240711011324epcas2p26548bc764e4e8edec63cc1ebffe70ede X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240711011324epcas2p26548bc764e4e8edec63cc1ebffe70ede References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240710_181335_517135_D7A389D3 X-CRM114-Status: GOOD ( 18.48 ) 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 This patchset adds initial clock driver support for Exynos Auto v920 SoC. This driver uses HW Auto Clock gating. So all gate clocks did not register. Below CMU blocks are supported in this patchset and remains will be implemented later. - CMU_TOP - CMU_PERIC0 Changes in v3: - Change SoC name from Exynos Auto to ExynosAuto - Change the makefile order to the bottom of exynosautov9 - Add PLL_531x formula for integer PLL Changes in v2: - Fix typo from v209 to v920 - Change USI clock to appropriate - Merge headers into binding patches - Change clock-name to the recommended name Sunyeal Hong (4): dt-bindings: clock: add ExynosAuto v920 SoC CMU bindings arm64: dts: exynos: add initial CMU clock nodes in ExynosAuto v920 clk: samsung: clk-pll: Add support for pll_531x clk: samsung: add top clock support for ExynosAuto v920 SoC .../clock/samsung,exynosautov920-clock.yaml | 115 ++ .../arm64/boot/dts/exynos/exynosautov920.dtsi | 40 +- drivers/clk/samsung/Makefile | 1 + drivers/clk/samsung/clk-exynosautov920.c | 1173 +++++++++++++++++ drivers/clk/samsung/clk-pll.c | 45 + drivers/clk/samsung/clk-pll.h | 1 + .../clock/samsung,exynosautov920.h | 191 +++ 7 files changed, 1553 insertions(+), 13 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml create mode 100644 drivers/clk/samsung/clk-exynosautov920.c create mode 100644 include/dt-bindings/clock/samsung,exynosautov920.h