From patchwork Thu Jun 20 08:31:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Borneo X-Patchwork-Id: 13704969 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 66052C27C79 for ; Thu, 20 Jun 2024 08:32:54 +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-Type: Content-Transfer-Encoding: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=03WjNHmN5m8JrSlmbQFInhJNzToscAZD0mS3WYagU4w=; b=O6gJgcVsS78RQ3kGIb58BD5bGT DazYz5efNExG7SuYE0TGj8/0l9brzHh9hZp+GM9tT1yJreC1kZj02x6HiPljYPB8vbYvp1+Cjb02P C3KbdpMCtaIofsct7K2MTqrmzcmI1gFXT3YYSsCxqBpScrV9dR+S0fQ4Wd1VQlO2kAQMS68124p7B LIc2603mPyxvnJjmRCZYCTIWYdqbGVFakhd6SHXhiLeh78E7oBAtNxxjCOs57rxaKQs+EG56Koa10 6Z6TGnE2Psa1Errzw7OozkK1k/iu5TgwTZccgPpQBeUtWEViMoNCC+Es1TL64nN0ef16JtGxU533k dWwY3EIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKDDl-00000004AOr-0LSF; Thu, 20 Jun 2024 08:32:41 +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 1sKDDZ-00000004AIN-21Li for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2024 08:32:32 +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 45K6H85o015603; Thu, 20 Jun 2024 10:32:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= 03WjNHmN5m8JrSlmbQFInhJNzToscAZD0mS3WYagU4w=; b=Fvw4Iycj16pU1X5g Y3h7YODg12/GQuxBF0gnDCEZr7pIxyzgKOP0Ig9P8bilRem0+hbIQusDrKnHNq54 sU8rD6ofFJAiDZzCH4X7qVWTQTwM4Xs/9LQv0Icm3QKw7cpWxfRdMSfb4p6s6ePZ Jh5QRbpds5pBhaFQFNflEdy0XwLKfsxNoL4IVD2Y4ZHIvmDzxpiGXuvLaYnw01MV a5Q76rPEj2r50StQtFSJEYzPNauFn8N7TLMFVCq3YnfGjS8b0gmwyVxjlWKtgBCM DnSjVjArxZq1UKDUZuCwpOYAX0rypUShzhluEEoO/zlP7zcRTl2gq7a2Uhbyrtek tM9Hig== 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 3yuj9s7573-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Jun 2024 10:32:01 +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 6EC0B4002D; Thu, 20 Jun 2024 10:31:55 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 42037212FD8; Thu, 20 Jun 2024 10:31:21 +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; Thu, 20 Jun 2024 10:31:21 +0200 From: Antonio Borneo To: Russell King , Maxime Coquelin , Alexandre Torgue , Catalin Marinas , Will Deacon , Thomas Gleixner CC: Antonio Borneo , , , Subject: [PATCH v3 2/8] ARM: stm32: use different EXTI driver on ARMv7m and ARMv7a Date: Thu, 20 Jun 2024 10:31:09 +0200 Message-ID: <20240620083115.204362-3-antonio.borneo@foss.st.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240620083115.204362-1-antonio.borneo@foss.st.com> References: <20240620083115.204362-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.680,FMLib:17.12.28.16 definitions=2024-06-20_06,2024-06-19_01,2024-05-17_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240620_013230_123223_1137036C X-CRM114-Status: GOOD ( 11.45 ) 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 ae21a9f78f9c2..a401a991fe088 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 select STM32_FIREWALL help Support for STMicroelectronics STM32 processors.