From patchwork Sun Jul 7 23:13:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunyeal Hong X-Patchwork-Id: 13726097 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 3AA14C38150 for ; Sun, 7 Jul 2024 23:15:34 +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=xobr6YQ7biIVxx8NmpBX4wCIJtyvphHRZQs6WlydlXM=; b=Ybbagr/kBsk4Ky0R3/Vm4Vp+ub c/rumY0U/86A5bjc9KCWQOGvvYiTpmjorlU6oL+9lWnVzFUhi0dh0T3MxpqZjMspfFI3+xOCsXQ+L 2BSFscYGGMVfm4d/npGtg5ULxKtzgT+aqPzyc+vFqIkHMwfmjknUk+I/lfMUAd5fAe0E+woNfVP+a cux0l8WFjuF03EHEMwyKvpxtcYDtlefQu6PVwjjRCj7GDapoWrwa8NcYnyWlYBOaR8H0yKvpCl9i7 iZ1n0yXzu/g136105R+WYcuDmpBvgPoNPp6VnYmV9jTxqDyVz/gbddi1V7K9ZbcfN+qRo7kH4AfR9 GA7lisXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQb6I-00000002PZ0-387b; Sun, 07 Jul 2024 23:15:22 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQb5q-00000002PSF-1gOO for linux-arm-kernel@lists.infradead.org; Sun, 07 Jul 2024 23:14:56 +0000 Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20240707231446epoutp025cffc2fdbd06646266297b4f4bcefe3d~gEU6CSxa83259632596epoutp02Z for ; Sun, 7 Jul 2024 23:14:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20240707231446epoutp025cffc2fdbd06646266297b4f4bcefe3d~gEU6CSxa83259632596epoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1720394086; bh=xobr6YQ7biIVxx8NmpBX4wCIJtyvphHRZQs6WlydlXM=; h=From:To:Cc:Subject:Date:References:From; b=ewPYXFJNRJXakvseyCbF9fBxdqjokH8pOGhTZmJc8E625CdkXr/qBNdDhnbIzTALx wuJz9Xnel1C5idT/BbKOohxPShTdjSC0wgbjqIbk1ipHhKyFlgUzbDXEF6p7Wd/NoJ F0yKfxBirpRAqXcM2c8OMAlEZoHu805l/wsI0Y2g= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20240707231445epcas2p4d25d4a8236afdfea8cce9eb73a8c6a36~gEU5gwPzC3192831928epcas2p4g; Sun, 7 Jul 2024 23:14:45 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.99]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4WHNPd4Xs8z4x9Pv; Sun, 7 Jul 2024 23:14:45 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id EA.35.09485.5612B866; Mon, 8 Jul 2024 08:14:45 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20240707231444epcas2p3f30eb5ec7aaef0315e135782b817b6e0~gEU4ab2ey0334303343epcas2p3T; Sun, 7 Jul 2024 23:14:44 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240707231444epsmtrp2b4f63e9f9d3c3e4163111f9a565828f3~gEU4Zp_qu1206812068epsmtrp2r; Sun, 7 Jul 2024 23:14:44 +0000 (GMT) X-AuditID: b6c32a46-19bfa7000000250d-f3-668b2165d265 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id 2F.A8.18846.4612B866; Mon, 8 Jul 2024 08:14:44 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.60]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240707231444epsmtip1b0fe213ac55b0abf59f9d69b5fd7522b~gEU4M9gYA2495624956epsmtip1e; Sun, 7 Jul 2024 23:14:44 +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 v2 0/4] initial clock support for exynosauto v920 SoC Date: Mon, 8 Jul 2024 08:13:27 +0900 Message-ID: <20240707231331.3433340-1-sunyeal.hong@samsung.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPJsWRmVeSWpSXmKPExsWy7bCmhW6qYneawdITwhYP5m1js1iz9xyT xfUvz1kt5h85x2px/vwGdotNj6+xWnzsucdqcX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FScCAAWrRyE3wIAAA== X-CMS-MailID: 20240707231444epcas2p3f30eb5ec7aaef0315e135782b817b6e0 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240707231444epcas2p3f30eb5ec7aaef0315e135782b817b6e0 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240707_161455_116652_E94756D6 X-CRM114-Status: GOOD ( 17.62 ) 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 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 Exynos Auto v920 SoC CMU bindings arm64: dts: exynos: add initial CMU clock nodes in Exynos Auto v920 clk: samsung: clk-pll: Add support for pll_531x clk: samsung: add top clock support for Exynos Auto 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