From patchwork Mon May 6 13:32:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Borneo X-Patchwork-Id: 13655451 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 A961BC25B4F for ; Mon, 6 May 2024 13:34:36 +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=bjYFqdp1Gycm+b WgEy6OTUvhVhTJWkkzKJJS3ZK2vu8llG0PpFa7z10FrzV6N5cCCCIzujdO9AkhDiHwKC7x9JYtBIA zixP80MKFW4Puwrnd/wOG32MofZ5rvfg5uhr38kgxMEvrDDd8CppAca0yDSUyjCi/E65YS00bjmzP 1al2Ox6yDNtBGPf88As1BAL6idIvGy1Y5hWebTipjv/gYU6hnTUzqvIhmgrqLES4NJDYwVrEHtf4X swBWRfh0Ct51DfvEaYE1QFI/VxBtBHxkNvXH7vHO92X6st+weBWi3SSNyz6rwne8pMb+9Lx1MihCz rfkaKFiHIvwhiWa/tbLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s3yU1-00000007SOf-0eBW; Mon, 06 May 2024 13:34:21 +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 1s3yTx-00000007SMO-0Is1 for linux-arm-kernel@lists.infradead.org; Mon, 06 May 2024 13:34:18 +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 446Ahw1l029202; Mon, 6 May 2024 15:33:47 +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=5M pjtPPrL2qzMMyFahcUay3H7yT6VnFDOwj4+ohRl0uVo1RQu0lwnZmwEZbx5EkDgm k/LmFthiZXAlFkKtq2mqsRdPlU089H0LlEh+qik3U971haR0A6roHBWxOck0lni+ 85Nupbpwu6Z7+28bnonUAMkqboo4ic9TeMFjKQhhSMhcYLyNUkrxrDY0V6Yl7UiX wXxcweuSz1CIzqhpvkDUkeRkuqzUhvR/Iqi5YyDbmBUYsGkzGRphvALgPOioQKn3 /Zi4lcoIz4ZXJFy43j327oyQsRjDbeDkzqq+s50aNMZtpuYzYtBmwGOdumJXTAvM 8yZdzNK5ccJufhQ0E9ag== 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 3xwyyk5cb4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 May 2024 15:33:47 +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 365A34004D; Mon, 6 May 2024 15:33:41 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 2E49C2207A2; Mon, 6 May 2024 15:33:08 +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; Mon, 6 May 2024 15:33:07 +0200 From: Antonio Borneo To: Russell King , Maxime Coquelin , Alexandre Torgue , Catalin Marinas , Will Deacon , Thomas Gleixner CC: Antonio Borneo , , , Subject: [PATCH 2/8] ARM: stm32: use different EXTI driver on ARMv7m and ARMv7a Date: Mon, 6 May 2024 15:32:50 +0200 Message-ID: <20240506133256.948712-3-antonio.borneo@foss.st.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240506133256.948712-1-antonio.borneo@foss.st.com> References: <20240506133256.948712-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.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-06_08,2024-05-06_02,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240506_063417_490441_8EC8C280 X-CRM114-Status: GOOD ( 11.19 ) 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.