Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2590621lqt; Mon, 22 Apr 2024 15:47:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFzS+2vtE7C/4f/lesdqGEe/uoa2kwTbnAHCtkX1iEtcNiJJTfu2ZUlNl7kCyHyCYOR3HgxRsAcoICAQFZW9dkWkX+0opLyAxkYNMErA== X-Google-Smtp-Source: AGHT+IF8SjEUEXNYzuwGyjhPMhJ87Qu7LMo6XGhFSvmKQLcf/DcnV64C9uHhXR08yQvdCFtRnEHK X-Received: by 2002:ad4:5d6b:0:b0:69b:7143:c58a with SMTP id fn11-20020ad45d6b000000b0069b7143c58amr1748635qvb.26.1713826030726; Mon, 22 Apr 2024 15:47:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713826030; cv=pass; d=google.com; s=arc-20160816; b=gTh5YlRxoBi98Uuez/HFEfDvORTem+wexw58fOgJ5KNIflCspSLN0UuY0oPBrpNjt9 Y544uaCgx0kODkKM25SEwuZfybFjrBJRPjEyE+DlXuqhz6V8wZFtsxu4u76md5WnOhph pkw1AMWqr4z6MeoC7i+2ignB/ivbUS7HUasnLxEDw1td3KWex+lbNanok8lj4Rmm46Yc /CO83r8KC9yxJ/hPN1K/vRlr1Gj9AnwXxbVmnZegly7kaGnc9pAdRSxOe3gIUBRPzZYx KIC1kdYXakbR5dMrHZtINPlezVr+n0xivxNAkp1u/d7kLk+o9XHsutid4JNBToz5F9gy 4JAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=uM12Oq7Ipw/Ycd8ENw3FXESI0OoJb7FfZRiRt4t6W04=; fh=UGtH2n1JL01Ln8q7T7xzkShxLGW8OLeByHMC/18OiVc=; b=ISslFalgus4dOU2U8f14O4KwToWEVZ9uz4iCJN09HNZvRwOkNYnFwcAsYqN02mIEjQ iqxf13V0Chin5yQU+uxgsaTpa2G5p2KnE5ZP1+IVMYER7spVTyVG6hRLgRT4/RaqE0ub uyvlKZXlgSBRX7l1qv91X7SoC7XrBeAIC76ktX/C+Y/VEXDhXC+KUwOavW9wyY5OiBAn ZRrBdSAxBtZiXIRljj3DtiuFwpX0zZSeM8wqUl53mSAv4z4/78/7mifU7oPd4wxDO6Wy JBoXCvOFd5EQoNhtwEGm92qD4yQ/UgP+FSbAtqFL3Z9vYU2J1j4+25GZZF2x3nWIBKZq TIzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Kk9oT1fc; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="wOpgT/ya"; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-154112-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154112-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 2-20020a05621420e200b006a085b4ed57si1945027qvk.300.2024.04.22.15.47.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 15:47:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154112-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Kk9oT1fc; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="wOpgT/ya"; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-154112-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154112-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1F8931C21A0F for ; Mon, 22 Apr 2024 22:46:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 361CA46522; Mon, 22 Apr 2024 22:45:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Kk9oT1fc"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="wOpgT/ya" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E125144C64; Mon, 22 Apr 2024 22:45:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713825919; cv=none; b=bzacCxITp2F/AOQHncGEeFZ4LPlOUHfo0fhUwv/H8azVdEXQxPSYfc7myg/A+iGvJW19hsqTML4Z7pyytKAgK7CeBIXlGz1+GxtDD5SLQNHAPAWyQD33BPDOI+UF/bcWxWqI8C2Lst0KU1V9aMGjOgTPkP+2psL9mAbHhTMy1IY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713825919; c=relaxed/simple; bh=j4rD7blzhMJPc0OZ/TP57rhGazTshBpp6zmBhbU1sbw=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=AUL5ju+3mIQ0em0fMA3I58Z9JL1euq2rrN3qPjk1TxVgQA0A3aaZAJCul1XKUskA2X+M89hFHUCtCTBorMUQm0cQDPiZf88ITpfZU7Pj2lzo6/zgUSjLFfV+MzE/5Aox2lF5V9wEcjWUb7gYf/FqxSZEdGaaYR3DTcCFMnPIcbE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Kk9oT1fc; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=wOpgT/ya; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Mon, 22 Apr 2024 22:45:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1713825915; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uM12Oq7Ipw/Ycd8ENw3FXESI0OoJb7FfZRiRt4t6W04=; b=Kk9oT1fc4AzFO6js4J7ofFi2bslWgHJilIbcr/4MQmFA8VIAS4i31I7iWHR7SWLtlqQi/9 CxLc7mEYltj9VjeG+RXLAtH1WYfAiBgzWUg0air/Q6jQEICLf7ERIYQu5R8aSP/SSxBjgv pF5wb511vKDF9QLy09RoQqp26KMqtarnFxxHNDDcwhx7ft0l5vqfHv3tnK1irXQV2KyDf5 qYTQfNGz+JqE6TCfsXRy0N0V+uB1YTEjq1E6AlhfFyj3/ljgpf7tYLD/XeHYs6nSuN5Xa1 Cx0Ym3+kKP+/ifiEw+n/hjAKc7bWKMMOYsz6aw4yy8QTYtZbhJeCFYN8WDzUYg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1713825915; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uM12Oq7Ipw/Ycd8ENw3FXESI0OoJb7FfZRiRt4t6W04=; b=wOpgT/yalzEXskBrjb037eSvi5HuiS5uUz+p/zTtGBfYuDnvfF/ATvVei4Dn3X/N56V62c hsmzNjLuoeJ899AQ== From: "tip-bot2 for Antonio Borneo" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] dt-bindings: interrupt-controller: stm32-exti: Add irq mapping to parent Cc: Fabrice Gasnier , Antonio Borneo , Thomas Gleixner , "Rob Herring (Arm)" , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20240415134926.1254428-3-antonio.borneo@foss.st.com> References: <20240415134926.1254428-3-antonio.borneo@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171382591472.10875.17922057700794997100.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the irq/core branch of tip: Commit-ID: e9c17d91e6980993711eebe0c914fbd31298b94e Gitweb: https://git.kernel.org/tip/e9c17d91e6980993711eebe0c914fbd31298b94e Author: Antonio Borneo AuthorDate: Mon, 15 Apr 2024 15:49:17 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 23 Apr 2024 00:28:14 +02:00 dt-bindings: interrupt-controller: stm32-exti: Add irq mapping to parent The mapping of EXTI events to its parent interrupt controller is both SoC and instance dependent. The current implementation requires adding a new mapping table to the driver's code and a new compatible for each new EXTI instance. To avoid that use the interrupts-extended property to list, for each EXTI event, the associated parent interrupt. Co-developed-by: Fabrice Gasnier Signed-off-by: Fabrice Gasnier Signed-off-by: Antonio Borneo Signed-off-by: Thomas Gleixner Reviewed-by: Rob Herring (Arm) Link: https://lore.kernel.org/r/20240415134926.1254428-3-antonio.borneo@foss.st.com --- Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.yaml b/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.yaml index 00c10a8..9967e57 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.yaml @@ -89,8 +89,23 @@ examples: reg = <0x5000d000 0x400>; }; + - | //Example 2 - exti2: interrupt-controller@40013c00 { + #include + exti2: interrupt-controller@5000d000 { + compatible = "st,stm32mp1-exti", "syscon"; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0x5000d000 0x400>; + interrupts-extended = + <&intc GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, + <0>, + <&intc GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; + }; + + - | + //Example 3 + exti3: interrupt-controller@40013c00 { compatible = "st,stm32-exti"; interrupt-controller; #interrupt-cells = <2>;