From patchwork Sun Oct 20 17:48:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13843175 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 4ED16D3C92A for ; Sun, 20 Oct 2024 17:52:38 +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:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=M62jfxi1/9OSd11CVvekWORq0dxwJnAAWeLnlPRvCHk=; b=SFH6eQiuRcohXLnUiPUOo+SS3Q qX0WbIvB7cNMLl/YVool7pXrIcBeMFt557EXeVkdSjoGVpro++adKjtUoRj+VcSy1RjhLknq6BKYk HBOQ6XajQuvrjLFrEgkqQAhLNcv7LqMrBPCcd8/pQLtsC97omENsyLYXL6XkMMpM7rSR0KgdadVge 5lBE0mQB3R9R/+b750prTUX5weZsY++KjKAvwt3YFl4fNhpSqub+M3u12fPfG1M7sO+WEa4yup8uC 7gZeLO4mzrcUcu92WaSDpleluW3TWkIvAilsmmMD/yph06NDlPZ/TYFuaommqXwLGOi8mzovSPB8x VsK5l2oQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2a6J-00000005D0y-3xYX; Sun, 20 Oct 2024 17:52:23 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2a4p-00000005CpC-2lA8 for linux-arm-kernel@lists.infradead.org; Sun, 20 Oct 2024 17:50:52 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4314c4cb752so38809165e9.2 for ; Sun, 20 Oct 2024 10:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729446649; x=1730051449; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=M62jfxi1/9OSd11CVvekWORq0dxwJnAAWeLnlPRvCHk=; b=EN9j6SR5CQJZ70Q8Oh4d2AYVzCboznzhYwbquihGE7lWl+FdxHnmF0lcs6HBHHCPr8 HxxYsF2XYfSEJnMJucfT2JJHbvhQ7MuZ0tsOqAJfuwS4n597UPnx/9Dwd51q9ZlgsyzV SqJrAgF8MmmB7yFtqedmZ4YiLXb3dxDsf1t5O/cD8dOwoWuu+GbVQamUQO/tkmt87Su0 xhuyH2ZRvJWt2ymzvN5mMyadmare6VG2DWBaDj8WBExzmlbg4kgUZJyJ1VAaK9mGVB17 P0JQGZ7al8s3zBrrATSsZQGhEpMfjbKV7RKgSaLo6KTHah0mTeG2MUmOcK5hMF+V0faG TX+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729446649; x=1730051449; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=M62jfxi1/9OSd11CVvekWORq0dxwJnAAWeLnlPRvCHk=; b=v0J8ncQVEr4ANc5IUH3qpzdyqxh35wQBtqS2cB5segBY/WJUpWEuZ1RyzaEf4kIQyV Vcaimebokoz8bQIPzpd41fg9h+WqVSpmTYWhoRsISzKura4R5NzRuAybRxNYXa7HuX1F NdTSgH27QYuRJ5JFTcpXa8ZqxBQqBaw6/j1PJueLUUmgBFFAA/lvneZ+oldh6eIXQlfE 1/w9QynhaCsmFBOfW3VU5d0Vx8hqZSzLFlKCsR4kBRvsuTWMfWHoQIFwv29bxB2eic8s V/8cZeF9fWf+RgY+BdE6w4syHLVOIkvuZO5ldpyTO5XXISVOrRR3gHg0wPU40nDh9wzR VdmQ== X-Forwarded-Encrypted: i=1; AJvYcCUqfYjEBIi3zvms2NmEVjZOvpJL4lzBsElcTxsh4Oj1hdP+uvix1hdE8/AH+29HXnUjS345lg7qqSIVCzrX6JGb@lists.infradead.org X-Gm-Message-State: AOJu0YzXVOhGn8Sj4W8cypaIC8fUh5jDibiPhCIs17JxVXxIsupmjRSt FkXJNMv9F+QF2SH5h9PEVukFSBmt9hvx8s5g7dwwIwKornouhh04ZczpvkQt X-Google-Smtp-Source: AGHT+IEfpyD+bBD1yaSzmk0e/TbOZjLN84lzKxeKom0Ae8oK20xYwynFxAiswtVOF4C8n0oKO7SBpw== X-Received: by 2002:a05:600c:3b0a:b0:430:582f:3a9d with SMTP id 5b1f17b1804b1-431616859bdmr74359615e9.26.1729446649026; Sun, 20 Oct 2024 10:50:49 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4316f57f89fsm29794305e9.16.2024.10.20.10.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 10:50:48 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Rob Herring , Conor Dooley , Tomasz Figa 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 Subject: [PATCH v1 0/3] clk: samsung: Introduce Exynos8895 clock driver Date: Sun, 20 Oct 2024 20:48:22 +0300 Message-ID: <20241020174825.375096-1-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_105051_734579_9C15821E X-CRM114-Status: GOOD ( 11.11 ) 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 Hey folks, This patchset adds initial clock driver support for Exynos8895 SoC, which allows clocking peripherals like MCT, serial buses, MMC, UFS and PCIE. As platform support grows in the future, other blocks like APM will be added. Support for the following clock management unit blocks is implemented in this patchset: - CMU_TOP - CMU_FSYS0/1 - CMU_PERIC0/1 - CMU_PERIS Ivaylo Ivanov (3): dt-bindings: clock: Add Exynos8895 SoC CMU bindings clk: samsung: clk-pll: Add support for pll_{1051x,1052x} clk: samsung: Introduce Exynos8895 clock driver .../clock/samsung,exynos8895-clock.yaml | 243 ++ drivers/clk/samsung/Makefile | 1 + drivers/clk/samsung/clk-exynos8895.c | 2803 +++++++++++++++++ drivers/clk/samsung/clk-pll.c | 2 + drivers/clk/samsung/clk-pll.h | 2 + .../dt-bindings/clock/samsung,exynos8895.h | 535 ++++ 6 files changed, 3586 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos8895-clock.yaml create mode 100644 drivers/clk/samsung/clk-exynos8895.c create mode 100644 include/dt-bindings/clock/samsung,exynos8895.h