Message ID | 20240516152427.692374-1-gabriel.fernandez@foss.st.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 81608C25B74 for <linux-arm-kernel@archiver.kernel.org>; Thu, 16 May 2024 15:26:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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:References: List-Owner; bh=/D9iUdeyl7NnqFKejkWU201nSGsLmp2ASTtkJW9hWc0=; b=yqn/TretnOsXZR 5GMYPk8KdEkzgur1VaaTAwYzW5f9jMAD8LY/B39FxZxBtnTB/MgCMZVqVeEw3f2PrgSdiIjfLFcH7 qIrCwxFL/0DRMpDLzzL3fU2vPzfGhpQHGr7mIAGBwooflsHmBru8slShldEDuACxUBeQBnvFuEJY8 khLPiiVb8No5MwgS1Hefe1TcJcdwNsX1wW2Tf7RlgyT4d9GIutPQgeE7qD/7hA8issK/mWqeLwvUL fOvpt/m1L9NE5IoQmpn/j6yYXdZoK7T9MTw8Y0LVROHl4juQ6zwDvtXH7ZQ/5vzgPZWtQvgjBCgIp cfZ6ngx6MsJPGYivCDIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7cza-00000005JGu-3poD; Thu, 16 May 2024 15:26:02 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7czX-00000005JEq-0pkb for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2024 15:26:00 +0000 Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44GClMTs020009; Thu, 16 May 2024 17:25:46 +0200 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=PIIcNcm lMr49S8y8EsAlKjuoQdNzfUVhtTNhE4eVCM4=; b=HA6G7zpz91xWiHvTJgyAUz6 yKa/upVMmzoRQyBtM3c7ZZVly/Kk29dChQh0z4D8osjh/8KuqmJfBIBLlbhVPr7x Myw2raCpBlr2lnkwdTSHAOANqPygHm/7oDwJI/cDbXoP5B/zvbxiHDfM5WEBYGek jGYXceuYaGRkLK34StoH+cp99P3ihAh3D63ncCsB3XA+xMIr99jX18HTF08GIbKT etYR465hm1Rwd+oaJKDoUEg7jvqvwkpfwpT0iIHsGeQpcYd9ou7cA2iZIgeIlvq7 NGRlehJKiv8DOHbYmoK60Mb2HBk9H6XGFSE7xWWrWdysJZzP85Vo7n9JlHoVgVA= = Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3y4sxvp3mk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 17:25:46 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 0AB324002D; Thu, 16 May 2024 17:25:42 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 3B0F4223650; Thu, 16 May 2024 17:24:54 +0200 (CEST) Received: from localhost (10.48.87.209) 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.35; Thu, 16 May 2024 17:24:53 +0200 From: <gabriel.fernandez@foss.st.com> To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Maxime Ripard <mripard@kernel.org>, Gabriel Fernandez <gabriel.fernandez@foss.st.com>, Dan Carpenter <dan.carpenter@linaro.or6g> CC: <devicetree@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-clk@vger.kernel.org> Subject: [PATCH v2 0/3] Use STM32 access controller for STM32MP25 clocks Date: Thu, 16 May 2024 17:24:24 +0200 Message-ID: <20240516152427.692374-1-gabriel.fernandez@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.48.87.209] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-16_07,2024-05-15_01,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240516_082559_539545_7B7293F9 X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Use STM32 access controller for STM32MP25 clocks
|
expand
|
From: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Use an STM32 access controller to filter the registration of clocks. Don't register a clock if this clock is secured or declared as shared (this clock is generally managed by the security world). This series depends on the stm32_firewall framework (merged since next-20240419) notably for the include file 'linux/bus/stm32_firewall_device.h'. Changes in v2: - rebased on next-20240514 - YAML patch was apllied on next - use appropriate include - manage the case if 'access-contoller' property is not present in the DT - rename DT patch (RCC support part was merged) Gabriel Fernandez (3): clk: stm32mp2: use of STM32 access controller clk: stm32mp25: add security clocks arm64: dts: st: enable STM32 access controller for RCC arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 + drivers/clk/stm32/clk-stm32-core.c | 2 +- drivers/clk/stm32/clk-stm32-core.h | 2 +- drivers/clk/stm32/clk-stm32mp13.c | 2 +- drivers/clk/stm32/clk-stm32mp25.c | 516 +++++++++++++++---------- 5 files changed, 325 insertions(+), 198 deletions(-)