From patchwork Tue Aug 20 09:14:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunyeal Hong X-Patchwork-Id: 13769638 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 0BE3FC3DA4A for ; Tue, 20 Aug 2024 09:17:33 +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=8tMkLzhylaiHCBUalOueN3x9TqC6MrJUi++AmTMJENg=; b=B2BDghaOSLisxgr0yNG2zPJJKB riokWKiqHPxP81/oUapoa3NF//QRXc0ig9YMhGTjptiuTcdSfW4N2tJqzFP0xEXGpZUdiZflhoHhv JAL1uNYsHUPUPii4vAfUYG8I7w50qPVds1VK70uHnAQCLxFc51HJwg61A7RjmCiAKnaOADGENSKgx CoMeB9dlt7rC30uMEl2QoGJxbZIOo2dgTmnVtn30t+8EK6SB38dR5aAJEEjTFQU9a3zD/4pIFY3t2 KCqdRhJWwJyCJnjEbrPOH4CyizT8J+ZgzpQcWdycor+W2q9cfOoYsf/eBKS7d/jyQ8naLi8jGt0PA N5GhbXYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgKzS-00000004WVx-0yEM; Tue, 20 Aug 2024 09:17:22 +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 1sgKxK-00000004Vqf-3rD0 for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 09:15:16 +0000 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20240820091505epoutp03a07b4e72d531e9a398c7bcb887e10461~tZQVQgKo_1153511535epoutp03Q for ; Tue, 20 Aug 2024 09:15:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20240820091505epoutp03a07b4e72d531e9a398c7bcb887e10461~tZQVQgKo_1153511535epoutp03Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1724145305; bh=8tMkLzhylaiHCBUalOueN3x9TqC6MrJUi++AmTMJENg=; h=From:To:Cc:Subject:Date:References:From; b=CIwkCeck5XX/kMgc/A15PjTJ+Ad/ZsI/AuS0NDWgyCgcmQ6Es4KAT7bbWMACE9sa3 deb0zDBtCzocqaBhVUS9tOQRBR7Bo/lMgMQh7DWxEUUjMUC+ZJ0od7wdUJ8ZJD7n0v dNp/L1V/iXdtNa2E6J5jC/VSatKDxa/uUmuUWDX8= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20240820091505epcas2p2ca02bbf3b726b577fbc17936ba1fc77e~tZQUunUEs2152021520epcas2p2z; Tue, 20 Aug 2024 09:15:05 +0000 (GMT) Received: from epsmgec2p1.samsung.com (unknown [182.195.36.68]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4Wp3hS6dSMz4x9Q1; Tue, 20 Aug 2024 09:15:04 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmgec2p1.samsung.com (Symantec Messaging Gateway) with SMTP id D8.31.08901.89E54C66; Tue, 20 Aug 2024 18:15:04 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20240820091504epcas2p4b492128d21e5f12cdc084995059c6502~tZQT_RghH0982509825epcas2p4i; Tue, 20 Aug 2024 09:15:04 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240820091504epsmtrp1361a1f5dc3c860bb8a045fb3b1b623cd~tZQT9Y0Fm2606226062epsmtrp11; Tue, 20 Aug 2024 09:15:04 +0000 (GMT) X-AuditID: b6c32a43-a0fff700000022c5-ee-66c45e984513 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 59.7F.07567.89E54C66; Tue, 20 Aug 2024 18:15:04 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.60]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240820091504epsmtip1768782e35c659e603dd865e7177d4a83~tZQTyTqtp3093730937epsmtip1T; Tue, 20 Aug 2024 09:15:04 +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 v8 0/4] initial clock support for exynosauto v920 SoC Date: Tue, 20 Aug 2024 18:14:56 +0900 Message-ID: <20240820091501.3395841-1-sunyeal.hong@samsung.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPJsWRmVeSWpSXmKPExsWy7bCmqe6MuCNpBmsfGFk8mLeNzWLN3nNM Fte/PGe1mH/kHKvF+fMb2C02Pb7GavGx5x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cf9WnJVnvl0RoHdhIqeAIN3 NbuVWIozEg21mIuKEwEcRHiF4gIAAA== X-CMS-MailID: 20240820091504epcas2p4b492128d21e5f12cdc084995059c6502 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240820091504epcas2p4b492128d21e5f12cdc084995059c6502 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240820_021513_355115_6815F39A X-CRM114-Status: GOOD ( 18.45 ) 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/1 - CMU_MISC - CMU_HSI0/1 Changes in v8: - Resend it because v7 includes other SoC patches Changes in v7: - Combine duplicate clock description Changes in v6: - Add peric1, mis and hsi0/1 in the bindings document Changes in v5: - Change CMU_TOP odd numbering - Move the descriptions and names common clocks properties Changes in v4: - Change PLL_531x fdiv type and mask bit - Change PLL_531x mdiv type 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 | 162 +++ .../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 | 44 + drivers/clk/samsung/clk-pll.h | 1 + .../clock/samsung,exynosautov920.h | 191 +++ 7 files changed, 1599 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