From patchwork Tue Oct 22 15:56:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antonio Borneo X-Patchwork-Id: 13845897 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 620FDD2CDFA for ; Tue, 22 Oct 2024 16:02:47 +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: Content-Type: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=RtDggdY2iW+robAFxHqAEssSQfrLj5YNuaQVcXG5m80=; b=Q2eFBgeSKp94A2QSfuT5mwPVUt qL+b9/LfBqrPZo+6Z0r86UDvS5JPC6F6gxVDIXRIFLFeVSsCQlY/mLIkEnnSGyaIFmO2SQYT0uirN OnGjexLKH+e9qiEKmziB1SHtnHUVcmB2TQx9ZXK4+7DZzxAesltATzwTvRa630C+jBodbGCk8nsT6 iC+J5BNNkwzQpf2mqW66kxjT+N6jybc98ogkO7upDUO2uzkcfYHqLCfMzA5SJDRUmdPoXIMsmyVLL JDsxKY/OPpQafXb2RXqNB7xfyH8EowA0VHuA64n1jhEfH0j0GK4oHdDRWtlUW+oXG5t4u4vxqdkAz +7HmZvIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3HL7-0000000BMS6-111o; Tue, 22 Oct 2024 16:02:33 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3HII-0000000BLS3-3ikY for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2024 15:59:41 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49MBW0Se024761; Tue, 22 Oct 2024 17:59:31 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=selector1; bh=RtDggdY2iW+robAFxHqAEs sSQfrLj5YNuaQVcXG5m80=; b=j1Dlhm8lgIJT3NwzUPHpY72H4qB/AH6b8RHHrK IXIC4lrTjmirBYpFI5/GKng/oDBWFKUgam9jgKgc4UipdsxnA3MIxaviAo0J460S 4LWhcxtqPRd5UQlCklx6h5YJu+ajWUOx5eCyLCQpOoz6fG4L8inaR/nGg8ZkRZML w9+ray9EZaqvhqijL9/cFlO0I3kkCrUsg0rrNuTnexmis6WzsZ9w8NLXzJ5XO/zn ErZi53zTWJa33ukr+CepqVYHzk1Ai0S02HeMMnF75UYWa9rE82GPOApqhDyB3rSk zaeE3inRr50S8QoFMM2P5TNFJtinl0dKmuW4LRajc/s7oL9Q== 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 42c7316cmc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Oct 2024 17:59:31 +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 BB6894004F; Tue, 22 Oct 2024 17:58:26 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B654C26D665; Tue, 22 Oct 2024 17:57:16 +0200 (CEST) Received: from localhost (10.48.87.33) 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.37; Tue, 22 Oct 2024 17:57:16 +0200 From: Antonio Borneo To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Catalin Marinas , Will Deacon , , , CC: Antonio Borneo , , =?utf-8?q?Cl=C3=A9ment_Le_Goffic?= , Stephane Danieau , Amelie Delaunay , Fabien Dessenne , Valentin Caron , Gatien Chevallier , Cheick Traore , Subject: [PATCH 00/14] pinctrl: stm32: Add new features and support for more SoC Date: Tue, 22 Oct 2024 17:56:44 +0200 Message-ID: <20241022155658.1647350-1-antonio.borneo@foss.st.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.48.87.33] X-ClientProxiedBy: SAFCAS1NODE2.st.com (10.75.90.13) 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.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241022_085939_254651_3CAF4932 X-CRM114-Status: GOOD ( 12.50 ) 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 series introduces the support for the new SoC - STM32MP215, - STM32MP235, by adding the support for the new functionalities - irq affinity, - Resource Isolation Framework (RIF), - Reserved (RSVD) pinmux function, - IO synchronization parameters, - compile the driver as module. Some minor code reorganization is also introduced. Regards, Antonio Borneo Amelie Delaunay (2): pinctrl: stm32: Add stm32mp215 pinctrl support dt-bindings: pinctrl: stm32: support for stm32mp215 and additional packages Antonio Borneo (4): pinctrl: stm32: Declare stm32_pmx_get_mode() as static pinctrl: stm32: Rework stm32_pconf_parse_conf() pinctrl: stm32: Add RIF support for stm32mp257 dt-bindings: pinctrl: stm32: add support for stm32mp235 Cheick Traore (1): pinctrl: stm32: Manage irq affinity settings Clément Le Goffic (2): pinctrl: stm32: Add stm32mp235 pinctrl support pinctrl: stm32: Add new package to stm32mp257 pinctrl support Fabien Dessenne (4): pinctrl: stm32: Handle RSVD pin configuration dt-bindings: pinctrl: stm32: add RSVD mux function pinctrl: stm32: Support IO synchronization parameters dt-bindings: pinctrl: stm32: support IO synchronization parameters Stephane Danieau (1): pinctrl: stm32: Allow compile as module for stm32mp257 .../bindings/pinctrl/st,stm32-pinctrl.yaml | 62 +- arch/arm64/Kconfig.platforms | 1 - drivers/pinctrl/stm32/Kconfig | 18 +- drivers/pinctrl/stm32/Makefile | 2 + drivers/pinctrl/stm32/pinctrl-stm32.c | 365 +++- drivers/pinctrl/stm32/pinctrl-stm32.h | 27 +- drivers/pinctrl/stm32/pinctrl-stm32mp215.c | 1807 ++++++++++++++++ drivers/pinctrl/stm32/pinctrl-stm32mp235.c | 1906 +++++++++++++++++ drivers/pinctrl/stm32/pinctrl-stm32mp257.c | 305 +-- include/dt-bindings/pinctrl/stm32-pinfunc.h | 4 + 10 files changed, 4326 insertions(+), 171 deletions(-) create mode 100644 drivers/pinctrl/stm32/pinctrl-stm32mp215.c create mode 100644 drivers/pinctrl/stm32/pinctrl-stm32mp235.c base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc