Message ID | 20240216094758.916722-11-antonio.borneo@foss.st.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68377-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp405287dyb; Fri, 16 Feb 2024 01:55:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXmphBlhtCvURUTd++BhBonye7Kiiza9qDd1S4rD6XYcmHvPe0mEdi/v7sY8RYp9T9tygHYXf3N+okazvULoLuBOo3vMQ== X-Google-Smtp-Source: AGHT+IE5Z+9ghCYzFgj+kUU3cHhmFvfmGcQJ0M0vWluZLMB2I+s6fJvAJQ9cyqpekF8v/Pn3CDT9 X-Received: by 2002:a05:6902:907:b0:dcc:383b:e48d with SMTP id bu7-20020a056902090700b00dcc383be48dmr4121804ybb.26.1708077302732; Fri, 16 Feb 2024 01:55:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708077302; cv=pass; d=google.com; s=arc-20160816; b=BdIf6S4MamEsn45KUelgnqgzxUEGzQsaqjpj3lFPjK+qbAmkFVttED+mZK9EdCKihc JRE9sRlaHqBPvQqjVaIrkhyrWjtTz0sWWMDddU3n90x5pWRj8nmFgW5Ni98p/fZw7A16 16iSElrEpPLlLF0GF2jcz/JdGuVcwPXkEO27ueV0LoTf9uJFPD865o91R8IFgT7w92Iq zyDZ+/Wqy5nTWtENy9WoAWdV91uwpuxJlIxhn4K24Pdy0dOWcs1/XRzV2Ku4nhWAp72m C4EKcRhjv1f+ISZTY0qDIKO4j1Nia/VqEbn50DvVbgfICprVRGOI2J0b+RJsqsM0TPRs bC3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=lG/404Pv7+RWktWppSnM5oXw2eG/j2wJbKBMjahgEeU=; fh=J7TEsdAr6RVzEbiPJ2V9uGFMhUxyI123lrJxE7QTfus=; b=FVbxSNCbti6pZDX2+t6HqNgg+/L+u7ldSEJsOnSLp3x9bC9sxWwc7yYRtqRhzfKqWi KECh9Czw3fy4p2rbKA+fjJKze0rBzxBkH0UAf4i4e10YeAN4+E57eIk+JFaVNmV4O10R KkUyvMYxifj8+q9BsuPIACQR33Kqb6sefiediiHyZ0HRoCF7GMEoAFw3pKXpa4ok7yO9 Sf4EhBxdfrh3R5WBJzs7Piq5dcDyEssnuwUBTeza8KIVOktqdx78fStzrFJxPyT8/MfT mpMeW861d5o2yaTiovuG2OfQ+C0m15hRhRfOhKhGRK0FyGD81TuYAPXnn/FGF5mZUxQD 3+AA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=xt+JEEOw; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-68377-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68377-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y25-20020ac87099000000b0042c07745437si3215219qto.184.2024.02.16.01.55.02 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 01:55:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68377-ouuuleilei=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=@foss.st.com header.s=selector1 header.b=xt+JEEOw; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-68377-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68377-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com 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 833BA1C224F6 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 09:55:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A22A241E4; Fri, 16 Feb 2024 09:51:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="xt+JEEOw" Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 D48821BF28; Fri, 16 Feb 2024 09:51:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708077107; cv=none; b=IgnLnFgijI3VmivbizQ5pMtAv/RbpuVnnVhS//1iSkJWiAeD+h/l7iTWjS1wUXGrcHQ8tjh/Dh3vCyEUlgY+l0xc5h69HbrWlcznW3Em4SSkm3JstdC1qd6vQkcdHidLfZn2ed2FbxoNypHPKo3YO4MqSmpBERe2waCKZO09b2c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708077107; c=relaxed/simple; bh=htFPPCRNPyJQ94F7XATypHzQyMpmSmZex9/abw55Q3I=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LUsNMdz3FaNYmVVcpUjSDqCYqk4+zNFFm77jWZRvQEZ2ao4nQjYxr0pc8xawxhkHt+dR8NVmA7TdKThmMwb+0ZizZ1X98lL+CC1kVZ3n6KqxTIjLmwZXexD74NLMbfhUaSw/4uBpuLNn8shaneAHfW9pKUyDcL0h6E+NarhIBJU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=xt+JEEOw; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41G4pWkN008754; Fri, 16 Feb 2024 10:51:12 +0100 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=lG/404Pv7+RWktWppSnM5oXw2eG/j2wJbKBMjahgEeU=; b=xt +JEEOw+Ke7EY8qyrUeZiwOJT3tauI1vIwgaAlXu5nGDeERibdAWnYzvHCzLdDAcD /M/Dj1RmLPL76E0HRMjqcqRLrO4psSWmYTDy6dMWg/AW1FxLiUmR22Qy61JzJnq0 r+Zpiz755STDbThG8QMFjSu6iUiP0h2+ii2B4PhbEzQNARVW5xAK6Mzo3LB3Aqk3 dVaFLpWL29O50ZXeyrZvaE+jtPEEp3ZwkkV3e1nyB3AxwcMaaHl7n5Y/w3y58ldv HVLasqjIys8nV9GYU2inrWte1DoEL/SM/yq6dXQa6JgxzHLAFm7h07NbcAVIQ38b mSQfinnDFxDLA2UtKldA== 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 3wa124gy9r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Feb 2024 10:51:12 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id C89584002D; Fri, 16 Feb 2024 10:51:08 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7A35522D187; Fri, 16 Feb 2024 10:50:27 +0100 (CET) Received: from localhost (10.201.20.114) 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.27; Fri, 16 Feb 2024 10:50:27 +0100 From: Antonio Borneo <antonio.borneo@foss.st.com> To: Thomas Gleixner <tglx@linutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org> CC: Antonio Borneo <antonio.borneo@foss.st.com>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-arm-kernel@lists.infradead.org>, Christian Bruel <christian.bruel@foss.st.com> Subject: [PATCH 10/12] arm64: dts: st: Add v2m to GIC node on stm32mp251 Date: Fri, 16 Feb 2024 10:47:55 +0100 Message-ID: <20240216094758.916722-11-antonio.borneo@foss.st.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240216094758.916722-1-antonio.borneo@foss.st.com> References: <20240216094758.916722-1-antonio.borneo@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SAFCAS1NODE2.st.com (10.75.90.13) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-16_08,2024-02-14_01,2023-05-22_02 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791048865455048220 X-GMAIL-MSGID: 1791048865455048220 |
Series |
irqchip/stm32-exti: add irq-map and STM32MP25 support
|
|
Commit Message
Antonio Borneo
Feb. 16, 2024, 9:47 a.m. UTC
From: Christian Bruel <christian.bruel@foss.st.com> The GIC of STM32MP25 includes v2m extension for PCIEe MSI support. Add the v2m sub-node to the GIC interrupt controller and adapt the other properties accordingly. Signed-off-by: Christian Bruel <christian.bruel@foss.st.com> Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com> --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 96859d098ef8..5c9095382cc7 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -81,12 +81,20 @@ scmi_reset: protocol@16 { intc: interrupt-controller@4ac00000 { compatible = "arm,cortex-a7-gic"; #interrupt-cells = <3>; - #address-cells = <1>; + #address-cells = <2>; + #size-cells = <2>; interrupt-controller; reg = <0x0 0x4ac10000 0x0 0x1000>, <0x0 0x4ac20000 0x0 0x2000>, <0x0 0x4ac40000 0x0 0x2000>, <0x0 0x4ac60000 0x0 0x2000>; + ranges; + + v2m0: v2m@48090000 { + compatible = "arm,gic-v2m-frame"; + reg = <0x0 0x48090000 0x0 0x1000>; + msi-controller; + }; }; psci {