From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from flow-a7-smtp.messagingengine.com (flow-a7-smtp.messagingengine.com [103.168.172.142]) (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 DD2A9320CA9; Thu, 28 Aug 2025 14:02:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756389723; cv=none; b=ZsppbkpCmLBhIWWZ6tQMua2rG7C/v7hQ583BEyL+eyUbUBBkaJYw/AXU45mjpgDGmTP3nImrOVlZZDJoOfrg08mKQu5h0E4QSgQoi3RLcjjP+PlJx+F9L/uBbXCSh9J+mA+tuDF2R2LtAGFhTdFGPg+sMGLTD1nopOa2HxCJKos= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756389723; c=relaxed/simple; bh=2yoEK5G7rSrteIzmeRbS6577DmwK9Iz3UN7TILmcPiM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qLbGIeNvTzXR2YZiE+/h1HJ12IEnL2j2x0GvsZU/DmrHBDxO4/ncf4M4UILL0vsoqxfhCI61ko1RLZX77uCgyzBzl6aBKmB3sIpclhwoMkyBOUE08PB6ZYuqj1Yj4E/+WXltklf0h+ZD+PuRRmIsX1quLwBqjJnKUMxixX4sUvM= 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=ZJVV+dq/; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=YHOfFh1G; arc=none smtp.client-ip=103.168.172.142 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="ZJVV+dq/"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="YHOfFh1G" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailflow.phl.internal (Postfix) with ESMTP id 2FB3D1380D6F; Thu, 28 Aug 2025 10:02:01 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Thu, 28 Aug 2025 10:02:01 -0400 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=1756389721; x=1756396921; bh=4eUp0LkGYH8zL5culQFPCa/6LxhZErHa8BCWIC4IUjk=; b= ZJVV+dq/O8Z+pUv7IVqW84m/iHGdo+Y/ZmCB3CFVfDrMn/6kn3ck4i10cZA8LZBu 4Tt3D+kQ3T1SOaU7waeen2G7yH0ot6XABg5Kkz9jaXIMXQTm3gTUHsZQbN2NKHxG VGPxIW0jA8DPJhV2wZz2JZWxvL+6Y0025UFg4JP1eYaVnunE1vhQoCbMhdVW+ii4 kK7J3Dlp9VYhQo4PGnlMQUViAklMq1cTcQqQT53eFJ0Xc7bBOzcuhxFcomdDd3o5 TG3yULqQE6bdCL4DFNVodHyBGtN2NJMTsBIsfSFP83a7Os3VHd1Qvh/3WgFxbrWp /JbcaM45jlRFyq9+/YQUvA== 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=fm1; t=1756389721; x= 1756396921; bh=4eUp0LkGYH8zL5culQFPCa/6LxhZErHa8BCWIC4IUjk=; b=Y HOfFh1GZM5rLtrG83dSrIoP/kMI2oYz/Caxv7TT6HUg3IaL4fCmEd+JZn206wlKo uzXGvsRJnziAN/zU1oXH6KQjxSdz3gDDWHOlpP71JOGbN/kiGcoNwiPrvk8Xe5IT rGozy08hdYL7s3w5UYWfxYCYFIerF0zuxw0Q9r90a696ZFRk4hpRMtdF9awsVlM9 Og7DkScWJcKCUjKCWAWRDkHWrKNJu228jh83G3baGd1cE4tpqA6Aq70NnzfWnxqK JCHOja5G/7Qi339qJ4StpY37+n9cauaQQmBLP/4lJAsXA5DDssOasRFhLIcX5RUF g67pYmwiqnnV/1EyySuKw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddukeduvdduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflrghnnhgv ucfirhhunhgruhcuoehjsehjrghnnhgruhdrnhgvtheqnecuggftrfgrthhtvghrnhepve ekkefgjeettdduueejgeeuteduffefteejudegieevuedvieffteeljeelgfeknecuffho mhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehjsehjrghnnhgruhdrnhgvthdpnhgspghrtghpthhtohep ieegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehlihhnuhigqdhgphhiohesvh hgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehjohhhrghnnhgvshesshhiphhs ohhluhhtihhonhhsrdhnvghtpdhrtghpthhtohepphgvrhgvgiesphgvrhgvgidrtgiipd hrtghpthhtohepvhhkohhulheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhu gidqfigrthgthhguohhgsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepkh gvthhtvghnihhssehophgvnhgsshgurdhorhhgpdhrtghpthhtohepkhgsuhhstghhsehk vghrnhgvlhdrohhrghdprhgtphhtthhopehsrghgihesghhrihhmsggvrhhgrdhmvgdprh gtphhtthhopehlihhnuhigqdhivdgtsehvghgvrhdrkhgvrhhnvghlrdhorhhg X-ME-Proxy: Feedback-ID: i47b949f6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 28 Aug 2025 10:01:59 -0400 (EDT) From: Janne Grunau Date: Thu, 28 Aug 2025 16:01:26 +0200 Subject: [PATCH 07/37] dt-bindings: iommu: dart: Add apple,t6020-dart compatible Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250828-dt-apple-t6020-v1-7-507ba4c4b98e@jannau.net> References: <20250828-dt-apple-t6020-v1-0-507ba4c4b98e@jannau.net> In-Reply-To: <20250828-dt-apple-t6020-v1-0-507ba4c4b98e@jannau.net> To: Sven Peter , Alyssa Rosenzweig , Neal Gompa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hector Martin , "Rafael J. Wysocki" , Viresh Kumar , Thomas Gleixner , Joerg Roedel , Will Deacon , Robin Murphy , Linus Walleij , Mark Kettenis , Andi Shyti , Jassi Brar , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Sasha Finkelstein , Marcel Holtmann , Luiz Augusto von Dentz , Johannes Berg , van Spriel , Lee Jones , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Stephen Boyd , Wim Van Sebroeck , Guenter Roeck , Michael Turquette , =?utf-8?q?Martin_Povi=C5=A1er?= , Vinod Koul , Liam Girdwood , Mark Brown , Marc Zyngier , Ulf Hansson , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , Jaroslav Kysela , Takashi Iwai Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, iommu@lists.linux.dev, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-bluetooth@vger.kernel.org, linux-wireless@vger.kernel.org, linux-pwm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-clk@vger.kernel.org, dmaengine@vger.kernel.org, linux-sound@vger.kernel.org, linux-spi@vger.kernel.org, linux-nvme@lists.infradead.org, Janne Grunau X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1513; i=j@jannau.net; s=yk2024; h=from:subject:message-id; bh=2yoEK5G7rSrteIzmeRbS6577DmwK9Iz3UN7TILmcPiM=; b=owGbwMvMwCW2UNrmdq9+ahrjabUkhowNiRYyT9YbneO57nvEovy32GSJ8hLb3Tum9qZeCLe3Y Zrf9WhVRykLgxgXg6yYIkuS9ssOhtU1ijG1D8Jg5rAygQxh4OIUgIkclmf4K7jke6mr4lLBn06X KjQvMR48a8ff4TXlmOSDP3NVWzpcsxkZuhJeFj1ZFF1SbGlvt+D+aYaEtyotKt8bXk2dqblbQH0 5MwA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 t6020-dart is compatible to t8110-dart and annotated as such in Apple's device tree. Add its per-SoC compatible in case t6020 specific handling becomes necessary. The dart instances on M2 Pro/Max/Ultra based SoCs differ in one aspect from the M2 based ones. They indicate an IAS of 42 requiring implementing support for a fouth page table level in the dart driver and its io-pgtable [1]. [1]: https://lore.kernel.org/asahi/20250821-apple-dart-4levels-v2-0-e39af79daa37@jannau.net/ Signed-off-by: Janne Grunau --- Documentation/devicetree/bindings/iommu/apple,dart.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/apple,dart.yaml b/Documentation/devicetree/bindings/iommu/apple,dart.yaml index 7adb1de455a5b38dfb6c76303f11c8f95395e0dd..47ec7fa52c3ac6b3e111adf6998685f18f8602dd 100644 --- a/Documentation/devicetree/bindings/iommu/apple,dart.yaml +++ b/Documentation/devicetree/bindings/iommu/apple,dart.yaml @@ -22,11 +22,15 @@ description: |+ properties: compatible: - enum: - - apple,t8103-dart - - apple,t8103-usb4-dart - - apple,t8110-dart - - apple,t6000-dart + oneOf: + - enum: + - apple,t8103-dart + - apple,t8103-usb4-dart + - apple,t8110-dart + - apple,t6000-dart + - items: + - const: apple,t6020-dart + - const: apple,t8110-dart reg: maxItems: 1 -- 2.51.0