From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F2E85C79F82 for ; Tue, 8 Sep 2026 08:34:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=s9qYyu4B8zL2inOcDy7y8XxRjYDGVeJX+azMjQN6uUI=; b=3RTIO78/GD6IrxWqEiNF5FkQZL E41jDnikBJnDmN92gTUdA81cbWUZHzwwkgRyt/CZd7nSj+i+TF6drlqWH8ic53i3P20G6j13diJ4J HZVhAYX7Oj2SkZUIVtrTnI+bV9YkT7pjb+x0HrzXpjkS+sQckBpij1qTizquWzEJ5PQWUD+NqV7jA yKxCBP5VyEMPIIx44a8zK4ue7BxPZDdp8/RyFI56aI2X75ltjW6oQ/vEPYFAJzmzOtCqwc091dvlo Ipl9C7Zc6pE49glHoRkhuASkQam97GL1cMk2p0AiudiKLoJNQD1msflrMY1unk1Wp2KZxN9cI3fdE KmmlvAtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3rHW-00000008QBI-43ee; Tue, 08 Sep 2026 08:34:18 +0000 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3rHT-00000008QAB-2M6a for linux-arm-kernel@lists.infradead.org; Tue, 08 Sep 2026 08:34:17 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 1E1F01400091; Tue, 8 Sep 2026 04:34:14 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Tue, 08 Sep 2026 04:34:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jannau.net; h=cc :cc: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=1788856454; x=1788942854; bh=s9qYyu4B8z L2inOcDy7y8XxRjYDGVeJX+azMjQN6uUI=; b=ETVY4yhqljIBPbzgoyBBMggOaq P12nc6iLAJqaIwDS6UF5jh0fXDoStLVlSSKUl5iN2oIX+SeLN6ZpapSsHmm5d84D iwskfVXD8GY4zCwryx+LFZ/Exo3HSIkJgISs2vX0TnLZSpNS5pYeDMZhrL7onkwn Cqzt2PrSiO0Q+3JjdCsbKXRC+IsgGtc/m0zlC2ZlZ9Rj0sz47KhWODavY+JGJgEd 4rLHNwGe5acGGuZtVTb020LFK/b7vcjXrRnkiZCFzjfauA4i9qvWutPkcmuTsJU4 pwM/RODhA1pQN9m6dLelaLf9559tGfoklGXMN8zMSM48l6gDmxIEwvJyzmLw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= 1788856454; x=1788942854; bh=s9qYyu4B8zL2inOcDy7y8XxRjYDGVeJX+az MjQN6uUI=; b=t99o+0I8BALTeY1NtVnrsUd66xqYd0xcoLU5RMMWRIeh1vWeD8Z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mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Sep 2026 04:34:13 -0400 (EDT) Date: Tue, 8 Sep 2026 10:34:11 +0200 From: Janne Grunau To: Sven Peter Cc: Neal Gompa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Joshua Peisach , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Conor Dooley Subject: Re: [PATCH v2 0/3] Apple SoC CIO (USB4/Thunderbolt) reset controller Message-ID: <20260908083411.GC2760037@robin.jannau.net> References: <20260821-b4-cio-reset-v2-0-2d045f80a424@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260821-b4-cio-reset-v2-0-2d045f80a424@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260908_013415_805983_7E6626D8 X-CRM114-Status: GOOD ( 22.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Aug 21, 2026 at 05:44:53PM +0200, Sven Peter wrote: > Hi, > > The CIO blocks used for USB4/Thunderbolt on Apple Silicon SoCs have a > reset inside the power manager that has to be deasserted before their > co-processor can be booted. On t8103 and t8112 each port comes with a > dedicated register page while t600x and t602x use a single register > with one request bit per port shared by all ports of a die in the > middle of the PMGR MMIO region. > > The first patch adds the dt-binding, the second one the driver and the > last one the device tree nodes for all SoCs. This will be used by the > upcoming USB4/Thunderbolt series to start the host routers before > booting their co-processors. > > Best, > > Sven > > --- > Changes in v2: > - dt-bindings: move the t600x example with the PMGR sub-node over to the > PMGR binding itself where it can use the correct number of address > cells such that the unit address matches reg again (Conor) > - bail out of probe when no match data is available (Joshua, sashiko) > - explain why neither a read-modify-write nor a delay before polling > is required for the shared t600x register (sashiko) > - fix a copy/paste error for the M2 MMIO region in the dts change > - Link to v1: https://patch.msgid.link/20260809-b4-cio-reset-v1-0-4f33777d9b4b@kernel.org > > To: Sven Peter > To: Janne Grunau > To: Neal Gompa > To: Rob Herring > To: Krzysztof Kozlowski > To: Conor Dooley > To: Philipp Zabel > Cc: Joshua Peisach > Cc: asahi@lists.linux.dev > Cc: linux-arm-kernel@lists.infradead.org > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > > --- > Sven Peter (3): > dt-bindings: reset: Add Apple SoC CIO reset > reset: Add Apple SoC CIO reset driver > arm64: dts: apple: Add CIO reset controllers > > .../devicetree/bindings/arm/apple/apple,pmgr.yaml | 12 ++ > .../bindings/reset/apple,t8103-cio-reset.yaml | 61 +++++++ > MAINTAINERS | 2 + > arch/arm64/boot/dts/apple/t600x-dieX.dtsi | 8 +- > arch/arm64/boot/dts/apple/t602x-dieX.dtsi | 8 +- > arch/arm64/boot/dts/apple/t8103.dtsi | 6 + > arch/arm64/boot/dts/apple/t8112.dtsi | 6 + > drivers/reset/Kconfig | 10 ++ > drivers/reset/Makefile | 1 + > drivers/reset/reset-apple-cio.c | 200 +++++++++++++++++++++ > 10 files changed, 312 insertions(+), 2 deletions(-) whole series Reviewed-by: Janne Grunau Janne