From patchwork Wed Feb 2 14:00:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 12733041 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 96AFFC433F5 for ; Wed, 2 Feb 2022 14:23:00 +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=KfueuLannokZo2xTuaPngulrTpC0nm5UOnTMqP4YvkI=; b=UUhWEkTed7MUn5 gY51nF7bi3xIxnr4/ackMCRzoI+yWhfec4ERZScLyV0jqA8ipfV6AxCUcyrW5lmOxwWAIRnIkabO8 JosDHwQzWC56nqrxPlwdfD/7r2mSQbRixhamyevYvW/z13EUVAOBFV7B0nTPp/mwgt9lok/dOjeiM XPApDdoKZji2JaCkn3+VUO1wiGPImkYtQIPLbqQIkbqTrqYpKXBLIDKR20eBz+8kMNvH62hMz5SHK AwSBqNrzroVmKHE2TajtgQ11K6HSYUl8nHMZIW9eGNPtRAsWAx90NoLb7KWb4ClmG6hmeIEMk2Wu3 IH9FpATdpgdpG/s1mtVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFGVp-00FduG-3X; Wed, 02 Feb 2022 14:21:33 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFGBU-00FUmW-6m for linux-arm-kernel@lists.infradead.org; Wed, 02 Feb 2022 14:00:34 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 212B1GIr021509; Wed, 2 Feb 2022 15:00:10 +0100 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-type; s=selector1; bh=5xPAtt4WoXmVjU27ytajC8iOdQFtviDt5xlwMWBzRwg=; b=ZIZjLG5BlqJ7+5kP1mNaP7lnF6ZevBGpJdkeMcHJ//Q7O3iSy/LIjEi9LjUl0+e8p/Uo LGZwf+/Pswz4Cffvxe6BFbRCYrZT6IGBKZRbVeUjtDVhG3bz9Z4sBdJ/8KgeEGPGIZoo FA6pUS2IJ9i4WKn4XyxzBH1vgzkID4i7pFsZgBWvsVL7pOZsqWpWS6R15HD4AEZgU63+ mZ3v25cu8UbOQvi4gqnFW4nfLAYXbH8/vAIS6vO6SZ6IGTT/wONaj1KcctA3UWzO3AQc R+Am695bKN2mM/zz8MXgCRrOkNmVk5pd2cRtKHdEEygJferAus97KAEwhu974kr2HPwL 8w== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3dy1xm6hq1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Feb 2022 15:00:10 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AE08110002A; Wed, 2 Feb 2022 15:00:09 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9CFD121F0D0; Wed, 2 Feb 2022 15:00:09 +0100 (CET) Received: from localhost (10.75.127.49) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 2 Feb 2022 15:00:08 +0100 From: Alexandre Torgue To: Thomas Gleixner , Marc Zyngier , Rob Herring CC: , , , , Subject: [PATCH v3 0/3] Add STM32MP13 EXTI support Date: Wed, 2 Feb 2022 15:00:02 +0100 Message-ID: <20220202140005.860-1-alexandre.torgue@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-02_06,2022-02-01_01,2021-12-02_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220202_060032_806004_0DCB913B X-CRM114-Status: GOOD ( 13.59 ) 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 Enhance stm32-exti driver to support STM32MP13 SoC. This SoC uses the same hardware version than STM32MP15. Only EXTI line mapping is changed and following EXTI lines are supported: GPIO, RTC, I2C[1-5], UxART[1-8], USBH_EHCI, USBH_OHCI, USB_OTG, LPTIM[1-5], ETH[1-2]. Changes since v2: - back on first proposition and keep EXTI/GIC mapping inside driver. Changes since v1: - add possibility to define EXTI/GIC mapping in devicetree - define STM32MP13 EXTI/GIC mapping in devicetree. regards Alex Alexandre Torgue (3): dt-bindings: interrupt-controller: stm32-exti: document st,stm32mp13-exti irqchip/stm32-exti: add STM32MP13 support ARM: dts: stm32: Enable EXTI on stm32mp13 .../interrupt-controller/st,stm32-exti.yaml | 1 + arch/arm/boot/dts/stm32mp131.dtsi | 7 +++ drivers/irqchip/irq-stm32-exti.c | 50 +++++++++++++++++++ 3 files changed, 58 insertions(+)