From nobody Fri Apr 3 01:30:10 2026 Received: from fout-b7-smtp.messagingengine.com (fout-b7-smtp.messagingengine.com [202.12.124.150]) (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 51CE9378D70; Mon, 23 Feb 2026 20:43:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.150 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771879389; cv=none; b=GJPWqBd+YGlkXxiAzyrRZGIYfL6GCp2COYwNQIFPySx8G/EFyqsnOxn9p/bHvqUNm6/gCHN6ohbhQ6qrnb481zwHs2z5XhmE3Ca6lCL9TF6sTTxtr6+wXZIIPCkPBnARmvBGz6oZer/XNV4iuJD0MXgMT74N653HPrPerQVFGGU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771879389; c=relaxed/simple; bh=VPp51MAprq4SHwLYa4jR2tbamWpYsJBUnZwXCjFFHyI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZIb+WoUSiOqsVIUfe9OpI/dKUPfU3XIh5+/F/RaaIqJYK3Ggu8MMvcpB6cbYXopGl++t12h2VDaNY1kb0cwwrGEoMKEcYsrPGNav+BPogsNT26CSc+2LkHqGVDhWyvmjhngx4mghn9zGR+mb3vsi5YT9XUHUXa32EqKceV2/QFg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=jannau.net; spf=pass smtp.mailfrom=jannau.net; dkim=pass (2048-bit key) header.d=jannau.net header.i=@jannau.net header.b=uV/BhH9o; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=YtQOho/S; arc=none smtp.client-ip=202.12.124.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=jannau.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jannau.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=jannau.net header.i=@jannau.net header.b="uV/BhH9o"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="YtQOho/S" Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 2DC4B1D00010; Mon, 23 Feb 2026 15:43:07 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Mon, 23 Feb 2026 15:43:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jannau.net; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1771879387; x=1771965787; bh=2t5MYacBIJ0oSRfavfmF+oEY6KVP3xbJMjc0+IDtQiw=; b= uV/BhH9ogWryPEni6gAnTAOISlDntYY8JDMttaqznKVHQKXJWsl+l35+lTA2PegL uzHjKRCxj26dpNelCDyf6S0MIDtU6esJkqHQ/xIWRlscF5E3UOEk2y4iMTik6eso 2cJ4Wg6QbewzJx+cXiVUSP2czzOS+Gv8L8VqgqKO0EV6KmZ7YjIUoum/xXnapoSo JpRCsxvgvZq6UwXZqghEZpKZOFAZljy6Hf+QoHkUiUTpYN712BOuKDi297A+TZXL O3IFHxc7sdWdvyOGSgPJG/ISwtp5FchONhd0o+4rAk/OtMX3IorSBJF/R+KBC3Ge 2kjO/poyNpptBU0jbHhj8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1771879387; x= 1771965787; bh=2t5MYacBIJ0oSRfavfmF+oEY6KVP3xbJMjc0+IDtQiw=; b=Y tQOho/Sqwc8yPbTCt38kF/twb6zfmUCHfutAQ02EbUnBEr+cqPBrjdyLJyptstIi 7lWPOTPBRuU9822C4qEoUt19aAnMKcQRjvWm3521CoTnmUrdZ3db2COSDY8gflp4 6jznMiLl5wn61+XcNEMcxeS4ubZaaCIDeWHRT9HdKKCU0frcExcusCqB9DKotQqD AaJ2gKf0XQSynvW1o/nIeuUd6BX1Fcx1FGxDBtI1xOqgSxw1qP/u4bcq/aZDqUHR KFhXWAZhAyrmflfjj/HbcFzBGV4+oRiPCrTXW2eoIGd9v1fV20KwNTYe0RZA0w3a xH1N+CIZw/nhMMbFMw9pA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvfeekvdefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflrghnnhgv ucfirhhunhgruhcuoehjsehjrghnnhgruhdrnhgvtheqnecuggftrfgrthhtvghrnhepve ekgeduheegtdekvdeifeegkeekledujeelkeevhedvvdejtdeuveekffffheelnecuffho mhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehjsehjrghnnhgruhdrnhgvthdpnhgspghrtghp thhtohepuddupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehrohgshheskhgvrh hnvghlrdhorhhgpdhrtghpthhtohepshhvvghnsehkvghrnhgvlhdrohhrghdprhgtphht thhopehtghhlgieskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheptghonhhorhdoughtse hkvghrnhgvlhdrohhrghdprhgtphhtthhopehnvggrlhesghhomhhprgdruggvvhdprhgt phhtthhopegrshgrhhhisehlihhsthhsrdhlihhnuhigrdguvghvpdhrtghpthhtoheplh hinhhugidqrghrmhdqkhgvrhhnvghlsehlihhsthhsrdhinhhfrhgruggvrggurdhorhhg pdhrtghpthhtohepjhesjhgrnhhnrghurdhnvghtpdhrtghpthhtoheplhhinhhugidqkh gvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg X-ME-Proxy: Feedback-ID: i47b949f6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Feb 2026 15:43:06 -0500 (EST) From: Janne Grunau Date: Mon, 23 Feb 2026 21:42:46 +0100 Subject: [PATCH v3 1/2] dt-bindings: interrupt-controller: apple,aic2: Add AICv3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260223-irq-apple-aic3-v3-1-2b7328076b8d@jannau.net> References: <20260223-irq-apple-aic3-v3-0-2b7328076b8d@jannau.net> In-Reply-To: <20260223-irq-apple-aic3-v3-0-2b7328076b8d@jannau.net> To: Sven Peter , Neal Gompa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Gleixner Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Janne Grunau X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2843; i=j@jannau.net; s=yk2025; h=from:subject:message-id; bh=VPp51MAprq4SHwLYa4jR2tbamWpYsJBUnZwXCjFFHyI=; b=owGbwMvMwCW2UNrmdq9+ahrjabUkhsw5u69cLi94t/Okw9sWz58FOf5V068VdFUclOaoEpvet sxXaf2HjlIWBjEuBlkxRZYk7ZcdDKtrFGNqH4TBzGFlAhnCwMUpABNxPsvIcJ55QThThZWcQ/S5 03V/l3dN6VaMEQ78tCMvT1P2o3uvN8MfDq7QydPPXk21WtU/K/nW9qwJGjukCjma58jdj+Pov3O BCQA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 AIC version 3 as found on the Apple M3 (t8122) is very similar to AICv2 in its base functionality. It can use the same device tree bindings as AICv2 so add it to the AICv2 bindings. This interrupt controller is used on all Apple SoCs starting with M3 up to at least M5. The only apparent difference is the increased IRQ config offset. Apple's device tree codes this new offset as property of the "aic" node but the value stayed constant for all SoCs with "aic,3". Since the SoC specific compatible "apple,t8122-aic3" will be used in the driver this offset can remain a driver implementation detail. Signed-off-by: Janne Grunau Reviewed-by: Rob Herring (Arm) --- .../bindings/interrupt-controller/apple,aic2.yaml | 30 +++++++++++++++---= ---- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple,a= ic2.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,aic= 2.yaml index ee5a0dfff437816056bda0de5523bf38be4f49ba..d0d9a90e96e7ba899bd7c73ca76= 22939e0bd3451 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml @@ -4,10 +4,10 @@ $id: http://devicetree.org/schemas/interrupt-controller/apple,aic2.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 -title: Apple Interrupt Controller 2 +title: Apple Interrupt Controller 2 and 3 =20 maintainers: - - Hector Martin + - Janne Grunau =20 description: | The Apple Interrupt Controller 2 is a simple interrupt controller presen= t on @@ -28,14 +28,24 @@ description: | which do not go through a discrete interrupt controller. It also handles FIQ-based Fast IPIs. =20 + The Apple Interrupt Controller 3 is in its base functionality very simil= ar to + the Apple Interrupt Controller 2 and uses the same device tree bindings.= It is + found on Apple ARM SoCs platforms starting with t8122 (M3). + properties: compatible: - items: - - enum: - - apple,t8112-aic - - apple,t6000-aic - - apple,t6020-aic - - const: apple,aic2 + oneOf: + - items: + - enum: + - apple,t6000-aic + - apple,t6020-aic + - apple,t8112-aic + - const: apple,aic2 + - items: + - enum: + - apple,t6030-aic3 + - const: apple,t8122-aic3 + - const: apple,t8122-aic3 =20 interrupt-controller: true =20 @@ -117,7 +127,9 @@ allOf: properties: compatible: contains: - const: apple,t8112-aic + enum: + - apple,t8112-aic + - apple,t8122-aic3 then: properties: '#interrupt-cells': --=20 2.53.0