From nobody Tue Feb 10 11:15:44 2026 Received: from fhigh-b1-smtp.messagingengine.com (fhigh-b1-smtp.messagingengine.com [202.12.124.152]) (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 A9C2133B6CE; Wed, 28 Jan 2026 08:57:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.152 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769590648; cv=none; b=VKkjELTnn3FwN3BLiGeJ2CwZJgNY0SQhoGmXfQVljwhE7SVb5aUZypOHhpgh2tUraSaO7cTd0MM6jRwc+THZKajEDKqZZVCOYTwdGArcLxX9jJW6A8yHU+4ZTPk7sdPboUw314cM/NshiImBMiUG8exLzlqgjrPPYdlt3an4ndQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769590648; c=relaxed/simple; bh=7rYWOaAxEQ+tfxwVBs89sgYINPPcGPnwXDpwGQLDa90=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fjCIpMst3a2ZO+85EKOXrJIosAtKQHdzlYI+r6/1ZRDZ61Np5mc2kCww0XC4W0ZnggQjq0fOcGdOUNa6Vvyf4KrXXAjCPpBrqaSTWHV/uym21+FtqIagK0on+2jkxUPX7nVt33dpj771zinu6fi9mnDrr0LDNLiBUrHynPrA4sg= 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=dQB+h/Of; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=LJ6XAOpa; arc=none smtp.client-ip=202.12.124.152 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="dQB+h/Of"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="LJ6XAOpa" Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id E00197A0011; Wed, 28 Jan 2026 03:57:24 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Wed, 28 Jan 2026 03:57:25 -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=fm1; t=1769590644; x=1769677044; bh=twglajLaMcKJXIaeWkNCcw23EGh2UVEl1KqT873GAWg=; b= dQB+h/OfKyKIfKOIL+yt5oCxw2qAWjjDAMUhlCD7YcfaifcjnrMpdWaQ0Knwqcfr PUKqMOXRTY6dX5VvU0pMN0M4h4vcFag0B2sCO4WvZfmjk4rwqAsCFTppq9GVVpPz 31470/pkwEvfToIclnbcBfZdrLijdRqLJ1B4SBLZ/cl17dKdNgfHJyju/7Z2QGQG E57PZdpN0DnlQZ3KxLnJsE+CrXqfgUACDTnnJq0PhrHV4C4XkZCaovjdJ0IF4uwx dAtZ8H/vfWd/awSgTTD/5l94+fEfJNOvhheEyFU0D9dTD9Zq9EYrlCugbf+bDUjR nfeGb6gMhtiTDS8vXcREiA== 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=1769590644; x= 1769677044; bh=twglajLaMcKJXIaeWkNCcw23EGh2UVEl1KqT873GAWg=; b=L J6XAOparXYU+YfrXjeZIG76paq/BYSr9yPONKDMfj5C5pHHNEzEbUBxTHRBXWhMF b3wz7PoLnoWrDRy4WGFnxO7QagCBV+XkFBM+Q1/CZCJ4THN3F8YSdXiqkDViEADM x3xlGytReJ9PFtCTmqCg7giJGlAC2qJA47LzgmCZk+GhnvfG4P2iYH9x0dzsUX7g xeO0m2viK0a8d5790Ul21fCjx1gs6N5oAGLT125hsotcklKSjDlD+8qFgSyqkstL aLICH9vKXsuhKFtOs6mYtWDAqJLetM5mMdwz5V65256jSmIdTckgM5j6u4edcK/r JfQ+34x+KBvGg4VGBaSWg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduiedvleehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflrghnnhgv ucfirhhunhgruhcuoehjsehjrghnnhgruhdrnhgvtheqnecuggftrfgrthhtvghrnhepve ekgeduheegtdekvdeifeegkeekledujeelkeevhedvvdejtdeuveekffffheelnecuffho mhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehjsehjrghnnhgruhdrnhgvthdpnhgspghrtghp thhtohepuddupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehnvggrlhesghhomh hprgdruggvvhdprhgtphhtthhopehjsehjrghnnhgruhdrnhgvthdprhgtphhtthhopehr ohgshheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepkhhriihkodgutheskhgvrhhnvg hlrdhorhhgpdhrtghpthhtohepthhglhigsehlihhnuhhtrhhonhhigidruggvpdhrtghp thhtoheplhhinhhugidqrghrmhdqkhgvrhhnvghlsehlihhsthhsrdhinhhfrhgruggvrg gurdhorhhgpdhrtghpthhtoheprghsrghhiheslhhishhtshdrlhhinhhugidruggvvhdp rhgtphhtthhopeguvghvihgtvghtrhgvvgesvhhgvghrrdhkvghrnhgvlhdrohhrghdprh gtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i47b949f6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 28 Jan 2026 03:57:24 -0500 (EST) From: Janne Grunau Date: Wed, 28 Jan 2026 09:57:08 +0100 Subject: [PATCH v2 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: <20260128-irq-apple-aic3-v2-1-b4bc8e16c997@jannau.net> References: <20260128-irq-apple-aic3-v2-0-b4bc8e16c997@jannau.net> In-Reply-To: <20260128-irq-apple-aic3-v2-0-b4bc8e16c997@jannau.net> To: Sven Peter , Neal Gompa , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley 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=3408; i=j@jannau.net; s=yk2025; h=from:subject:message-id; bh=7rYWOaAxEQ+tfxwVBs89sgYINPPcGPnwXDpwGQLDa90=; b=owGbwMvMwCW2UNrmdq9+ahrjabUkhszK8wUR86+HPH6iki57Ki1E2rshJF9R1LQ2u+P/EdszV YE2VXc6SlkYxLgYZMUUWZK0X3YwrK5RjKl9EAYzh5UJZAgDF6cATCRDnZFhs0sLX+dWs/OsF+bM /y3LnmohUCv81DPcSnxuvWvpm475jAwXlYL3ud/VCf4cvuGTW0ddO8Pn3gvtCZPeaffaOBYx7GM EAA== 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 --- .../bindings/interrupt-controller/apple,aic2.yaml | 45 +++++++++++++++++-= ---- 1 file changed, 36 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..a6e2251fcc111340c0a27ab6912= 452f6b1255be2 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,t8112-aic + - apple,t6000-aic + - apple,t6020-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': @@ -141,4 +153,19 @@ examples: <0x2 0x8e10c000 0x0 0x4>; reg-names =3D "core", "event"; }; + + }; + - | + soc { + #address-cells =3D <2>; + #size-cells =3D <2>; + + aic_t8122: interrupt-controller@2d1000000 { + compatible =3D "apple,t8122-aic3"; + #interrupt-cells =3D <3>; + interrupt-controller; + reg =3D <0x2 0xd1000000 0x0 0xc000>, + <0x2 0xd1040000 0x0 0x4>; + reg-names =3D "core", "event"; + }; }; --=20 2.52.0