Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2157349rdf; Mon, 6 Nov 2023 06:24:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGaSEiWgiCJQ3xPIbnXXS/B2fOUFT+iHoPevjdiGs2qCfHRwgK2IOd5d9nGdLMOiAuBH5VQ X-Received: by 2002:a05:6870:a9a1:b0:1d5:b2ba:bc93 with SMTP id ep33-20020a056870a9a100b001d5b2babc93mr33883048oab.13.1699280655725; Mon, 06 Nov 2023 06:24:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699280655; cv=none; d=google.com; s=arc-20160816; b=o+LElUQNtpaaxRM8a7gYNxkBrq+lb95WVaY4cBcdCrZ35fpzm7T+IxnSKja0LaAhL+ vYo0pIyEyNv2rPfH/vrBo1kx64l3LZTSfVq7r8qzq+CdC0EJrEPSKylwvADjlF5G1ZFW bRrCLuBUlcMMBeKf1mB68H+EDQwq16nMaOTZNwlNKSrSjAJ/TKlVvmGTokFRmwOCP94t 00FkRkth4q/a4raOglI0tAYsGUBGCjVl4x1piDC6MEjpPj2q+BlHxeQ8pEd2w56+WXBE iYsE8bkmEonH/tn8z/svCAooG5Ptt9FgkbvzybW/tGSYfVf5o7RgVuOL5a0Cx2oSxt1n lM1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6RvQCNTAbR4WG3MTp5KNgtlkKEXn2F/eV91u9BzdgVI=; fh=hPeDCRY5kxk/9VeA7mXT6nBQACxPNgB2RQLMQzhZT+Y=; b=mVTv35nO+qhaiBHNEJASwIYo2CqFMjFdmxPHtxu44jSz/JL7rq+yq6zLm3Vk22BUph 3ZHscCPFeRozMB3Znv+0Dy9gGQR6YGjQng7NoV1Y5lVxHIEXjE+tedbOT3cgKHvGyFhx t2JzP2ivCoMDeR1SccLV2ASPrNfk4q+PPp1dUxEKwWBcirGWr6wwucnh2Gh5gWUN4W8s 7IU9XI5d05N+bulslpFrwvXk+BNUe1kQci7xqamnaYed2S3lRB2rb8FMPbxbhlaeLAh/ LrsVcprfp6VbGsFmoe2Ah80UaRjzCIx/osL/ywY2kTXR2LhlThJWgq9RmmgJFz8tyyk2 Cqjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=cMiIKgJ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id l12-20020a65680c000000b005b91496019esi8096279pgt.400.2023.11.06.06.24.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 06:24:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=cMiIKgJ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 31DF380AD517; Mon, 6 Nov 2023 06:24:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229563AbjKFOXi (ORCPT + 99 others); Mon, 6 Nov 2023 09:23:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjKFOXh (ORCPT ); Mon, 6 Nov 2023 09:23:37 -0500 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89EC8C6; Mon, 6 Nov 2023 06:23:34 -0800 (PST) Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3A6CcAIH011451; Mon, 6 Nov 2023 15:23:15 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=6RvQCNT AbR4WG3MTp5KNgtlkKEXn2F/eV91u9BzdgVI=; b=cMiIKgJ53zl/C+cKmVZRoYc KXCPZNyoU5ro5mAjW9n2X8tjUjIRW4UO2lblErAx8KcMZuPCynBqogYV74+Xk+H3 zsRVu3tUr31sNsT4rGdxSzA59m0LmPWFgHmpN3vE+3OqJfONgxxIMglZ1vNoktrv 5qF8mUBcDzk1DaRMPFBvEgaK4SB4IXhQNQ+owfQeIPEj26g1pcFBRyZ1MinxCdI+ Xvcuduj2nSPlH63pHL60sZTNQ66SS7ciT/LDn2AVyPuXk+KvvDigV+8VmIsYzI/4 YCX/KnkIyQ15CaMF6fxTUPAQMFz13fbVCPsGSyuGyfV+Lx0aBe3eF7+rO6lJiOg= = Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3u5eq2fcxd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Nov 2023 15:23:15 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F35D510005C; Mon, 6 Nov 2023 15:23:14 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id DABD9257A92; Mon, 6 Nov 2023 15:23:14 +0100 (CET) Received: from localhost (10.201.21.240) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 6 Nov 2023 15:23:14 +0100 From: To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Gabriel Fernandez CC: , , , , Subject: [PATCH 0/4] Introduce STM32MP257 clock driver Date: Mon, 6 Nov 2023 15:18:41 +0100 Message-ID: <20231106141845.102648-1-gabriel.fernandez@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.201.21.240] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-06_12,2023-11-02_03,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 06 Nov 2023 06:24:05 -0800 (PST) From: Gabriel Fernandez This patch-set introduces clock driver for STM32MP257 based on Arm Cortex-35. It creates also a menuconfig for all STM32MP clock drivers. Gabriel Fernandez (4): dt-bindings: stm32: add clocks and reset binding for stm32mp25 platform clk: stm32: introduce clocks for STM32MP257 platform clk: stm32mp1: move stm32mp1 clock driver into stm32 directory arm64: dts: st: add rcc support in stm32mp251 .../bindings/clock/st,stm32mp25-rcc.yaml | 116 + arch/arm64/boot/dts/st/stm32mp251.dtsi | 59 +- drivers/clk/Kconfig | 10 +- drivers/clk/Makefile | 1 - drivers/clk/stm32/Kconfig | 35 + drivers/clk/stm32/Makefile | 2 + drivers/clk/{ => stm32}/clk-stm32mp1.c | 0 drivers/clk/stm32/clk-stm32mp25.c | 1003 ++++ drivers/clk/stm32/stm32mp25_rcc.h | 4977 +++++++++++++++++ include/dt-bindings/clock/stm32mp25-clks.h | 492 ++ include/dt-bindings/reset/stm32mp25-resets.h | 167 + 11 files changed, 6824 insertions(+), 38 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml create mode 100644 drivers/clk/stm32/Kconfig rename drivers/clk/{ => stm32}/clk-stm32mp1.c (100%) create mode 100644 drivers/clk/stm32/clk-stm32mp25.c create mode 100644 drivers/clk/stm32/stm32mp25_rcc.h create mode 100644 include/dt-bindings/clock/stm32mp25-clks.h create mode 100644 include/dt-bindings/reset/stm32mp25-resets.h -- 2.25.1