From patchwork Tue May 7 13:10:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Borneo X-Patchwork-Id: 13656885 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 B0404C10F1A for ; Tue, 7 May 2024 13:12:12 +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:References:In-Reply-To: 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: List-Owner; bh=BjXTgFywZPPyodST3TG045rTFbFbWYPVuiu4F/7hWQs=; b=luwu8W22zIKkgF csA+Or4R33hZ4IxdhieFk/+Tbp4gFaLH5OESFZGkoyxSlMoUtr+hloUV5JyIn9mTt+lanODv2aOwz JzMhdp72sh45i8qtOFiUkbo+CEcgryooFk8mjCfqa0ekRZ62o6qcG0qP9FaO1QW0N7gHwYUTPWACT MI+UtQj4E3HlLeBKo7E4BMAlPkbPq0mt5HSveNULOc9sNWzfs7qJzTke9o3/iOP6guQViV5DFXzzK 3grbY5/GSuDD8VWVC2jxvdSdr9hIBnMLBf+w+7XNXkxTpw3R6mR9jJ1vD1y3dsM+7AiVrM50CnQLr kUYFTXdogYz9Zyv8dpUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Kbr-0000000B6wU-2jCM; Tue, 07 May 2024 13:11:55 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Kbl-0000000B6rD-1wxo for linux-arm-kernel@lists.infradead.org; Tue, 07 May 2024 13:11:52 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 447BRcs2025853; Tue, 7 May 2024 15:11:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=yAN5IQlno3nIPY6Uvv6ZYKb/KRQn6JTGU5DkXSWQ1EU=; b=QI rVVIpF/Fsp1qrE0nBYyzHvp72LmJfPZ0SW8/2ocR9Xnq8YAitmEJiPRKvMZmr17Y epYwv1UBwORZSIFLOKxLYvNyi+YSciQo16ovWTvp7GiIh2kZ3tQo5okAR7U19030 LwQSKD6NomQK/vZ9JZz9kNGirU+UAXSY6r3ayU4xaC/RBbbVC/F2YAM2IhNUIwal omomhfVCnRSrggbR3U4IMnSz7xKEZGzB2M85JyZRZH1qL3s4SwD7t2Y1jq9SVZUn b5o09Ka3YlLTfR2ujBSqQkb2TRY40kIhnLu9KsWyEUEmgfu7Dp8edC/X00Nk1X1B encA7+88Qp2hyP76T/DQ== 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 3xwa553xd5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 May 2024 15:11:33 +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 DCB524002D; Tue, 7 May 2024 15:11:28 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7DDC321B53E; Tue, 7 May 2024 15:10:56 +0200 (CEST) Received: from localhost (10.48.87.171) 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; Tue, 7 May 2024 15:10:56 +0200 From: Antonio Borneo To: Russell King , Maxime Coquelin , Alexandre Torgue , Catalin Marinas , Will Deacon , Thomas Gleixner CC: Antonio Borneo , , , Subject: [PATCH v2 2/8] ARM: stm32: use different EXTI driver on ARMv7m and ARMv7a Date: Tue, 7 May 2024 15:10:45 +0200 Message-ID: <20240507131051.980313-3-antonio.borneo@foss.st.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240507131051.980313-1-antonio.borneo@foss.st.com> References: <20240507131051.980313-1-antonio.borneo@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.87.171] X-ClientProxiedBy: SAFCAS1NODE1.st.com (10.75.90.11) 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-07_06,2024-05-06_02,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240507_061149_810246_C1D52D94 X-CRM114-Status: GOOD ( 11.20 ) 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 Build the proper driver by selecting the appropriate config flag. Signed-off-by: Antonio Borneo --- arch/arm/mach-stm32/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig index 98145031586f1..41bfcf31f8a76 100644 --- a/arch/arm/mach-stm32/Kconfig +++ b/arch/arm/mach-stm32/Kconfig @@ -11,7 +11,8 @@ menuconfig ARCH_STM32 select CLKSRC_STM32 select PINCTRL select RESET_CONTROLLER - select STM32_EXTI + select STM32MP_EXTI if ARCH_MULTI_V7 + select STM32_EXTI if ARM_SINGLE_ARMV7M help Support for STMicroelectronics STM32 processors.